I've published schema, and no longer have the dll's that contained the wmi provider that the schema was published from. How can I remove the schema?
相关问题
- How to Debug/Register a Permanent WMI Event Which
- Programatically removing etag suffix (change numbe
- Wrong LastLogon returned from Win32_NetworkLoginPr
- WMI Query to determine DNS Servers without null en
- How do I get the available FreeSpace from a drive
相关文章
- Where the Microsoft.Management.Infrastructure
- C# WMI reading remote event log
- How to get the Hard Drive Serial number? [duplicat
- Counting printed Pages by Clients with c# and WMI
- WMI retrieve groups that a user is member of?
- Get maximum supported resolution of all attached m
- Which is better for IIS administration in ASP.Net
- Determine Network Adapter Type via WMI
If you are talking about the assembly from your other question, you can simply use wbemtest.exe:
That will delete the entire namespace including all the classes you created. If you want to delete a class and leave the namespace
If there are multiple machines this can be automated using WMI scripting library or System.Management. With MOF you can use #pragma deleteclass. If the schema was created with #pragma autorecover you need to remove the entry from
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\autorecover mofs