MAVERICKS CHOICE Posted May 21, 2004 Posted May 21, 2004 Moving to use Runonce ex directly from cd. I am still required to place the cmdlines.txt in C:\CD\$OEM$\If I combine all cmd into one file eg prepare.cmd & runonce ex.cmd do I still place this in the CD\OEM directory or does it get placed in the CD\Software directory? Does anything need to be altered in my Winnt.sif except the [Guirunonce] section, I take this needs to be kept blank? :
Godfatha Posted May 21, 2004 Posted May 21, 2004 still the OEM dir, cause you want to run the batches from the CMDLINES.txt which is also located on the OEM dir. The Winnt.sif isn't changed either, well only if u install drivers from cd u skip the pnpdrivers part out.
MAVERICKS CHOICE Posted May 21, 2004 Author Posted May 21, 2004 Thanks son was not too clear in the guide. Also the CD.txt in the root is just a blank txt doc & resides in the root nothing else?EditCan I just add this cleanup to the end of my normal runonce ex.cmd?DEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteRD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXIT
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