WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WMI
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

!WMI Security!

 Keywords: Remote Remotely Connect Rights Permissions 

Managing WMI security

Windows Management Instrumentation (WMI) supports a limited form of security that validates each user before the user is allowed to connect to WMI, on either the local computer or a remote computer. This security is layered on top of the operating system security. WMI does not override or circumvent security provided by the operating system.

By default, all members of the Administrators group have full control of the WMI services on the computer that is being managed. All others have read/write/execute permissions on their local computer only.

Permissions can be changed, either by adding a user to the Administrators group on the managed computer, or by authorizing users or groups in WMI and setting their permission level. Access is based on WMI namespaces.

On computers running Windows 95, Windows 98, or Windows Millennium Edition, all users have full control locally. However, permissions can be set for users managing a Windows 95, Windows 98, or Windows Millennium Edition computer remotely.

Security is checked only when a user connects to the Windows Management service. Thus, any changes made to a user's permissions while the user is connected will not take effect until the next time the user starts a WMI service. For example, if a user's access is revoked, the changes will not take effect until the user exits from WMI and attempts to connect to the service again.

To authorize WMI users and set permissions

  1. Open WMI Control (wmimgmt.msc). In the console tree, right-click WMI Control, and then click Properties.

  2. Click the Security tab.

  3. Select the namespace for which you want to give a user or group access, and then click Security.

  4. In the Security dialog box, click Add.

  5. In the Select Users, Computers, or Groups dialog box, enter the name of the object (user or group) that you want to add.

  6. Click the Check Names button to verify your entry and then click OK. You might have to change the location or use the Advanced button to query for objects. See the dialog box help for more details.

  7. In the Security dialog box, under Permissions, select the permissions to allow or deny the new user or group.
     
    Execute Methods- Allows methods exported from the WMI classes or instances to be run. 
    Full Write - Allows full read, write, and delete access to all WMI objects, classes, and instances. 
    Partial Write - Allows write access to static WMI objects. 
    Provider Write - Allows write access to objects that are provided by providers. 
    Enable Account - Allows read access to WMI objects. 
    Remote Enable - Allows remote access to the namespace. 
    Read Security - Allows read-only access to WMI security information. 
    Edit Security - Allows read and write access to WMI security information. 
    

    Notes:


Article ID:   W15355
File Created: 2002:12:19:14:43:52
Last Updated: 2002:12:19:14:43:52