Avid Knowledge Base

Our workstation throws an error "System ran out of Registry Space"; What does this mean and how can I resolve the error?

Background: The Windows Registry maintains information about all devices that are or have ever been connected to the system. In the case of PnP devices (such as USB) every incidence of a connection is maintained although only the current incidence is displayed by default in Device Manager. As the number of these "non-present" devices increases the size of the registry will hive grow to accommodate them. This will cause a problem on Windows XP systems which use the "/3GB" switch in their "boot.ini" file as the size of their registry is limited to 12MB.

The Problem: USB KVM (Keyboard, Mouse, Video) switchers will cause a new mouse and keyboard entry in the registry on every reboot of the system. This is also true for any other connected control devices (such as the popular Contour Jog/Shuttle controller) and an additional entry will be made for USB mice (in addition to the standard PS/2 version).

The Solution: In order to decrease the size of the registry to a level where full functionality is restored, the "non-present" devices must be removed. In order to do this, device manager must be run from a command line window with an environment variable set (please see the attached PDF file "Reducing_The_Windows_Registry_Size.pdf" for illustrations of the screen view for each step).

  1. In order to do this, first open a command line window - this may be done quickly by holding down the Windows key and pressing "R" then typing "cmd" followed by the "Enter" key.
  2. Next, set the environment variable by typing the following line: set devmgr_show_nonpresent_devices=1 (Note that there are no spaces around the "=" sign)
  3. Next, run Device Manager by typing the following line: start devmgmt.msc
  4. Once the Device Manager opens, choose "Show Hidden devices" from the "View" menu.
  5. All "phantom" devices should be deleted by highlighting them (click once), pressing the "Delete" key and then pressing "Enter.
  6. When the keyboard section has been cleaned, move on to the sections for mice.
  7. Finally the entries for any other switched USB devices must be removed as well:

When the deletions are complete, check the size if the registry file by opening an Explorer window, navigating to "C:\Windows\System32\config" and displaying the "Details" view. The file in question is called "system" with no extension.

The system should now be rebooted to allow the changes to take effect.

Please note that a similar registry situation can also occur with Avid Unity Fibre Clients working with Avid Unity ZX, LP and XT chassis based storage. Please see this discussion of theScrubber Utility for further details.

Reducing_The_Windows_Registry_Size.pdf

How do you rate this document?
Poor
1 2 3 4 5
Outstanding