Jump to content

Recommended Posts

Posted

Hi

I want my Wes7 to run .reg file to change in the register direct after first logon, what shall i write in the answer file?

frr08.jpg

Thanks


Posted

I assume you wish to do that as an admin?

If that's the case it's my understanding that you must get the automatic logon as an admin user to work during oobeSystem pass a.k.a "Welcome". If you can get that to work then it should be a matter of adding

Microsoft-Shell-Setup|FirstLogonCommand|SynchronousCommand|Path=regedit /s <path to your reg-file>

... in oobeSystem pass.

But that only works if the oobeSystem pass runs at all. In my case it doesn't for some reason I don't know.

Good luck.

Posted

Its the same for WES7 as it is for Win7. Example:

			<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Running Registry Change</Description>
<CommandLine>cmd /C start /wait c:\folder\registry_change.exe</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>

In my case, I do not put the command in there. You could use a .cmd file in that place if you'd like.

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