LemonBits

  • Home
  • About
  • Contact me
Windows general, WMI

WMIDiag Windows server 2012 and Windows server 2012 R2

Frane Borozan - November 4, 2014

If you try running WMIDiag tool from Microsoft to understand why your WMI provider is not working you will get:
Unsupported Windows version – 64-bit (_____.___.___.__).
ERROR: (Main) : Unsupported OS version or build #.

This is because WMIdiag is supported only up to Windows 2008 R2 or so called build 6.1.

Windows 2012 is build 6.2 (Windows 8 as well) and Windows 2012 R2 is build 6.3. There is a quick and dirty trick how to full script to run on Windows server 2012 and 2012 R2.

So let’s try to run WMIDiag on the Windows 2012.

  1. Edit WMIDiag.vbs in notepad
  2. Search and Replace Case “6.1” to Case “6.2” (there is only one replacement that you need to do)
  3. Save and close
  4. Run script in the cmd with cscript WMIDiag.vbs

Process for Windows server 2012 R2 and Windows 8.1 is similar instead we just change build to 6.3

  1. Edit WMIDiag.vbs in notepad
  2. Search and Replace Case “6.1” to Case “6.3” (there is only one replacement that you need to do)
  3. Save and close
  4. Run script in the cmd with cscript WMIDiag.vbs

Now you can explore Report file that WMI Diag created and try to explore what the heck is going on with the WMI database. Often it is corrupted and winmgmt /salvagerepository cmd will save the day and rebuild WMI database so WMI will continue to function correctly.

 0 1
Share Now

Frane Borozan

Helping SBC administrators kick-ass Google+

One Response

  • Amit January 29, 2015 at 2:41 am

    Thanks for the workaround.

    Reply
  • Leave a Reply Cancel Reply

    Your email address will not be published. Required fields are marked *

    Previous Post Microsoft Dynamics CRM for Outlook there is a problem communicating with the Microsoft Dynamics CRM server the server might be unavailable
    Next Post Opening group policy editor on a remote computer and forcing GP Update

    Connect with me on

    Latest Posts

    • How to invite guest users to Microsoft shared channels

      How to invite guest users to Microsoft shared channels

    • Creating a secure Microsoft Teams and Shared Channels environment for guest users

      Creating a secure Microsoft Teams and Shared Channels environment for guest users

    • How to create a shared channel and add teams and members?

      How to create a shared channel and add teams and members?

    • Microsoft Syntex Advanced Management’s first capabilities

    • 5 Microsoft Teams management pro-user tips

    • What are roles and permissions in Microsoft Teams?

    • How do you create a team from scratch in Microsoft Teams?

    • Teams governance

    • External sharing in SharePoint

    • SharePoint governance

    Recent Comments

    • Frane Borozan on Downloads folder slow to load/sort in Windows 10
    • güvenlik kamerası on Downloads folder slow to load/sort in Windows 10
    • Laki Lakovic on Opening group policy editor on a remote computer and forcing GP Update
    • Diane on Opening group policy editor on a remote computer and forcing GP Update
    • Manoj B on Differences between L1, L2, L3 system administrator guidlines
    • Travis Vroman on Teams slow
    • Yossi B on Remote Desktop Services Manager 2016
    • astha on SharePoint audit logs
    • Frane Borozan on Installing Remote Desktop Services 2016
    • Joe Zhou on Installing Remote Desktop Services 2016
    • Pino on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Eddy Wilson on Windows 10: Share a VPN Connection
    • haleybri.com on Remote Desktop Services Manager 2016
    • Atif on Remote Desktop Services Manager 2016
    • Tan Vu on KB2919355 The update is not applicable to your computer
    • Vinay on Installing Remote Desktop Services 2016
    • JOEL FERDY FEUBI TABOUE on KB2919355 The update is not applicable to your computer
    • Delmar on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Luke Welden on KB2919355 The update is not applicable to your computer
    • LM on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Anonymous987 on KB2919355 The update is not applicable to your computer
    • ANonyommus987 on KB2919355 The update is not applicable to your computer
    • Alan on Remote Desktop Services Manager 2016
    • Jagz on Installing Remote Desktop Services 2016
    • VG on SharePoint audit logs
    • VG on SharePoint audit logs
    • Kalle on SharePoint audit logs
    • 3 pandas on SQL Server security best practices
    • Kalle on SharePoint audit logs
    • Frane Borozan on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Erin Platt on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Tad Benoit on Remote Desktop Services Manager 2016
    • Dean Hufford on Installing standalone Remote Desktop Gateway on the Windows Server 2012 R2 without complete Remote Desktop Services infrastructure
    • Peter on Remote Desktop Services Manager 2016
    • Chris on Remote Desktop Services Manager 2016

    Copyright © 2019 Frane Borozan. All rights reserved