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
Open the WMI Control console: Click Start , click Run , type wmimgmt.msc and then click OK .
In the console tree, right-click WMI Control , and then click Properties .
Click the Advanced tab.
Under Default namespace for scripting , click Change .
In the Browser for Namespace dialog box, select a different default namespace as a target for your scripts.
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
Connect to 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
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.