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 have made a simple batch file to run a system defrag, then make a registry backup before shutting down the system for the night.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>