Disable UAC via command prompt

Sunday, December 26, 2010

If you are using Windows Vista or 7 more than 5 minutes, you know how annoying UAC can be. It will pissed you out for the rest of your time using Vista or 7 unless you move to another operating system like XP, Ubuntu and Mac or you can disable the feature. So in this article, I will teach you how to remove UAC feature using Windows built in command line system (command prompt).


User Account Control (UAC) is a technology and security infrastructure introduced with Microsoft's Windows Vista and Windows Server 2008 operating systems. It aims to improve the security of Microsoft Windows by limiting application software to standard user privileges until an administrator authorizes an increase or elevation. In this way, only applications trusted by the user may receive administrative privileges, and malware should be kept from compromising the operating system. In other words, a user account may have administrator privileges assigned to it, but applications that the user runs do not inherit those privileges unless they are approved beforehand or the user explicitly authorizes it.


Actually, there is another way to do it from the control panel, but I prefer to do it via the command prompt because it is quicker and less complicated.

Before we start, please take note that disabling the User Account Control (UAC) will lead to a less secure system. So, beware of it consequences.

Okay, first of all you need to open the command prompt. So pen up Run dialog box (Start > Run), type "cmd" and click on the "OK" button. Now the command prompt window should pop up


Now paste the following line in the command prompt and hit "Enter"

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

If you decided to re-enable the feature, just paste the following line in command prompt and press "Enter"

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

After you enable or disable UAC, you will have to reboot your computer for the changes to take effect.