cannot open remote registry when login with a domain user on vista or windows server 2008

  • Thread starter Thread starter tianc
  • Start date Start date
T

tianc

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
 
Back
Top