Sun 1 Mar 2009
Custom Windows Shutdown
Posted by allscoop under tools
[2] Comments
Here is an easy tip to spruce up your end of day windows shut down. Have it perform some simple tasks before shutting down your system for the day. I’ve made a simple batch file to run a system defrag, then make a registry backup before shutting down the system.
Here is what the batch file looks like:
defrag C:
regedit /e c:\regbackup.reg
shutdown -s
Save the file as myshutdown.cmd (or anything you want), save it somewhere on your drive, then you can make a shortcut to the file on the desktop.
Then right click on the new shortcut on your desktop and change the icon to look like the shutdown icon.
So now at the end of the day, activate your new shutdown command and it will defrag your drive, create a registry backup and shutdown your computer.
If you can think of any other maintenance tasks to add to the shutdown script, leave a comment and maybe it can be added in to make the ultimate shutdown command.

















