Results 1 to 10 of 10
  1. #1
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Defrag/scandisk registry settings

    I read a Lockergnome tip (12/24/01, I believe) that gave some registry fixes to keep defrag and scandisk from hanging and continuously restarting. HKCU Software Microsoft Windows CurrentVersion Applets Defrag (or Scandisk) supposedly has some subkeys that would allow loadwc.exe, loadqm.exe, wkdetect.exe, and screensaver to be disabled automatically while the program is running, thus preventing the constant restarting. I checked my registry and found nothing even closely resembling these subkeys. Does anyone have any additional information on these keys?

  2. #2
    Lounger
    Join Date
    Oct 2001
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    I see an entry for Defrag under HKEY_Local_MachineSoftwareMicrosoftWindowsCurrentV ersionApplets. There's a key in that registry directory that specifies some files to exclude it looks like, such as Win.ini, system.ini, etc. Perhaps that was where they were trying to point to, instead of the current user section of the registry?

  3. #3
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    382
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    My preferred way to do this is to merge a registry file that schedules Defrag to RunOnce on the next boot. This way it runs before any other programs are started.
    <big><big><font color=blue>Ian</font color=blue></big></big>
    Admin

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    I have a similar approach to Ian's, but instead of a registry file, I use an INF file instead. The INF file that I have came straight from the Windows 98 CD, and can be found in the toolsmtsutil folder. You can set defrag for the next reboot by right clicking and selecting install.

    This will not create the registry keys that you are referring to but accomplishes what you want: defrag will run as a system service, before anything else loads, and when it's done your desktop will appear.
    -Mark

  5. #5
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    Both suggestions - registry and INF - look like they could be quite useful, however wouldn't they cause Scandisk to run at each and every reboot? Windows takes long enough as it is, and I sometimes have to reboot multiple times per day. (Could always be a good excuse to grab another cup of coffee though.)

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    Hi David,

    To answer your question, what will happen is that Scandisk will run only at the next reboot. Subsequent reboots will not launch scandisk unless you re-apply the reg or inf file. What each of them does is to add an entry to the RunServicesOnce key in the registry, and anything that is added to that key (or to RunOnce) is deleted upon execution.

    If you don't tell the boss that, you're free to grab that cup of java anytime you choose.
    -Mark

  7. #7
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Calgary, Alberta, Canada
    Posts
    283
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    Can you provide details on this registry file? I'd be very interested in trying this method.

  8. #8
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    382
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    Attached is the .reg file I use with .txt postfixed to the name. This file is courtesy of Xteq Xsetup's record option. It actually invokes Norton Speed Disk but the details can be changed to almost any program.

    I leave this file on my Desktop. When I want to use it, I right-click the desktop icon and select Merge from the context menu.
    Attached Files Attached Files
    <big><big><font color=blue>Ian</font color=blue></big></big>
    Admin

  9. #9
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Youngstown, Ohio, USA
    Posts
    705
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    I've grabbed your attached file, but it is a TXT file, and I have no "Merge" context menu option. Does the file need to be renamed to REG for it to work (and then, what about the extra documentation; strip it out and just leave the registry key data)? I take it that the modifications would work for ScanDisk or Defrag by changing the program name in the keys?

    I'm intrigued, but just a little boggled. <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29>

  10. #10
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Ontario, Canada
    Posts
    382
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Defrag/scandisk registry settings

    Correct. I renamed it to .txt so that it could be uploaded to the lounge and to make sure that it was not accidentaly executed.

    The documentation can stay.

    And yes, change the command to whatever you want. Recommend that you get a copy of <A target="_blank" HREF=http://www.xteq.com>Xteq Xsetup</A> and check out its other options. Real handy program.
    <big><big><font color=blue>Ian</font color=blue></big></big>
    Admin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •