September 8, 201015 yr Hi AllI've got a W2008 R2 unattend file which is working fine, but because of a specific post-build application I need to install, I want to disable LUA.Just writing to ask - where is it supposed to go? WSIM will only let me add the component into the OfflineServicing pass, but the help indicates that it should be in Specialize (which makes more sense).What's going on here?TaAndy
September 10, 201015 yr The CHM typically shows you the Windows 7 value, but in the end the placement of Unattend objects are dictated by the CLG file you used. I've found it not possible to disable LUA on Windows Web Server 2008 for example. The CLG does not let you use that setting. You can try manually putting it in and see if it works, but it may not be supported if you try to use it that way.
October 19, 201015 yr AndyE, You are correct and it will work on all 2008 R2 Versions, I do it daily . <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" 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"> <EnableLUA>false</EnableLUA> </component> </settings>Also if you want to do this in 2008 the Microsoft-Windows-LUA-Settings is not available as this is new to 2008 R2. You need to do the following. <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>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path> <Description>Disable EnableLUA</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f</Path> <Description>ConsentPromptBehaviorAdmin</Description> </RunSynchronousCommand> </RunSynchronous> </component>
Create an account or sign in to comment