Run as administrator from command line on Windows 8

I am trying to run Notepad as admin so I can edit my hosts file from the command line. I have tried runas /user:(myusername)administrator “notepad c:windowssystem32driversetchosts” I then input my password and I get   RUNAS ERROR: Unable to run – notepad  c:windowssystem32driversetchosts 1327: Account restrictions are  preventing this user from signing in. For example:…

Read More