Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Windows ›
How to prestage a computer in Active Directory

How to prestage a computer in Active Directory

September 28, 2011 Windows Jesin A Leave a Comment

windows category thumbnail

This tutorial explains prestaging a computer object in the Windows Active Directory database. Prestaging means to add a computer to the Active Directory database before joining the computer to the domain. By prestaging a computer you can make sure the WDS (Windows Deployment Services) server responds only to known computers. By default if you join a computer to a domain the computer object is created in the Computers container, even though you can move it to another container later, by prestaging you can place the computer inside the container of your choice even before joining it to the domain.

If your domain controller is also a WDS server you’ll have the option of entering the GUID of the computer while creating a computer object, but otherwise there is no “direct” option to enter the GUID. Entering the GUID is done differently on windows server 2003 and 2008 so the first step is to create a computer object which is same on all Windows Server editions.

Go to Start – > Control Panel -> Administrative Tools -> Active Directory Users and Computers or Start -> Run and type dsa.msc. Right-click the container inside which you wish to place the computer, navigate to new -> computer. This needn’t necessarily be the computers container it can be any OU. Enter the netBIOS name of the computer you wish to prestage. This is the computer name which is displayed under the “Computer Name” tab of the system properties.

create computer object
Enter the name of the computer which is to be prestaged

The next step is to enter the GUID of the computer. This is where steps differ between Windows 2003 and 2008.

Modifying the netbootGUID attribute in Windows Server 2003

Our aim is to modify an attribute named netbootGUID of the computer object and enter the GUID of that computer. For this purpose you’ll have to install the ADSI editor. After installation go to Run and type adsiedit.msc. Navigate to Domain[domaincontroller.domain.tld] -> DC=domain,DC=tld -> Container-or-OU-Name. The computer is shown as CN=ComputerName. Right click it and go to the properties.

computer object guid attribute 2003
Entering the GUID of the computer in Windows Server 2003

Find the attribute named netbootGUID and edit it. You don’t have to take the trouble of searching the GUID of that computer, just the MAC address is enough. Enter the MAC address in this format – twenty zeros followed by the 12 digit MAC address with spaces between pairs of digits. For example, if your MAC address is 08:00:27:B3:A1:37 enter

00 00 00 00 00 00 00 00 00 00 08 00 27 B3 A1 37

This totals to 32 characters, save the attribute and its done, you’ve successfully prestaged a computer in Windows Server 2003

Modifying the netbootGUID attribute in Windows Server 2008

It much much easier to edit the netbootGUID attribute in Windows 2008 because it has an in built attribute editor. Go to Start – > Control Panel -> Administrative Tools -> Active Directory Users and Computers or Start -> Run and type dsa.msc. Go to the View menu -> Advanced Features, open the properties of the computer object, go to the attribute editor tab and edit the netbootGUID attribute.

computer object guid attribute 2008
Entering the netbootGUID in windows server 2008

You don’t have to take the trouble of searching the GUID of that computer, just the MAC address is enough. Enter the MAC address in this format – twenty zeros followed bythe 12 digit MAC address with spaces between pairs of digits. For example, if your MAC address is 08:00:27:B3:A1:37 enter

00 00 00 00 00 00 00 00 00 00 08 00 27 B3 A1 37

This totals to 32 characters, save the attribute and its done, you’ve successfully prestaged a computer in Windows Server 2008.

Related posts:

linux category thumbnailSetup Linux DNS Server for Windows Active Directory windows category thumbnailActive Directory User Creation Script windows category thumbnailHow to setup a VPN Server in Windows Server 2008 windows category thumbnailSetting up Network Load Balancing (Single Network Adapter) windows category thumbnailHow to setup roaming user profiles in Windows Server 2008

Tags: active directory, windows server

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.