How to run an elevated explorer on W8R2 with default UAC

permissionsuacwindows-server-2008

On Windows Server 2008 R2 with the User Account Control Settings at the third highest level when you start explorer as administrator it doesn't appear to actually grant administrative rights to the process.

Is there a way to leave UAC at that level AND be able to start an explorer process as a real administrator?

Best Answer

The following procedure works for me but not the shortest one:

  1. Make sure that account you are logging in as has the appropriate credentials for the task you are trying to accomplish, in my case, I needed to be part of the domain builtin\Administrators group to manage my DC. I made sure to add my account to this group first.
  2. Next Right-click black Command Prompt icon on start menu.
  3. Select Run as administrator
  4. Type in the account credentials you created above. Unfortunately, you will need to type them in again.
  5. Next use the following command: runas /user:domain\username "explorer /separate"
  6. It should prompt for your password in the command line, enter your password. Unfortunately, it will not automatically launch windows explorer, you will still need to type the command.
  7. Now type either one of the following commands while still in the command line:
  8. "explorer ." or start .

This seemed to work well for me, let me know otherwise and I hope that it helps someone.

I pulled the information from the following MS forum: http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/how-to-start-windows-explorer-as-administrator/a3cfdd52-695d-46b0-a617-1c9128addf01