Export (0) Print
Expand All

Change WMI scripting settings

Applies To: Windows 7, Windows 8, Windows Server 2008 R2, Windows Server 2012

Procedures in this topic are slightly different in Windows Server 2012 and Windows 8. For information on new ways to do tasks in Windows Server 2012 and Windows 8, see Common Management Tasks and Navigation.

To change WMI scripting settings

  1. Open the WMI Control console: Click Start , click Run , type wmimgmt.msc and then click OK .

  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.

Additional considerations

  • 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 manage runs Microsoft Windows NT 4.0, you can define whether WMI scripts can be run from within an Active Server Page (ASP). If you enable this 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.

  • To connect to another computer, your logon account must be a member of the Administrators group on the remote computer. For more information, see Connecting to WMI on a Remote Computer.

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

Community Additions

ADD
Show:
© 2014 Microsoft