dienkhung Posted September 7, 2004 Posted September 7, 2004 [COMMANDS]"useraccounts.cmd""RunOnceEx.cmd""REGEDIT /S regtweaks.reg"or should it be:[COMMANDS]"useraccounts.cmd"[COMMANDS]"RunOnceEx.cmd"[COMMANDS]"REGEDIT /S regtweaks.reg" ???????
pegasus1010 Posted September 8, 2004 Posted September 8, 2004 this is fine.[COMMANDS]"useraccounts.cmd"It will run during t-12.you sure you want to run registry tweaks during that time?the "RunOnceEx.cmd" should be at the winnt.sif instead.then call the registry tweaks from there.
dienkhung Posted September 8, 2004 Author Posted September 8, 2004 the "RunOnceEx.cmd" should be at the winnt.sif instead.then call the registry tweaks from there.how do i write it in the winnt.sif file?
Shark007 Posted September 8, 2004 Posted September 8, 2004 [COMMANDS]"useraccounts.cmd""RunOnceEx.cmd""REGEDIT /S regtweaks.reg"The above IS the correct methodShark007
AznStyl Posted September 8, 2004 Posted September 8, 2004 this is fine.[COMMANDS]"useraccounts.cmd"It will run during t-12.you sure you want to run registry tweaks during that time?the "RunOnceEx.cmd" should be at the winnt.sif instead.then call the registry tweaks from there.what will go wrong when you have it all in one cmdlines.txt like this?[COMMANDS]"useraccounts.cmd""REGEDIT /S regtweaks.reg""RunOnceEx.cmd"
Aaron Posted September 8, 2004 Posted September 8, 2004 Lots if misinformation here - RunOnceEx.cmd should not be executed from winnt.sif's [GuiRunOnce] as it won't execute straightaway (you would have to reboot again!) unless you added rundll32.exe iernonce.dll,RunOnceExProcess to the end of the file.The cmdlines.txt file looks fine. The actual RunOnceEx will begin on first logon.
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