sp00f Posted April 3, 2007 Share Posted April 3, 2007 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 ? Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 ...Only WPI gives an error, cause my regtweak isnt aplied....Which command you're using exactly to aply the regtweaks? Link to comment Share on other sites More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 ...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 Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 So when do you execute WPI - I'm not to familar with WPI...Martin Link to comment Share on other sites More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 So when do you execute WPI - I'm not to familar with WPI...Martinsyncronouscommand 7 oobe , %AppsRoot%Install\WPI\WPI.hta Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 (edited) Well you should try to do a reboot than using between regedit and wpi call...shutdown.exe -rRegards,Martin Edited April 3, 2007 by FireGeier Link to comment Share on other sites More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 During the vista setup it reboots?Wont that affect the installation? Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 (edited) 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, 2007 by FireGeier Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 @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 Link to comment Share on other sites More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 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 : Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 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 More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 (edited) 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, 2007 by sp00f Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted April 3, 2007 Share Posted April 3, 2007 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. Link to comment Share on other sites More sharing options...
sp00f Posted April 3, 2007 Share Posted April 3, 2007 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.... Link to comment Share on other sites More sharing options...
FireGeier Posted April 3, 2007 Share Posted April 3, 2007 @spoof:You need to use reg delete to do that.Regards,Martin Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now