Share via


Change the WMI scripting settings

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

To change the WMI scripting settings

  1. Open WMI Control.

  2. In the console tree, right-click WMI Control, and then click Properties.

  3. Click the Advanced tab.

  4. Under Default namespace for scripting, click Change.

  5. In the Browser for Namespace dialog box, select a different default namespace as a target for your scripts.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open the WMI Control console, click Start, click Run, type wmimgmt.msc, and then click OK.

  • Set the default targeted namespace to one you use most often in your WMI scripts. If no namespace is identified within a script, the default is used.

  • If the computer you are manage runs Microsoft Windows NT 4.0, you can define whether WMI scripts can be run from within Active Server Pages (ASP). If you enable the option, your ASP connects to Windows Management services using the process level identity of Internet Information Services, which might compromise security.

  • You can change the scripting namespace on a remote computer or a local computer. To access a remote computer, right-click WMI Control, click Connect to another computer, click Another computer, and then type the name of the computer to which you want to connect. If you are using WMI Control from the Computer Management console, right-click the Computer Management node to connect to the other computer.

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

Concepts

WMI Control Overview
Working with MMC console files
Managing WMI security