One of the biggest slowdowns when reimaging an entire lab of computers is the naming process in MDT. Of course, you could simply do a refresh deployment but often you just want to completely wipe everything on the machine and start fresh but also keep the same computer name.
This can easily be done using a UserExit.vbs script in just a couple steps.
Jun 15, 2018 Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Jun 03, 2013 There are various of methods out there today on how you can automate the process of naming computers during OSD. I’ve previously blogged about how to do it with VB script, you can find that blog here. In this blog post we’ll be renaming the computer based upon.
- Open up your MDT deployment share and add the following two lines to the customsettings.ini:
- Create a file named UserExit.vbs in the Scripts folder of your MDT share with the following contents:
Now when you start a task sequence and get prompted with the computer name, it will automatically use the name found in the current install of Windows.
Source: Technet Forums