Jump to content

Run Simple Apps from Autounattend.xml


Recommended Posts


...

Only WPI gives an error, cause my regtweak isnt aplied.

...

Which command you're using exactly to aply the regtweaks?

I used the one from your guide ( REGEDIT /S %AppsRoot%Install\Regtweaks.reg ) , and it works , only after last reboot, so after wpi pops up

I need it Before wpi pops up

Link to comment
Share on other sites

I haven't tried out so far, but give it a try... or I will try later. But I 've read in setupact.log that sometimes an unexpected reboot happens, and setup is still going on.

I would have an other solution but it's more complicated. You would need to integrate a .cmd into install.wim. What kind of Regtweaks you need for WPI? HKLM only or User tweaks, too?

Regards,

Martin

Edited by FireGeier
Link to comment
Share on other sites

@MarcJ:

I did an installation now again, using my method from guide on a Vista BUSINESS and it's working fine. But like I've said before I've used the full version not an upgrade disc. It may has something to do with upgrade disc!? :blink:

Regards,

Martin

Link to comment
Share on other sites

I haven't tried out so far, but give it a try... or I will try later. But I 've read in setupact.log that sometimes an unexpected reboot happens, and setup is still going on.

I would have an other solution but it's more complicated. You would need to integrate a .cmd into install.wim. What kind of Regtweaks you need for WPI? HKLM only or User tweaks, too?

Regards,

Martin

It disables everything from UAC etc.

without that WPI gives an arror :

errorwpimh1.th.jpg

Link to comment
Share on other sites

Hello sp00f!

Than you could add the regtweaks during specialize pass using synchronous command again with reg add command:

For example:

	   <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" 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">
<Description>Disable UAC</Description>
<Order>1</Order>
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>

Martin

Link to comment
Share on other sites

This is the reg tweak that needs to be run first :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"PromptOnSecureDesktop"=dword:00000000
"EnableInstallerDetection"=dword:00000000
"EnableLUA"=dword:00000000
"EnableSecureUIAPaths"=dword:00000000
"EnableVirtualization"=dword:00000001
"ValidateAdminCodeSignatures"=dword:00000000
"FilterAdministratorToken"=dword:00000000
"ConsentPromptBehaviorAdmin"=dword:00000000
"ConsentPromptBehaviorUser"=dword:00000000

[-HKEY_CLASSES_ROOT\CLSID\{FD6905CE-952F-41F1-9A6F-135D9C6622CC}]
@="WscNotify Class"

Edited by sp00f
Link to comment
Share on other sites

I haven't tried out so far, but give it a try... or I will try later. But I 've read in setupact.log that sometimes an unexpected reboot happens, and setup is still going on.

I would have an other solution but it's more complicated. You would need to integrate a .cmd into install.wim. What kind of Regtweaks you need for WPI? HKLM only or User tweaks, too?

Regards,

Martin

I can confirm the odd reboot between setup & doesn't appear to be any probs.

Link to comment
Share on other sites

I made a synchronous command for each reg

example :

cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f
cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 0 /f

But how can i remove a reg key?

[-HKEY_CLASSES_ROOT\CLSID\{FD6905CE-952F-41F1-9A6F-135D9C6622CC}]
@="WscNotify Class"

Not that this one is nessecary....

Link to comment
Share on other sites

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...