Friday, April 25, 2014

Windows Server 2012 "Run as Administrator"

Windows Server 2012 has some nice features but the Windows 8 interface is horrible. The Dashboard gives you easy access to "Administrative Tools" but I find myself running most things like regedit from a Powershell window. Since I'm always remoted into a server via Terminal Services, TeamViewer or whatever else, Windows Key shortcuts are not available without reconfiguration.

The worst part is getting access denied when trying to do anything without right-clicking and selecting "Run as Administrator" even with the UAC slider all the way down! Luckily there is a fix for this.

Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"

This effectively makes everything run as administrator, which is how it should be when I'm LOGGED INTO A SERVER AS ADMINISTRATOR.

No comments:

Post a Comment