Delete an instance
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
To delete an instance
Open the Windows Management Instrumentation Tester dialog box.
In the Windows Management Instrumentation (WMI) Tester dialog box, click Connect.
In the Namespace box, type the path to the namespace that you want to connect to.
Example?
To connect to the namespace where the Win32 provider classes reside, type:
root\cimv2
Click Connect.
Click Delete Instance.
The Get Object Path dialog box appears.
Type the relative object path for the instance you want to delete.
Example?
To delete an instance of MyClass where the key property is F122, type:
MyClass.KeyProperty="F122"
Notes
Performing this task on the local computer does not require you to have administrative credentials. Therefore, as a security best practice, consider performing this task as a user without administrative credentials.
Performing this task on a remote computer requires that you are a member of the Administrators group on the remote computer, or that you have been delegated the appropriate authority.
To open the Windows Management Instrumentation Tester dialog box, click Start, click Run, and then type WBEMTest.exe.
You cannot delete dynamic instances of static classes unless the provider supports this capability. For example, if you attempt to delete an instance of Win32_Process, a "Provider Not Capable" message appears because the provider does not support the deletion of dynamic instances.
You can delete an instance of a class by clicking Delete Instance in the Windows Management Instrumentation Tester dialog box.
Information about functional differences
- Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.