WAIK Disable UAC

Addition to WAIK sysprep xml to disable UAC

 http://social.technet.microsoft.com/Forums/en-US/dc625f8b-9a51-4dc0-a573-8cc23cee12f8/can-uac-be-disabled-via-unattendxml-for-server-2008-deployments?forum=mdt

<component name=”Microsoft-Windows-Deployment” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<RunSynchronous>
<RunSynchronousCommand wcm:action=”add”>
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action=”add”>
<Order>2</Order>
<Path>cmd /c reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f</Path>
<Description>Disable EnableLUA</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action=”add”>
<Order>3</Order>
<Path>cmd /c reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f</Path>
<Description>ConsentPromptBehaviorAdmin</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.