Guest tianc Posted May 4, 2008 Posted May 4, 2008 I have logged into a machine with a user who is only a domain user, and used api RegConnectRegistry and then RegOpenKeyEx to query another machine's registry in the same domain, but RegOpenKeyEx returns access denied. I have tried giving the local administrator and domain administrator credentials using NetUseAdd and WNetAddConnection2, but both cannot work. This only happened in Vista or Windows Server 2008. And only happened when I logged in with a domain user. Could anyone help me? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.