Jump to content

Recommended Posts

Posted

Worked fine THX

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

Is there a way to aply a reg during setup instead after first logon/boot ?


Posted
...

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

Posted
So when do you execute WPI - I'm not to familar with WPI...

Martin

syncronouscommand 7 oobe , %AppsRoot%Install\WPI\WPI.hta

Posted (edited)

Well you should try to do a reboot than using between regedit and wpi call...

shutdown.exe -r

Regards,

Martin

Edited by FireGeier
Posted (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 by FireGeier
Posted

@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

Posted
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

Posted

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

Posted (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 by sp00f
Posted
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.

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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