Windows Server 2008 access denied when saving files

If you are logged on to the Windows 2008 server as an Administrator or with Administrator privileges, UAC kicks in. If you try to edit files such as web.config , login scripts you get “access denied when you try to the save the file.

Windows 2008 now expects Administrators to manually launching notepad.exe from the start menu, right clicking it and choose “Run as Administrator”. & the browse to the folder & open the required file.

For non-Administrators you can simply give full access to the folder in Security & it will work, but Administrators have to jump through hoops,. Go figure.

If you are like me, you have probably set up the file associations to open these files in notepad when you double click on the file. If you are server administrator you probably do this often on multiple servers.

There are many elaborate solutions out there. I solved my problem by doing the following.

  1. Go to Start >>Administrative Tools >> Local security Policy
  2. Go to Local Policies >>Security Options
  3. Towards the bottom , you will see “ User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode”
  4. Double click & change to “ Elevate without prompting”

 

Note: You are effectively disabling UAC & should be aware of the implications of doing so.

Facebooktwittergoogle_plusredditpinterestlinkedinmail
This entry was posted in Windows Server 2008. Bookmark the permalink.