Page 1 of 1

RPC win7 & xp issues

Posted: 9. Aug 2010, 20:47
by bentoms
Already posted in osx hosts forum, sorry if a cross post but not sure if the issue is host or guest related.


Hi guys,

I'm using a MacBook on 10.6.4 with VB 3.2.8 & am having a few issues that seem RPC related & wondered if you guys could help.

I've been running an Win XP vm for a few months now & all has been fine.. EXCEPT Sophos Enterprise Console will not install due to an "RPC error"

On the same VM Host, I've tried to build a WIN7 image.. i've then tried to add this image to our domain, only to receive an error that the "Domain Name Suffix cannot be updated.."

This happens no matter what my network settings are (bridged, nat etc...), i've even tested with a win 7 vm created on a pc that added itself to the domains successfully, & still received the same errors.

So.. i'm presuming that somehow the rpc service or some oother services are being blocked oby my mac osx host.. neither gui firewall or ipfw are on (ip[fw is on but has no rules)...

Is there something else top try?

Re: RPC win7 & xp issues

Posted: 14. Jan 2011, 21:43
by rbaldry
I have experienced the same problem. I'm afraid I haven't found a solution yet either, but it does seem to be a general problem with any RPC-based interaction with servers on the Domain. For example, as well as failing to join the domain correctly, Outlook on the guest machine fails to talk to the Outlook server even though it can clearly reach it by IP.

I'll keep working on it, but if you get a solution first, please let me know.

Re: RPC win7 & xp issues

Posted: 17. Jan 2011, 21:22
by rbaldry
It turns out the problem is caused somewhere below the virtualization level. Windows sends DCERPC packets that are somehow being dropped between the virtual system and the real interface. This has been reported as a bug http://www.virtualbox.org/ticket/4150. Using tcpdump on the mac and wireshark on the Windows box I confirmed that I saw the same things.

Next step, I tried VMWare Fusion - same problem. This suggests the problem is not in Virtual Box itself, but somewhere in the OS X stack. I don't know how bridged VMs interface with OS X drivers, but I do know that I was not running the OS X firewall.

The solution presented itself via a VMWare Forum. It is described for Vista in Microsoft's web site:

http://support.microsoft.com/?kbid=899148

Basically, you need to find or create the Key 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\RPC', then create the DWORD value '\Server2003NegotiateDisable' and set it to 1.

For Windows 7, I found the key didn't exist so here are some adapted instructions:

1. Click Start button. In the 'Search' box type 'regedit', and then hit enter
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT
3. Click the Edit menu, point to New and then click 'Key'. When the new key appears, give it the name 'RPC'.
4. Click the new key.
5. Click the Edit menu, point to New, and then click DWORD Value.
6. Type
Server2003NegotiateDisable
as the name of the new DWORD Value
7. Right-click Server2003NegotiateDisable, and then click Modify.
8. In the Value Data box, type 1, and then click OK.
9. Quit Registry Editor. Restart the computer.

This solution worked for joining a machine to a domain and for connecting Outlook 2007 to an Exchange server. I haven't tried Sophos Enterprise Console, though. I don't profess to know what the side-effects of this setting are, however I haven't found any bad ones yet.

Original post that pointed me to the solution:
http://communities.vmware.com/thread/15 ... 5&tstart=0