Cannot open Service Control Manager

floydus

New member
Joined
Oct 25, 2006
Messages
1
Programming Experience
1-3
:confused: In my code, while connecting to a Remote Machine(XP) for Getting a List of services, I got the following Error.

foreach (ServiceController ctrl in ServiceController.GetServices(m_machineName))
which means according to microsoft

Cannot open Service Control Manager on computer 'MARCOLD'. This operation might require other privileges.

I've done some search on google and found out that it was a security issue... haha Now, how to impersonate a user and Logon to the other machine?
How to change User level configuration for according privileges.
I have tried to create a new user to the remote machine, but without success, got same error.

What privileges are needed ?
Anyway,
If you have any document information regarding communication between windows services, let me know.

Thanks.
 
Back
Top