c# - as a Service connecting remote WMI query errors out with wrong user -


ok, first of here error message wmi-activity / operational in eventlog (windows 8):

id = ; clientmachine = machinename; user = machinename\dev; clientprocessid = 1440; component = wmiservice; operation = connect namespace : root\cimv2\security\microsoftvolumeencryption; resultcode = 0x80041003; possiblecause = user not granted appropriate permission on namespace.

the thing user name "dev" not username fed connectionoptions of managementscope() when attempted connection remote computer.

the machinename(i hide) correct.

trying make remote connection service , suspicious scenario service running local machine somehow overwrites username..

i need confirmation might know , able explain doing wrong here..

i see username , password correct until fed properties of connectionoptions , made scope.connect() call.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -