Link to home
Start Free TrialLog in
Avatar of Baikie
Baikie

asked on

Cannot Ping, unable to initialize windows sockets

Help!

I had a domain controller at a remote location. I needed to demote this server then promote it to a DC again. However, the demotion was unsuccessful and its data in Active directory remained. I managed to remove the data from the active directory using adsiedit.exe.

Now when i tried to promote the Member server to a DC again it said it could not locate the domain or a domain controller. Obviously something was up so i tried to ping one of our domain controllers but it comes up with the following message:

'unable to initialize the windows sockets interface, error code 0'

Any ideas what has happened here?

200 points up for grabs as i need to get this server back up as a domain controller pretty soon.

Thanks in adavnce,

Baikie
Avatar of Da1King
Da1King

You Winsock registry entries and such got corrupted during the demotion.  This happens frequently on Windows XP machines because of Spyware.  As such there is a utility you can download and run to help resolve the issue.  It is normally reserved for Windows XP however you should be ok on a Windows 2000 machine.  However make sure you have everything backed up just in case.

http://www.webattack.com/get/winsockxpfix.html

Or you can try the following first and if they fail try the above.  From a command prompt run the following:

netsh interface reset all <press enter>

netsh winsock reset <press enter>

Then restart the server.
Avatar of Baikie

ASKER

Sorry, forgot to mention that i had already tried the winsockxpfix but with no joy.

I tried using the 'netsh interface reset all' but got the following error:

'Initialization Function ??????1 in IPMONTR.DLL failed to start with error code 10107
The following helper dll cannot be loaded: DHCPMON.DLL
The following helper dll cannot be loaded: WINSMON.DLL'

Does this shine any light on the problem?

Thanks for the reply,

Baikie
ASKER CERTIFIED SOLUTION
Avatar of Da1King
Da1King

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Baikie

ASKER

Ok cheers,

Fixed it by deleting the Winsock and Winsock2 entries from the registry, uninstalling TCP/IP then re-installing.

Everything back to normal.

Thanks for the reply,

Iain