sysprep and scheduled tasks

B

Brian MXP

Howdy-

Does running sysprep (-mini -quiet -reseal) on XP automatically remove
any previously created tasks (using either AT, schtasks or the Scheduled
Tasks Wizard)? Is this by design?

Are there any decent work-arounds people might know of? I'd like to
embed a bunch of different maintenance tasks into a system image...

TIA,
BM
 
B

Bill Stewart

Brian said:
Does running sysprep (-mini -quiet -reseal) on XP automatically
remove any previously created tasks (using either AT, schtasks or the
Scheduled Tasks Wizard)? Is this by design?

Are there any decent work-arounds people might know of? I'd like to
embed a bunch of different maintenance tasks into a system image...

Hi Brian,

That's a good question. I don't know about any documented behavior of
sysprep with regards to .job files in the %SystemRoot%\Tasks directory.

However, a suggested workaround is to create a script containing
schtasks commands and place it in the [GuiRunOnce] section of the
sysprep.inf file. After starting the sysprepped machine, log on with an
administrator account and your desired jobs will get created. I have
used this method and it works well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top