Jump to content

Recommended Posts

Posted

I have a this on the very bottom of my winnt.sif file:

[GuiRunOnce]

%systemdrive%\install\RunOnceEx.cmd

%systemdrive%\install\hotfixes\hotfixes.cmd

as the hotfixes.cmd will be the last batch file that runs, is it correct for me to place this particular text at the end of that one, and not any of the others?

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

net user aspnet /delete


Posted

that would probably work... but what does your runonceex.cmd do? does it install the apps itself or does it set up runonceex commands?

if it sets up runonceex commands, you should run it through cmdlines.txt and include the service pack and shutdown paramaters in the runonceex list..

otherwise, it will work ok... and you can put your shutdown command into the end of the service pack batch file.. same with the user deletion that can go anywhere in the batch files so long as it gets run :)

I don't think you can put the shutdown command or user deletion command directly into winnt.sif because they have spaces

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...