Running Notepad as Administrator in Windows 8

I needed to edit the hosts file in Windows 8 so that I could sandbox the backend server the app we’re developing accesses. Since most of the tutorials to do so in Windows mention running the Notepad app as administrator were not considering the new Start menu interface, I figured I’d fill the gap.

  1. Select “search” from the mini contextual menu one can bring up by hovering at the bottom-left of the screen (or swiping slightly on the right-side of the screen on touch devices).
  2. Search for “Notepad”
  3. Right-click on the Notepad app and select “Advanced” in the app bar
  4. Select “Run as administrator

Here are some screenshots, for the visual people in the crowd. :)

6 thoughts on “Running Notepad as Administrator in Windows 8

  1. Why in the world would we have to run a search every time we want to run some basic program?

    What’s the idea here? take away keyboard shortcuts but have us type in searches instead?

    I guess M$’ idea is converting windows into a search engine, until you forget what is part of your system and what is not?

    Like

    • I’m pretty sure there is a way to pin it in that state to the Start menu (or task bar in standard desktop, which is still available despite the Metro style). Sure all kb shortcuts are still valid, but on a tablet, you do have to have an opportunity to bring the soft kb up, which usually requires some type of input field to be present. Not sure how they’d work with the soft kb. But once docked and a real kb is sync’d (bluetooth, for EG), then it all works as it always has.

      Like

  2. For your specific problem (editing hosts file), why not just change the permissions on the hosts file itself (either set “Full” for “Users”, or just for your specific userid. This is all that is required & works just fine for me…

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s