mcdsweet98
Technical User
We are planning to execute the below command which will rebuild the WBEM Folder in case of corruption which is preventing it from work. I would like to know what is the risk that will impact this. I am planning to create a backup folder, copy all files into it and then run the below command so I have a backup just in case anything happens.
Please help Thanks.
1.. Disable the Windows Management Instrumentation SERVICE in the services console (services.msc)
2.. Back up the contents in the C:\windows\system32\wbem\Repository\
3.. Clearing the contents of C:\windows\system32\wbem\Repository\
4.. Click Start and click Run
5.. In the Run dialog box, please type CMD
6.. In the Command prompt, please just copy and paste the command below. Run it then.
for %1 in (%systemroot%\syswow64\wbem\*.mof %systemroot%\syswow64\wbem\*.mfl) do mofcomp %1 (This will rebuild the WBEM folder)
7.. Restart the server.
Please help Thanks.
1.. Disable the Windows Management Instrumentation SERVICE in the services console (services.msc)
2.. Back up the contents in the C:\windows\system32\wbem\Repository\
3.. Clearing the contents of C:\windows\system32\wbem\Repository\
4.. Click Start and click Run
5.. In the Run dialog box, please type CMD
6.. In the Command prompt, please just copy and paste the command below. Run it then.
for %1 in (%systemroot%\syswow64\wbem\*.mof %systemroot%\syswow64\wbem\*.mfl) do mofcomp %1 (This will rebuild the WBEM folder)
7.. Restart the server.