Search code examples
wmiuacsccm

Can WMIC be used to set UAC level?


I'd like to use a WMIC command in my SCCM 2012 Task Sequence to set UAC to the correct level. Can this be done? If not, what would be my best option during W7x64 deployment?


Solution

  • You can't set the UAC level via wmic.

    There are a bunch of registry values that control the UAC level that can be manipulated:

    • FilterAdministratorToken
    • ConsentPromptBehaviorAdmin
    • ConsentPromptBehaviorUser
    • EnableInstallerDetection
    • ValidateAdminCodeSignatures
    • EnableLUA
    • PromptOnSecureDesktop
    • EnableVirtualization

    Check this documentation out: https://msdn.microsoft.com/en-us/library/cc232771.aspx