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.
- Go to Start >>Administrative Tools >> Local security Policy
- Go to Local Policies >>Security Options
- Towards the bottom , you will see “ User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode”
- Double click & change to “ Elevate without prompting”
Note: You are effectively disabling UAC & should be aware of the implications of doing so.