JSI Tip 7147. After you replace a network adapter in a Windows Server 2003 Automated Deployment Services (ADS) Controller, the ADS services may not start when you restart the ADS Controller?

Jerold Schulman

September 7, 2003

9 Min Read
ITPro Today logo in a gray background | ITPro Today

NOTE: The text in the following Microsoft Knowledge Base article is provided so that the site search can find this page. Please click the Knowledge Base link to insure that you are reading the most current information.

Microsoft Knowledge Base article Q825035 contains:

SYMPTOMS

After you replace a network adapter in a Windows Server 2003 Automated Deployment Services (ADS) Controller, the ADS services may not start when you restart the ADS Controller. The event logs contain errors and warnings that are similar to the following:

Event Type: Warning
Event Source: adsctlr
Event ID: 534
Description:
Failed to start ADS Controller because the registry binding information is not correct.

Event Type: Error
Event Source: adsctlr
Event ID: 517
Description:
The following ADS controller error occurred: Failed to start discovery.

Event Type: Error
Event Source: ADSBUILDER
Event ID: 788
Description:
The ADS Builder service binding policy contains a user-specified error. Please inspect

CAUSE

This issue may occur if the media access control (MAC) address or the IP address for the network adapter that is stored in ADS services does not match the MAC address or the IP address of the new network adapter that is installed in the ADS Controller. If you replace a network adapter because of a hardware failure or for other reasons, the address of the new network adapter may not match the address of the network adapter that was replaced. If the address that is stored in the ADS services does not match the address of the network adapter, the ADS services do not start.

RESOLUTION

To resolve this issue, follow the steps for the scenario that is appropriate to your ADS configuration.

Scenario One: The ADS Services Are Collocated

In this scenario, the ADS services are collocated (located on one computer), and the network adapter is replaced in the computer.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. On the computer that runs the ADS services, start Registry Editor.

  2. Locate and then click the following registry key:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlBMSS

  3. In the right pane, right-click BindExcept, and then click Modify.

  4. In the Value data box, type the MAC address of the new network adapter, in the format MAC=xx:xx:xx:xx:xx:xx, and then click OK.

  5. Update the registry with the IP Address of the new network adapter. To do this, follow these steps.

    Note If the IP address of the network adapter has not changed, then you do not have to follow these steps. However, it is a good idea to check these registry settings for consistency.

    1. In Registry Editor, locate and then click the following registry key:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSBUILDERParameters

    2. Right-click BindExcept, and then click Modify.

    3. In the Value data box, verify that the IP address that is listed is the correct IP address for the new network adapter. If the IP address is not correct, type the correct IP address in the Value data box in the format IP=xxx.xxx.xxx.xxx, and then click OK.

    4. Repeat steps b and c for each of the following registry keys:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesAdsctlrBMDPParameters
      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSImgsvcParameters
      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSPXEParameters

  6. Quit Registry Editor.

  7. Start ADS Management. To do this, click Start, point to All Programs, point to Microsoft ADS, and then click ADS Management.

  8. Expand Automated Deployment Services (server name), click Services, right-click Controller Service in the right pane, and then click Properties.

  9. In the Media access control (MAC) address box, type the MAC address of the newly installed network adapter.

  10. If the IP address for the network adapter has also changed, type the IP address for the new network adapter in the IP_address box.

  11. Click OK to close the Controller Service Properties dialog box.

    Note The Image Distribution service and Network Boot Services (NBS) also use the MAC and IP address fields. However, you do not have to update them because when you restart the Controller service, these fields are updated automatically.

  12. Restart the ADS services. To do so, follow these steps:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In the right pane, right-click ADS Controller, and then click Restart.

    3. Repeat step b for the remaining ADS services:

      • ADS Deployment Agent Builder

      • ADS Image Distribution

      • ADS Pre-Boot eXecution Environment (PXE)

      • ADS Administration Agent

    After you restart the services, check ADS Management to make sure that the services show their state as Connected. You may have to update the console view first. To do this, click Refresh on the Action menu. Also, check the system event log and the application event log to make sure that the ADS services have started correctly.

Scenario Two: The ADS Services Are Not Collocated

In this scenario, the Image Distribution service and Network Boot Services (NBS) are running on a different computer than the computer where the ADS Controller service is running.

