Fix: root\cimv2 Global Protect VPN Client Error – Palo Alto

Root Cimv2 Global Protect Error

While trying to connect with the GlobalProtect VPN client, you may receive an error.

 

Cannot connect to root\cimv2

 

This error is documented on Palo Alto’s website and they suggest you rebuild the Windows WMI Repository on the machine as it may have become corrupted.

 

  1. Open an elevated Windows Command Prompt (as administrator) and type the following command and reboot your machine.
Winmgmt /salvagerepositry
  1. If that command does not work, try the following command below and reboot your machine.
Winmgmt /salvagerepositry

 

If neither of the above command worked, try rebuilding the Windows WMI Repository manually following the steps below.





 

Rebuild Windows WMI Repository Manually

1.Change startup type to Window Management Instrumentation (WMI) Service to disabled

2. Stop the WMI Service; you may need to stop IP Helper Service first or other dependent services before it allows you to stop WMI Service

3. Rename the repository folder:  C:\WINDOWS\system32\wbem\Repository to Repository.old

4. Open a CMD Prompt with elevated privileges

5. CD windows\system32\wbem

6. for /f %%s in (‘dir /b /s *.dll’) do regsvr32 /s %%s

7. Set the WMI Service type back to Automatic and start WMI Service

8. cd /d c:\  ((go to the root of the c drive, this is important))

9. for /f %%s in (‘dir /s /b *.mof *.mfl’) do mofcomp %%s

10. Reboot the server


* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments 1

Guest - Brandon Hughes on Sunday, 29 March 2020 02:38

Good stuff!

Good stuff!:D
Wednesday, 24 April 2024