Export (0) Print
Expand All

Delete an instance

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To delete an instance

  1. Open the Windows Management Instrumentation Tester dialog box.

  2. In the Windows Management Instrumentation (WMI) Tester dialog box, click Connect.

  3. 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

  4. Click Connect.

  5. Click Delete Instance.

    The Get Object Path dialog box appears.

  6. 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.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft