Compacting the Registry

Compacting the Registry

April 25, 2009

How to compact the registry?

  1. Got to true DOS, not a DOS window
  2. Run Regedit and then export the entire Registry to COMPACT.REG.
  3. Then exit regedit and run it again with the following switch. REGEDIT /C COMPACT.REG
Opening a DOS Window to either the Drive or Directory in Explorer

Opening a DOS Window to either the Drive or Directory in Explorer

April 25, 2009

Add or Edit the following Registry Keys

[HKEY_CLASSES_ROOT\Directory\shell\opennew]
@="Dos Prompt in that Directory"

[HKEY_CLASSES_ROOT\Directory\shell\opennew\command]
@="command.com /k cd %1"

[HKEY_CLASSES_ROOT\Drive\shell\opennew]
@="Dos Prompt in that Drive"

[HKEY_CLASSES_ROOT\Drive\shell\opennew\command]
@="command.com /k cd %1"

These will allow you to right click on either the drive or the directory and the option of starting the dos prompt there will pop up

Removing Unwanted Items from the RUN Menu

Removing Unwanted Items from the RUN Menu

April 25, 2009
  1. Start the REGEDIT program
  2. Search for the word RUNMRU
  3. Delete the ones you don't want
  4. Rename so they are all in alphabetical order again
  5. Close and restart windows
Displaying Hi-Color Icons without the Plus Pack

Displaying Hi-Color Icons without the Plus Pack

April 25, 2009
  1. Start Regedit
  2. Go to HKEY_CURRENT_USER \ Control Panel \ desktop \ WindowMetrics
  3. Add or edit Shell Icon BPP=16 where the number is the color depth.
  4. The default is 8 (bit or 256 colors).
Easily Opening a File with Notepad

Easily Opening a File with Notepad

April 25, 2009

This will enable you to right click on any file and have the option to open it with notepad.
Also if a file has no association and you try to open it it will open with notepad

  1. Run 'regedit.exe'
  2. Expand "HKEY_CLASSES_ROOT"
  3. Inside "HKEY_CLASSES_ROOT", expand "*"
  4. Inside "*", create a key called "shell"
  5. Inside "shell" create a key called "open"
  6. Inside "open" edit the string "(default)" to say "open (notepad)"
  7. Inside "open" create a key called "command"
  8. Inside "command" edit the string "(default)" to say C:\WINDOWS\NOTEPAD.EXE "%1"
Enabling the Middle Mouse Button on Logitech Mouse

Enabling the Middle Mouse Button on Logitech Mouse

April 25, 2009

To enable the middle mouse button on Logitech Mouses to act as a double-click button by only pressing it once:

  1. Run Regedit
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\LOGITECH\MOUSEWARE\CURRENTVERSION\SERIALV\0000
  3. Change DoubleClick to equal 001
Removing the Hand Icon from Shared Resources

Removing the Hand Icon from Shared Resources

April 25, 2009

When you share a local resource, Windows95 normally puts a hand in from of that resources icon.
To remove hand icon from your shared resources:

  1. Start Regedit.
  2. Go to HKEY_CLASSES_ROOT / Network
  3. Open SharingHandler.
  4. Clear it's default value
  5. Restart Windows.
  6. To restore set Default value "msshrui.dll".