Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!

When you perform maintenance operations such
as defragmenting or backing up the hard disk, you probably disable
your screen saver before you begin in order to prevent it from
interfering with the maintenance operation. However, disabling your
screen saver manually is a multistep operation that involves
accessing the Display Properties dialog box, navigating to the
Screen Saver tab, and then setting the screen saver to None. Then,
you need to re-enable the screen saver after you complete the
maintenance operation.

Fortunately, you can automate the disabling and
enabling screen saver procedures with a couple of registry
shortcuts. Follow these steps:

  1. Launch Notepad and type the following four
    lines. (Note: The second line must be blank.)
  2. Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Control Panel\Desktop]

  3. Save the file to your desktop with the name
    Disable Screen
  4. Change the 0 to a 1 in the fourth line.
  5. Save the file to your desktop with the name
    Enable Screen

Now, when you need to disable the screen saver,
just double-click the Disable Screen Saver.reg shortcut. To enable
the screen saver, simply double-click the Enable Screen Saver.reg

Keep in mind that when you run either of these
files, the Registry Editor will display two confirmation
prompts–one before making the change and one after making the

Note: Editing the registry is risky, so
make sure you have a verified backup before making any changes.