Cannot connect to remote registry by IP address

I am an administrator on the machine, DNS is fine (PING -A confirms this), and the Remote Registry Service is enabled.  I can connect to the registry just fine (using regedit) by HOSTNAME, but not by IP address.  It prompts for credentials and gives me an Access Denied.  I get the same functionality when trying to access the registry using C#'s RegistryKey.OpenRemoteBaseKey.

The destination computer is a 32-bit Windows 7 machine, and I am attempting to connect from a 64-bit Windows 7 machine.  It does not matter if I pass Registry64, Registry32, or Default as the RegistryView parameter to OpenRemoteBaseKey - they all fail with Access Denied.

Why am I unable to access the registry using the IP address?

Answer
Answer

GPUPDATE /FORCE fixed the issue.  I used PSEXEC remotely with:

psexec \\computername "c:\windows\system32\gpupdate.exe" /force

Before:

H:\>net use \\1.2.3.4\c$ /user:domain\username
System error 1311 has occurred.

There are currently no logon servers available to service the logon request.


H:\>net use \\computername\c$ /user:domain\username
The command completed successfully.

After:

H:\>net use \\1.2.3.4\c$ /user:domain\username
The command completed successfully.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated September 17, 2020 Views 2,607 Applies to: