Microsoft Windows Server 2003 – How to Set WMI Namespace Security
This article describes how to set Windows Management Instrumentation (WMI) namespace security in Windows Server 2003.

WMI security is based on namespaces. The schema is logically partitioned into namespaces for organizational and security purposes. Use the WMI Control snap-in to modify the security on WMI namespaces. With this tool, one can set security that is based off the root or select individual namespaces. One can also set inheritance that is based on namespace hierarchy.

Access to WMI Namespaces
WMI uses a standard Windows security descriptor to control access to WMI namespaces. When you connect to WMI, either through the WMI “winmgmts” moniker or a call to IWbemLocator::ConnectServer or SWbemLocator.ConnectServer, you connect to a specific namespace.

Setting Namespace Security with the WMI Control
The WMI Control is an MMC snap-in located in the Control Panel and is used to set WMI namespace security manually on a local computer. You can also set the default namespace for scripting.

WMI query in powershell script returns no object when run in a scheduled task

Get-WmiObject returns nothing in a PowerShell Script running as scheduled task