- Open the Computer Management Microsoft Management Console
(MMC) snap-in. - Expand Services and Applications, and then select WMI Control.
- Right-click WMI Control, and then click Properties.
- In the WMI Control Properties dialog box, click the Security tab.
- Expand Root, select CIMV2, and then click Security.
- In the Security dialog box, click Advanced.
- In the Access Control Settings dialog box, click Add. Select localMachineName\ASPNET, and then click OK.
- In the Permission Entry dialog box, make sure that Apply Onto is set to This namespace and subnamespaces.
- Make sure that the Allow 'Enable Account' and Allow 'Remote Enable' check boxes are selected.
- Click OK in each dialog box until you return to the WMI Control Properties dialog box.
- Repeat steps 5 through 10 for other WMI namespaces that
your application will access. - Restart IIS. To do this, run
IISRESET from the command line.
Monday, April 20, 2009
ManagementObjectSearcher Access Is Denied
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment