micahmo / WgServerforWindows

Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
MIT License
818 stars 78 forks source link

Invalid class error after splash [already solved] #158

Closed harverto closed 3 months ago

harverto commented 3 months ago

No drama, it's not a issue, it's a wmi corruption, but I didn't know where to post it It's already over, but I got crazy trying to resolve an annoying error "Invalid Class" after splash screen. I've had installed a lot of dot net libraries, 32/64/desktop/server versions.. and I was near to lose hope The solution is here And if you don't want to click, follow this steps: Procedure to potentially fix WMI corruption:

sc config winmgmt start= disabled net stop winmgmt

Winmgmt /salvagerepository C:\WINDOWS\System32\wbem Winmgmt /resetrepository C:\WINDOWS\System32\wbem

sc config winmgmt start= auto

Thank you to all community.

micahmo commented 3 months ago

Thank you so much for sharing this issue and resolution! I'm not sure I would've been able to figure this one out. 😆

vikaasridevianti commented 2 months ago

its works! thankyou