Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Can PDQ Inventory determine if a Windows system has UAC enabled?

Is there a way on windows 7 (64 bit) to scan the computer and see if UAC is on or off?

 

0

Comments

5 comments
Date Votes
  • Hi Jason,

    Yes. The UAC value is stored in the registry under HKEY_LOCAL_SYSTEM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    The value is called EnableLUA

    A value of 1 = UAC Enabled
    A value of 0 = UAC Disabled

    Import the attached files. (Pro mode is required to use Scan Profiles). Two collections will be created called Windows 7 UAC Enabled and Windows 7 UAC NOT Enabled. The scan profile is one I keep around called Misc. Registry. Delete the scanners in there that you don't want.

    Scan all your Windows 7 computers with this scan profile. I didn't include a filter for 64-bit Windows 7. If you want that just create a new Group Filter (under the top most group filter) and under that create a value filter showing requiring a 64-bit OS.

    -Shane

    Here is a screenshot of the Windows 7 UAC Enabled collection filters:

    Collection-Win7-UAC-Enabled.png

     

    Here is the UAC scanner in the Misc. Registry scan profile.

    ScanProfile-MiscReg-UAC.png

    1
  • Pretty cool,

    Thanks Shane.

    Now that I have found it...  How do I use PDQ to Disable it?

     

    0
  • I made just a simple command line job with the following command:  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

    I have this job run against my collections every morning.

    0
  • Good call, Jason.

    0