Help with opening/saving files as the admistrator...........

Specifically - I am trying to save a new "hosts file" (using notepad).
The file is here: Windows, System 32, drivers, etc, hosts.........
I am trying to do this in windows 8 - and it won't let me save the file (or even copy and paste it) because it says I must have administrator rights to do this.
It says I must "open" the notepad file WITH ADMINISTRATOR RIGHTS.
I cannot figure out HOW to open/save the file with administrator rights.
I've read how to do this on the internet - but I can't seem to accomplish it...... maybe I am not understanding the instructions correctly.
Can someone please give me DETAIL instructions on how to do this???
Thanks in advance!!!!!!!!!
Scott
LuoyadanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
Find where Note Pad lives or use Search to find it. Right click on Notepad.exe and select Run as Administrator.

Once in Notepad (admin) you can File Open, navigate to Hosts, change it and save it. I do this and it works.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
Notepad.exe is in C:\Windows so open C:\Windows with Windows Explorer, find notepad.exe, right click on it and Run as Administrator.
☠ MASQ ☠Commented:
Or from the keyboard
Windows Key+R
- in the box that opens type notepad
Hold down both left-Shift and left-Ctrl keys and press Enter
- This starts notepad in administrator mode - you'll probably be prompted to allow the program to run either grab your mouse and click on "Yes" or if you want to stick with the keyboard, left arrow to highlight "Yes" and hit Enter.

A notepad window will open in admin mode - open your Hosts file with it and then when you save the edits the Hosts system file will be overwritten (always make a backup of your Hosts file before editing)
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

McKnifeCommented:
@MASQ
Small correction: you will have to do this on the start screen. Doing it on the run prompt does not work.
☠ MASQ ☠Commented:
Thanks - of course you're right - again I need to have my breakfast coffee before typing :)

Just delete "+R" from my last post!
LuoyadanAuthor Commented:
I am sorry to have abandoned this question - it was not by choice. After asking this question - I went into the hospital unexpectedly and went through (bypass) heart surgery. I completely forgot about this open question until recently... All I have done with that computer since asking this question was to upgrade it to windows 10 - which maybe was a mistake......

I don't know how this will effect the answer given - but since I recently upgraded this computer to windows 10 - I honestly don't know yet whether the suggestions given will still work for me or not. If the participants of this question knows if the answer will be different now for windows 10 - I would appreciate your response.

However, EE tells me that I cannot ask another question until I close this question - so I have no choice but to close it and award the points to the person who was most active and gave what I believe was the solution to my problem at that time running windows 8. If I need - I will re-ask this question at a later date.

Thanks
JohnBusiness Consultant (Owner)Commented:
First, I hope you are feeling well and that the bypass has helped you.

Opening Hosts file with Notepad as Administrator is the same for Vista, Windows 7, Windows 8.1 and Windows 10.

Good luck.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 8

From novice to tech pro — start learning today.