when printers do not appear in the drop down boxes , Reset the WMI repository

when printers do not appear in the drop down boxes , Reset the WMI repository


To reset the WMI repository (which is essentially clearing the WMI cache), open Command Prompt as an administrator and use the command winmgmt /resetrepository. 

Here's a more detailed breakdown:

Steps to Reset the WMI Repository:

  1. Open Command Prompt as Administrator:
    • Press Windows+Q, type "cmd", right-click "Command Prompt", and select "Run as Administrator".
  1. Stop the WMI Service (Optional but Recommended):
    • Type net stop winmgmt and press Enter.
    • If prompted to confirm, type "Y" and press Enter.
  1. Reset the Repository:
    • Type winmgmt /resetrepository and press Enter.
    • You should see a message indicating that the WMI repository has been reset.
  1. Start the WMI Service (Optional):
    • Type net start winmgmt and press Enter.
  1. Reboot your computer . 

 

If that doesn’t work do this

 

1. Stop the WMI Service:

  • Open Command Prompt as an administrator (search for "cmd" in the Start menu, right-click, and select "Run as administrator").
  • Type net stop winmgmt and press Enter.
  • If prompted to confirm, type "Y" and press Enter. 

2. Rename the Repository Folder:

  • Navigate to the WBEM directory: C:\Windows\System32\wbem.
  • Rename the Repository folder to something like Repository.old. 

3. Restart the WMI Service:

  • In the Command Prompt, type net start winmgmt and press Enter. 

4. Rebuild the WMI Repository:

  • Open a new Command Prompt window as an administrator.
  • Change the directory to the WBEM directory: cd C:\Windows\System32\wbem.
  • Run the following command to register all DLLs in the WBEM directory: for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s.
  • Reboot the server. 
    • Related Articles

    • Invalid Class - WMI Fix

      When starting Scrap Dragon Xtreme, you may get an error message 'Invalid Class'.  To Fix: Open the command prompt, type wmimgmt.msc, and hit enter Right-click WMI Control (Local), and then click Properties. If Win32_Process shows ‘invalid class’ ...
    • HOW TO SETUP SCRAP DRAGON FOR MICHIGAN SCRAP LAWS

      The new Michagan scrap law takes effect as of July 1, 2014. Scrap Dragon versions 8.1 and later have the modifications required to comply with this law. We have two versions of the setup instructions depending on whether or not your yard has an ATM. ...
    • SCRAP DRAGON TO QUICKBOOKS SETUP

      Please see attached document for more information.
    • Portal: Update Event Codes for Photos (Purchases and/or Shipments)

      To change the "event codes" of images you must be logged as an Admin. Select "more" from the drop-down and select "Settings." Select "Edit" in the "Settings" page. From this page you can create a "New" event code or edit existing ones so that they ...
    • VIEW PAID LIST IS SLOW TO DISPLAY

      Symptom When in Scrap Buying, clicking the View Paid button causes an hour glass to appear and the computer seems to be locked up. The same thing occurs in User Menu, Edit Paid Ticket. Cause The View Paid List configuration is set to display paid ...