eugene_goldberg
asked on
C# WMI anauthorized access exception
I am trying to start a process on a remote windows 2008 server using a C# code, which uses WMI. I am presenting a valid Administrator credentials in the code, but keep getting the AnauthorizedAccessExceptio nUnhandled error.
I made sure that on the target server the Administrator account is authorized to impersonate client after being authenticated. I could not find any errors on the system event log (maybe there are some other log files I need to look at)
I'm attaching my program here.
ProcessRemote.zip
I made sure that on the target server the Administrator account is authorized to impersonate client after being authenticated. I could not find any errors on the system event log (maybe there are some other log files I need to look at)
I'm attaching my program here.
ProcessRemote.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
well, I have joined the target to my AD domain, but the results are the same - unauthorized access exception
ASKER
update - this seem to work on the 32 bit machines like windows 2003, but fails on the 64 bit machenes like windows 2008.
Any ideas?
Any ideas?
ASKER
no comments
ASKER