During an SBS2003 install the other day I noticed a long pause during one of the supplementry CD installs. I checked the logs and noticed an MSI installer error but allowed the install to continue and finished the setup of the server including the R2 Technologies CD and all Windows updates.
I then begun to notice Event ID 4191
IP could not open the registry key for adapter
TCPIP\Parameters\Adapters\NDISWANIP. Interfaces on this adapter will not be
on restarts if the server along with the loss of my static IP. Interestingly enough, if I viewed the status of the LAN card the static IP was there but on viewing TCP/IP settings they were all set to obtain automatically. This continued after many reboots, driver re-installation etc.
I tried to repair Winsock first by running
netsh winsock reset with no luck and had to consult Microsoft’s KB325356.
I have copied the instructions here, please note this can have undesired effects. In my case several Exchange errors were created because of DNS issues caused by this fix and these each had to be investigated:
To resolve this issue, delete the corrupted registry keys, and then reinstall the TCP/IP protocol.
To delete the corrupted registry keys, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
1. Restart the domain controller.
2. When the BIOS information appears, press F8.
3. Select Directory Services Restore Mode, and then press ENTER.
4. Use the Directory Services Restore Mode password to log on.
5. Click Start, and then click Run.
6. In the Open box, type regedit, and then click OK.
7. Locate the following registry subkeys:
8. Right-click each key, and then click Delete.
9. Click Yes to confirm the deletion of each key.
10. Close Regedit.
11. Locate the Nettcpip.inf file in %winroot%\inf, and then open the file in Notepad.
12. Locate the [MS_TCPIP.PrimaryInstall] section.
13. Edit the Characteristics = 0xa0 entry and replace 0xa0 with 0x80.
14. Save the file, and then exit Notepad.
15. In Control Panel, double-click Network Connections, right-click Local Area Connection, and then select Properties.
16. On the General tab, click Install, select Protocol, and then click Add.
17. In the Select Network Protocols window, click Have Disk.
18. In the Copy manufacturer’s files from: text box, type c:\windows\inf, and then click OK.
19. Select Internet Protocol (TCP/IP), and then click OK.
Note This step will return you to the Local Area Connection Properties screen, but now the Uninstall button is available.
20. Select Internet Protocol (TCP/IP), click Uninstall, and then click Yes.
21. Restart your computer, and then select Directory Services Restore Mode as mentioned in steps 2 – 4.
22. In Control Panel, double-click Network Connections, right-click Local Area Connection, and then select Properties.
23. On the General tab, click Install, select Protocol, and then click Add.
24. In the Select Network Protocols window, click Have Disk.
25. In the Copy Manufacturer’s files from text box, type c:\windows\inf, and then click OK.
26. Select Internet Protocol (TCP/IP), and then click OK.
27. Restart your computer.
After you reinstall TCP/IP, install Microsoft Windows Support Tools, and then run the Netdiag and Dcdiag tools to verify that the domain controller is functioning correctly. To do this, follow these steps:
1. Insert your Windows Server 2003 CD-ROM in your computer’s CD-ROM or DVD-ROM drive.
2. Click Start, click Run, type DriveLetter:\Support\Tools\suptools.msi, where DriveLetter is your CD-ROM or DVD-ROM drive, and then click OK.
3. Follow the instructions on the screen to complete the installation of Windows Support Tools.
4. At the command prompt, locate the folder where the Support Tools were installed. By default, this folder is C:\Program Files\Support Tools.
5. Type dcdiag /v for domain controller diagnostics, and then address any errors.
6. Type netdiag /v for network diagnostics, and then address any errors.