March 2, 201214 yr 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
March 2, 201214 yr 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.
March 2, 201214 yr 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