Article ID: 302467 - View products that this article applies to.
This article was previously published under Q302467
The netbootGUID attribute of a computer object in Active Directory is set to either the computer's GUID, if available, or a calculated value based on the network card address for a computer that has been enabled to use Remote Installation Services (RIS). The netbootGUID attribute is set during the client computer's prestaging phase. By using Active Directory Services Interface (ADSI), the client computer can be programmatically prestaged by setting the computer object's netbootGUID attribute in Active Directory.
When a RIS client computer on the network starts up it initiates a network service request. The RIS server (using the Boot Information Negotiation Layer [BINL] service) must check Active Directory for the existence of a prestaged client computer account that matches the client computer. BINL checks for the existence of a client computer by querying Active Directory for a computer object whose netbootGUID matches the GUID sent during the request.
The samples provided in this section demonstrate:
Programmatically Prestage the ClientThe following sample uses Microsoft Visual Basic to demonstrate how to programmatically prestage the client computer by setting the octet string value of the netbootGUID attribute on the computer object in Active Directory.
Programmatically Determine NetbootGUID ValueThe following sample uses Microsoft Visual Basic Script to demonstrate how to programmatically determine what the netbootGUID attribute value should be set to for a computer.
For more information about ADSI, visit the following Microsoft Web site:
Active Directory Services Interface overviewFor more information on remote installation services, visit the following Microsoft Web sites:
RIS client installation and administrative configuration optionsFor more information on how to programmatically determine the computer's GUID, click the following article number to view the article in the Microsoft Knowledge Base:
Remote Operating System Installation
198871For more information on how the computer's GUID is generated by the remote installation boot disk, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/198871/ )IShellFolder::GetDisplayNameOf returns names with GUIDs
242920For more information on CLSIDFromString, visit the following Microsoft Developer Network (MSDN) Web site:
(https://support.microsoft.com/kb/242920/ )How the Remote Installation Boot disk works
http://msdn.microsoft.com/en-us/library/ms680589.aspxFor more information, click the following article number to view the article in the Microsoft Knowledge Base:
183544For an overview of WMI, visit the following MSDN Web site:
(https://support.microsoft.com/kb/183544/ )How to call CLSID and ProgID related COM APIs in Visual Basic
Article ID: 302467 - Last Review: August 4, 2006 - Revision: 5.1