Inserting a reg file in the SetupComplete.cmd file
-
Tuesday, October 02, 2012 10:44 AM
Hi
How should I do to insert a reg file in the SetupComplete.cmd file?
Thanks
Bye
Balubeto
- Changed Type balubeto Wednesday, October 03, 2012 8:06 AM
All Replies
-
Wednesday, October 03, 2012 5:18 AM
Use regedit /s from setupcomplete.cmd
regedit /s C:\Install\Set-ExecutionPolicy.reg regedit /s C:\Install\Set_No_Pagefile.reg
Don't forget to mark your posts as answered so they drop off the unanswered post filter. If I've helped you and you want to show your gratitude, just click that green thingy.
- Marked As Answer by balubeto Wednesday, October 03, 2012 7:00 AM
- Proposed As Answer by Knuckle-Dragger Wednesday, October 03, 2012 8:44 AM
- Marked As Answer by Niki HanMicrosoft Contingent Staff, Moderator Thursday, October 04, 2012 3:32 AM
-
Wednesday, October 03, 2012 8:05 AM
After performing this, I have to tell the system to automatically reboot to make sure that the new registry keys or entries work immediately or not? If so, how do I do this?
Thanks
Bye
Balubeto
-
Wednesday, October 03, 2012 8:44 AM
System/machine wide settings will require a reboot. Use 'shutdown' command with the -r (restart) option.
http://ss64.com/nt/shutdown.html
shutdown -r -t 0 -f
Don't forget to mark your posts as answered so they drop off the unanswered post filter. If I've helped you and you want to show your gratitude, just click that green thingy.
- Edited by Knuckle-Dragger Wednesday, October 03, 2012 8:48 AM
- Marked As Answer by balubeto Wednesday, October 03, 2012 3:22 PM

