Correct Instructions for Disabling Screen Saver During Defrag.exe

ID: Q229057


The information in this article applies to:
  • Microsoft Windows 98

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

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: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To cause Disk Defragmenter not to allow a screen saver to start if Disk Defragmenter is running:

  1. Start Registry Editor.


  2. Create a string named DisableScreenSaver under the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Defrag\Settings\DisableScreenSaver


  3. Edit the value "Default".


  4. Change the value to "YES".


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


Additional query words:

Keywords : kbtool kbdocerr
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: May 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.