dienkhung Posted September 7, 2004 Share 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" ??????? Link to comment Share on other sites More sharing options...
pegasus1010 Posted September 8, 2004 Share 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. Link to comment Share on other sites More sharing options...
dienkhung Posted September 8, 2004 Author Share 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? Link to comment Share on other sites More sharing options...
Shark007 Posted September 8, 2004 Share Posted September 8, 2004 [COMMANDS]"useraccounts.cmd""RunOnceEx.cmd""REGEDIT /S regtweaks.reg"The above IS the correct methodShark007 Link to comment Share on other sites More sharing options...
AznStyl Posted September 8, 2004 Share 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" Link to comment Share on other sites More sharing options...
Aaron Posted September 8, 2004 Share 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. Link to comment Share on other sites More sharing options...
dienkhung Posted September 8, 2004 Author Share Posted September 8, 2004 ty for the help 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