c# - Cannot open Service Control Manager on computer ''. This operation might require other privileges -
i have used impersonation process privilages remote computer username , password of administrator. i'm still getting above error. computer not in domain. in workgroup. , logonuser function advapi32.dll used impersonate has domain 1 of parameter.
logonuser(user, domain, password, logon32_logon_network, logon32_provider_default, ref tokenhandle);
i've passed null value domain. problem or else. there way have access services of remote computer in workgroup.
Comments
Post a Comment