Correct Instructions for Disabling Screen Saver During Defrag.exe (229057)



The information in this article applies to:

  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition

This article was previously published under Q229057
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

Page 425 of the Windows 98 Resource Kit states that you can set Disk Defragmenter not to allow a screen saver to start if Disk Defragmenter is running. If you follow the steps, the screen saver may still start when Disk Defragmenter is running.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To cause Disk Defragmenter not to allow a screen saver to start if Disk Defragmenter is running:
  1. Start Registry Editor.
  2. Create a Defrag key in the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets

  3. Create a Settings key in the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Defrag

  4. Create a string named DisableScreenSaver under the following key:

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Defrag\Settings

  5. Edit the value "Default".
  6. Change the value to "YES".
  7. Quit Registry Editor and restart Disk Defragmenter. Screen savers will be disabled.
NOTE: Screen savers are not disabled under the following conditions:
  • When Disk Defragmenter is started from a scheduled task.
  • When Disk Defragmenter has finished defragmenting the drive that was selected and is waiting for user input.

Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbdocerr kbprb KB229057