April 3, 200719 yr Worked fine THXOnly WPI gives an error, cause my regtweak isnt aplied.Is there a way to aply a reg during setup instead after first logon/boot ?
April 3, 200719 yr ...Only WPI gives an error, cause my regtweak isnt aplied....Which command you're using exactly to aply the regtweaks?
April 3, 200719 yr ...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 upI need it Before wpi pops up
April 3, 200719 yr So when do you execute WPI - I'm not to familar with WPI...Martinsyncronouscommand 7 oobe , %AppsRoot%Install\WPI\WPI.hta
April 3, 200719 yr Well you should try to do a reboot than using between regedit and wpi call...shutdown.exe -rRegards,Martin Edited April 3, 200719 yr by FireGeier
April 3, 200719 yr 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 April 3, 200719 yr by FireGeier
April 3, 200719 yr @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!? Regards,Martin
April 3, 200719 yr 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,MartinIt disables everything from UAC etc.without that WPI gives an arror :
April 3, 200719 yr 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
April 3, 200719 yr 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 April 3, 200719 yr by sp00f
April 3, 200719 yr 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,MartinI can confirm the odd reboot between setup & doesn't appear to be any probs.
April 3, 200719 yr I made a synchronous command for each regexample :cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /fcmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 0 /fBut how can i remove a reg key?[-HKEY_CLASSES_ROOT\CLSID\{FD6905CE-952F-41F1-9A6F-135D9C6622CC}]@="WscNotify Class"Not that this one is nessecary....
Create an account or sign in to comment