Article ID: 302467 - Last Review: August 4, 2006 - Revision: 5.1 How to prestage an RIS client computer by using ADSIThis article was previously published under Q302467 On This PageINTRODUCTION
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.
MORE INFORMATION
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:
Code SamplesProgrammatically 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.REFERENCES
For more information about ADSI, visit the following Microsoft Web site:
Active Directory Services Interface overview
For more information on remote installation services, visit the following Microsoft Web sites:
http://technet.microsoft.com/en-us/windowsserver/2000/bb735360.aspx (http://technet.microsoft.com/en-us/windowsserver/2000/bb735360.aspx)
RIS client installation and administrative configuration options
For 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:
http://pssweb/eps/performance/mnp_default.asp?loadtype=dynamic&loadurl=/eps/performance/msi/documentation/risclient.htm (http://pssweb/eps/performance/mnp_default.asp?loadtype=dynamic&loadurl=/eps/performance/msi/documentation/risclient.htm) Remote Operating System Installation http://technet.microsoft.com/en-us/library/bb742586.aspx (http://technet.microsoft.com/en-us/library/bb742586.aspx) 198871
(http://support.microsoft.com/kb/198871/
)
IShellFolder::GetDisplayNameOf returns names with GUIDs
For 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:
242920
(http://support.microsoft.com/kb/242920/
)
How the Remote Installation Boot disk works
For more information on CLSIDFromString, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/ms680589.aspx
(http://msdn.microsoft.com/en-us/library/ms680589.aspx)
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
183544
(http://support.microsoft.com/kb/183544/
)
How to call CLSID and ProgID related COM APIs in Visual Basic
For an overview of WMI, visit the following MSDN Web site:
http://msdn.microsoft.com/en-us/library/bb985153.aspx
(http://msdn.microsoft.com/en-us/library/bb985153.aspx)
| Article Translations
|
Back to the top
