Impersonate Remote Localuser

  • Thread starter Angelo Castigliola III
  • Start date
A

Angelo Castigliola III

I am trying to write to the registry of a remote computer that is not on a
domain from a computer that is on a domain. I am trying to impersonate an
administrator account that is on this remote computer that is not on a
domain from my computer that is on a domain with this msdn example:
http://msdn.microsoft.com/library/d...ipalWindowsIdentityClassImpersonateTopic1.asp

I can impersonate anyone on the domain and any user account that is on my
local computer that is joined to the domain but I can not impersonate a user
account that is on a remote computer that is not on the domain. Is this even
possible?

How do I impersonate a administrator account local to the remote computer
that is not on a domain so I can write to the registry?

Angelo Castigliola III
Operations Technical Analyst I
UnumProvident IT Services
207.575.3820
 
W

Willy Denoyette [MVP]

Did you specify the remote machine name as the domain name in the call to
LogonUser (argumant - domainName)?

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top