Thank you for your question and reaching out.
I can understand you are facing issue WMI services.
Ran the commands given below from Admin command prompt to reset WMI components and which should not be harm to other Windows services or components.
From command prompt navigate to C:\>windows\system32\wbem
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
regsvr32 cimwin32.dll
mofcomp cimwin32.mof
mofcomp cimwin32.mfl
mofcomp rsop.mof
mofcomp rsop.mfl
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
for /f %s in ('dir /b *.mof') do mofcomp %s
for /f %s in ('dir /b *.mfl') do mofcomp %s
regsvr32 wmisvc.dll
wmiprvse /regserver
--If the reply is helpful, please Upvote and Accept as answer--