On ZDNet: Make my DVD problem go away

Using registry shortcuts to disable and enable screen savers in Windows XP

Tags: Microsoft Windows XP, Greg Shultz, Microsoft Windows, screensaver, Windows XP Tips Newsletter

  • Save
  • Print
  • Recommend
  • 47

Takeaway: The steps in this tip will show you how to edit the registry for a time-saving shortcut in enabling and disabling your screensaver.

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]
    "ScreenSaveActive"="0"

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

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 shortcut.

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 change.

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

  • Save
  • Print
  • Recommend
  • 47

Print/View all Posts Comments on this article

store the registry edit on the machine ArthurP | 02/18/05
wrap it all up mcmullenm@... | 02/19/05
place it within a standardised build and document ArthurP | 02/21/05
Switching on the screensaver is not immediate... ah-boi | 07/10/05
Doesn't Work afiorentino@... | 01/25/07
My guess is.. jmanalang | 02/15/07
RE: Using registry shortcuts to disable and enable screen savers in Windows hil_z | 10/16/07
RE: Using registry shortcuts to disable and enable screen savers in Windows XP logicalmania | 06/19/09

What do you think?

White Papers, Webcasts, and Downloads

Article Categories

Security
Security Solutions, IT Locksmith
Networking and Communications
E-mail Administration NetNote, Cisco Routers and Switches
CIO and IT Management
Project Management, CIO Issues, Strategies that Scale
Desktops, Laptops & OS
Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
Data Management
Oracle, SQL Server
Servers
Windows NT, Linux NetNote, Windows Server 2003
Career Development
Geek Trivia
Software/Web Development
Web Development Zone, Visual Basic, .NET

SmartPlanet

advertisement
Click Here