locked
ManagementClass fail with Win32_Enivronment: "Access Denied" RRS feed

  • Question

  • i am using the system.management class to set environment variables on multiple remote machines. when i run this tool from a xp machine it works fine, but when it is ran on a server 2008 machine it fails with "Access Denied". i know the credentials are correct or this would not work on the xp machine. what could be causing this to happen, could the server 2008 machine be forcing some other kind of credentials?

    also all the remote machines are server 2008.

    Monday, May 2, 2011 2:59 PM