Running script on shutdown

Associate
Joined
19 Jun 2003
Posts
1,680
Location
West Yorks, UK
Hi all,
I'd like to put together a batch file that runs chkdsk, AVG update and Windows Update (is possible!). I want the batch file to be called when the user shuts down the PC. This will be used in a corporate environment, so it needs to be done either using the features of XP/2000, or Server 2000/2003 - I can't afford to be installing extra software on each PC to make it work.

Having browsed the web, I can't find much that doesn't use additional apps. Does anyone know how to do it? If so, can you share your knowledge with me? :D

Matt
 
Yeah, i've actually just installed WSUS on our internal server. Slows it down dramatically, but I can see it's potential.

For the time being though, I think a shortcut on the desktop linking to a shutdown batch script will be the best bet. The question is though, how can I execute Windows/AVG updates from the command line? :confused:

Matt
 
Back
Top Bottom