If you replace the network adapter in the computer that runs the Image Distribution service and NBS, follow these steps.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. On the computer that runs the Image Distribution service and NBS, start Registry Editor.

  2. Locate and then click the following registry key:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlBMSS

  3. In the right pane, right-click BindExcept, and then click Modify.

  4. In the Value data box, type the MAC address of the new network adapter in the format MAC=xx:xx:xx:xx:xx:xx, and then click OK.

  5. Update the registry with the IP Address of the new network adapter. To do this, follow these steps.

    Note If the IP address of the network adapter has not changed, then you do not have to follow these steps. However it is a good idea to check these registry settings for consistency.

    1. In Registry Editor, locate the following registry key:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSBUILDERParameters

    2. Right-click BindExcept, and then click Modify.

    3. In the Value data box, verify that the IP address listed is the correct IP address for the new network adapter that is in the Image Distribution service and NBS computer. If the listed IP address is not correct, in the Value data box, type the correct IP address, in the format IP=xxx.xxx.xxx.xxx, and then click OK.

    4. Repeat steps b and c for each of the following registry keys:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSImgsvcParameters
      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesADSPXEParameters


  6. Quit Registry Editor.

  7. On the computer that runs the Controller service, start ADS Management. To do this, click Start, point to All Programs, point to Microsoft ADS, and then click ADS Management.

  8. Expand Automated Deployment Services (server name), and then click Services.

  9. In the right pane, right-click Network Boot Services, and then click Delete.

  10. In the left pane, right-click Services, click Add NBS Server, click the name of your NBS computer in the Device name list, and then click OK.

    Check the properties of the newly added service to make sure that the correct MAC and IP address are listed in the properties.

  11. In the right pane, right-click Image Distribution Services, and then click Delete.

  12. In the left pane, right-click Services, click Add IDS Server, click the name of your Image Distribution service computer in the Device name list, and then click OK.

    Check the properties of the newly added service to make sure that the correct MAC and IP address are listed in the properties.

  13. On the computer that runs the Controller service, restart the ADS services. To do so, follow these steps:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In the right pane, right-click ADS Deployment Agent Builder, and then click Restart.

    3. Repeat step b for the remaining ADS services:

      • ADS Image Distribution

      • ADS Pre-Boot eXecution Environment (PXE)

      • ADS Administration Agent

If you replace the network adapter in the computer that runs the Controller service, follow these steps.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. On the computer that runs the Controller service, start Registry Editor.

  2. Locate and then click the following registry key:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlBMSS

  3. In the right pane, right-click BindExcept, and then click Modify.

  4. In the Value data box, type the MAC address of the new network adapter in the format MAC=xx:xx:xx:xx:xx:xx, and then click OK.

  5. Update the registry with the IP address of the new network adapter. To do this, follow these steps.

    Note If the IP address of the network adapter has not changed, then you do not have to follow these steps. However, it is a good idea to check these registry settings for consistency.

    1. In Registry Editor, locate and then click the following registry key:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesAdsctlrBMDPParameters

    2. In the registry key, right-click BindExcept, and then click Modify.

    3. In the Value data box, verify that the IP address that is listed is the correct IP address for the new network adapter that is in the ADS controller computer. If the IP address is not correct, type the correct IP address in the Value data box in the format IP=xxx.xxx.xxx.xxx, and then click OK.

  6. Quit Registry Editor.

  7. On the computer that runs the Controller service, start ADS Management. To do this, click Start, point to All Programs, point to Microsoft ADS, and then click ADS Management.

  8. Click Services, right-click Controller Service in the right pane, and then click Properties.

  9. In the Media access control (MAC) address box, type the MAC address of the new network adapter. If the IP address of the network adapter has changed, in the IP_address box, type the IP address of the network adapter.

  10. On the computer that runs the Controller service, restart the ADS services. To do so, follow these steps:

    1. Click Start, point to Administrative Tools, and then click Services.

    2. In the right pane, right-click ADS Controller, and then click Restart.

    3. In the right pane, right-click ADS Administration Agent, and then click Restart.


After you complete these steps, update ADS Management, and then check to make sure that the services show their state as Connected. To update the view, click Refresh on the Action menu. Also, check the application event log to make sure that all the services have started correctly.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like