Possible Solutions to Special Case Situations

Realm Works requires a properly installed version of Windows to work correctly. In some cases, Realm Works detects errors that are caused by problems in Windows, but it’s up to the users to correct them. Please review possible solutions below:

Possible Solutions

  • Management Exception When Retrieving Windows Management Information

    Realm Works makes use of certain functions in Microsoft Windows that can, at times, become corrupted. We are providing some information that may be helpful in resolving this error.

    For this particular case, you can try these steps which we have copied from the web site http://windowsxp.mvps.org/repairwmi.htm (copied in case the original site disappears for any reason):

    Rebuilding the WMI Repository
    If you experience behavior when using WMI, such as application errors or scripts that used to work are no longer working, you may have a corrupted WMI repository. To fix a corrupted WMI repository, use these steps:

    Windows XP and Windows Vista
    Click Start, Run and type CMD.EXE

    Note: In Windows Vista (and above), you need to open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type this command and press Enter:

    net stop winmgmt

    Using Windows Explorer, rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%\System32\Wbem\Repository_bad). %windir% represents the path to the Windows directory, which is typically C:Windows.

    Switch to Command Prompt window, and type the following and press ENTER after each line:

    net start winmgmt

    EXIT

    For Windows XP Service Pack 2
    Click Start, Run and type the following command:

    rundll32 wbemupgd, UpgradeRepository

    This command is used to detect and repair a corrupted WMI Repository. The results are stored in the setup.log (%windir%\system32\wbem\logs\setup.log) file.

    For Windows Vista
    Open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type the following command:

    winmgmt /salvagerepository

    The above command Performs a consistency check on the WMI repository, and if an inconsistency is detected, rebuilds the repository. The content of the inconsistent repository is merged into the rebuilt repository, if it can be read.

    For Windows Server 2003
    Use the following command to detect and repair a corrupted WMI Repository:

    rundll32 wbemupgd, RepairWMISetup

    Re-registering the WMI components (Ref WMI FAQ)
    The .DLL and .EXE files used by WMI are located in %windir%\system32\wbem. You might need to re-register all the .DLL and .EXE files in this directory. If you are running a 64-bit system you might also need to check for .DLLs and .EXE files in %windir%\sysWOW64\wbem.

    To re-register the WMI components, run the following commands at the command prompt:

    • cd /d %windir%\system32\wbem
    • for %i in (*.dll) do RegSvr32 -s %i
    • for %i in (*.exe) do %i /RegServer

    Note that none of the above two methods restore the missing files related to Windows Management Instrumentation (WMI). So, below is a comprehensive repair procedure that restores all the missing WMI modules. In case of missing WMI modules, you may use the following method.

    Comprehensive rebuild method
    Important note: If you've installed a Service Pack, you need to insert your Windows XP CD with Service Pack integration (called as the Slipstreamed Windows XP CD). If you don't have one, you may point to the %Windir%\ServicePackFiles\i386 folder for a recent version of the system files required during WMI repair. Or you may create a slipstreamed Windows XP CD and insert it when prompted.

    Click Start, Run and type the following command, and press ENTER:

    rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf

    Insert your Windows XP CD into the drive when prompted. Repair process should take few minutes to complete. Then restart Windows for the changes to take effect.

  • Provider Load Failure When Retrieving Windows Management Information

    Realm Works makes use of certain functions in Microsoft Windows that can, at times, become corrupted. We are providing some information that may be helpful in resolving this error.

    One possibility for fixing this error is to follow these steps (which come from Microsoft’s web site here:
    http://msdn.microsoft.com/en-us/library/bb961987.aspx):

    1) Select "Start" and then select "All Programs"

    2) Click on "Accessories"

    3) On operating systems before Windows Vista, click on "Command Prompt" to open a command prompt window. On Windows Vista or higher, right-click on "Command Prompt" and select "Run as Administrator" to open an elevated command prompt window

    4) At the command prompt, type in:

    %windir%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "%systemdrive%\program files\reference assemblies\microsoft\framework\v3.5\system.management.instrumentation.dll

    5) Check for the message "Types registered successfully" to be printed in the command prompt

    If the steps above don't resolve the problem, another possibility that you can try is to re-register the WMI provider we interact with from Realm Works. To do this, open a command prompt as an administrator and then type the command:

    regsvr32 %Windir%\System32\wbem\cimwin32.dll

    It should give you a message like this:
    management_exception

    If you still have problems, you can try downloading the WMI Diagnosis Utility from Microsoft and follow the steps it provides for detecting and fixing errors:

    http://www.microsoft.com/en-us/download/details.aspx?id=7684

    There is a Microsoft Word document that describes how to run the tool. As a last resort, you could try re-installing Windows on your machine as all of the symptoms are indicating some sort of corruption occurred in the Windows installation.

Twitter

  • If you're looking for the beginning of Kickstarer Content rollout, Hero Lab Online access, or even just to reset yo… ,
  • If you haven't signed up for the Hero Lab Online Beta, this is your last call! We are closing submissions on Wednes… ,
  • If you haven't signed up for the Hero Lab Online Beta, this is your last call! We are closing submissions on Wednes… ,