Jump to content

Recommended Posts

Posted

Hi All

I'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).

lua.png

What's going on here?

Ta

Andy


Posted

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.

  • 1 month later...
Posted

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...