Jump to content

Runonce ex


Recommended Posts

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? : :)

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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?

Edit

Can 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 /delete

RD /S /Q %systemdrive%\drivers\

RD /S /Q %systemdrive%\install\

EXIT

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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