I am trying to make some changes in the applicationHost.config file on Windows Vista, and an important step is to back the file up in case I screw it up. Well, it won't let me save a copy in the



I get the following error:

You don’t have permission to save in this location. 
Contact the administrator to obtain permission.

Would you like to save in the [loggedinuser] folder instead?

I'd contact the administrator, except for the fact that I am him! That is to say that the account I am using is the Administrator account. I don't know for sure how to give myself permission to save stuff in this folder. I tried to give myself permission to be able to what I needed, but it told me Access Denied. The folder properties says that the members of the Administrators group has full control, and when I look at my user account it says that I am an Administrator.

Any suggestions?


Right click the executable of your editor, such as notepad.exe and select "run as administrator." This will give you the permissions needed to modify and save the file in protected areas of the filesystem. FYI - This will not work on shortcuts!

extra: You can do this for the CMD prompt too.

  • Yes, I've heard of this, but just didn't think of it. Highly annoying, because I need this kind of thing so seldom. First time I've had to do it in literally a year or more, so forgot. Thanks! – Cyberherbalist Aug 28 '11 at 0:30
  • Its a safety feature to prevent you from doing something bad to your system. More or less the equivalent if SUDO in unix. – Keltari Aug 28 '11 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.