brallor Posted March 2, 2012 Share Posted March 2, 2012 HiI want my Wes7 to run .reg file to change in the register direct after first logon, what shall i write in the answer file?Thanks Link to comment Share on other sites More sharing options...
mandrake Posted March 2, 2012 Share Posted March 2, 2012 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. Link to comment Share on other sites More sharing options...
Tripredacus Posted March 2, 2012 Share Posted March 2, 2012 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. 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