Monday, April 17, 2006

Populating a Scheduled task throughout the Domain

Anyone know how to do this? It would be pretty handy to schedule a weekly defrag in one shot.
Edit or Delete Message Edit the default domain policy to include a logon batch file that sets what you need with 'at' ?  Then remove the logon script later?
Add a line to your login script that says something like quote:
at 3:00 /every:su "defrag c: -f >> defrag.txt

Creating a scheduled task for an entire domain - Topic Ars OpenForum


Big question, what happens when a computer runs that command more than once.  Answer: It creates the job again, and again, and again -- This is the shoot and spray tactic.

Maybe the direction should be adding this command through a group policy. 

technorati tags: ,

No comments:

Post a Comment