I Need To Make A Change With My IT Support! Call (225) 706-8414

Use the Windows Command Line to Check UAC and the Local Admin Group

You want to determine if UAC is enabled or disabled. A lot of software still struggles to work properly with UAC and so sometimes you need to check if UAC is enabled or not.

Solution

In this post, I’ll cover a few things you can do relating to UAC.

List Users in the Local Admin Group

Checking local admin is pretty easy:

C:> net localgroup administrators
Alias name administrators
Comment Administrators have complete and unrestricted access to the computer/domain
Members
-------------------------------------------------------------------------------
Administrator
PURYEAR-ITDomain Admins
PURYEAR-ITwanderson
The command completed successfully.

Check UAC via the Registry

You can determine if UAC is enabled via the Registry. Specifically, if EnableLUA is 0x0 then UAC is disabled. Otherwise, its enabled.

C:> reg query HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
 EnableLUA REG_DWORD 0x0

 

Concerned About Cyber Attacks?

CLICK HERE >

Want to Migrate to the Cloud?

CLICK HERE >
Office 365

Ready to Experience Microsoft Office 365?

Want the latest IT news directly in your inbox? Subscribe now!