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