Showing posts with label OS Deployment. Show all posts
Showing posts with label OS Deployment. Show all posts

Tuesday, March 22, 2016

Use the same external ethernet adapter for multiple devices during OSD

When deploying modern devices like Microsoft Surface Pro or Lenovo Yoga Pro, no internal ethernet adapter is present. Therefore deployment is done on external ethernet adapter(s). Most of time many devices are ordered, but only a few ethernet adapters, because of high costs. Devices can connect to Wi-Fi networks afterwards, so no need to order a ethernet adapter too.

When deploying different devices with the same external ethernet adapter(s) over and over again, there may be an issue in the ConfigMgr database. This because devices are registered on MAC address by default. Because the MAC address is found in the external ethernet adapter instead in the device, you may know what's causing the problem. Let's have a look at the solution given..

Just import modern devices by SMBIOS GUID (UUID) instead of using MAC addresses. UUID is higher in rank than MAC addresses, and will overrule this. The UUID on devices can be found with the following WMI query (type in command prompt): wmic csproduct get UUID. When importing systems you can choose between MAC or UUID, so choose the 32 hex characters instead of the 12 hex one.

The following must be done too: Add the MAC Address of the external ethernet adapter to the list of MAC adresses that should be excluded from data discovery. This has to be done on the Primary Site Server. Open Regedit and browse to: HKLM\SOFTWARE\Microsoft\SMS\Components \SMS_DISCOVERY_DATA_MANAGER\ExcludeMACAddress.
It's possible to add multiple MAC addresses there too!

As you can see in the picture no MAC address is linked to the ConfigMgr client that way, and deployment went successful. Just deploy multiple modern devices, with the same external ethernet adapter, and without issues from now on!

When devices connecting to Wi-Fi networks afterwards, the MAC address will be registered as always.

Happy deploying :-)

Source: Microsoft Blogs

Tuesday, March 18, 2014

OS deployment monitoring in ConfigMgr 2012 R2

When doing OS deployment in ConfigMgr 2012 R2, which is one of main features, it seems nice to start monitoring on that. Especially when on a remote location and using Zero Touch installation (ZTI) to do the job. In older versions of ConfigMgr I used reporting for that. Within 2012 R2 it's possible to have a recent view in deployment monitoring. Let's have a look at functionality first.

When in the ConfigMgr console, go to the Monitoring tab. There you find Deployments. Within deployments you will find all packages, task sequences and update jobs which has an deployment on them. When looking at OS deployment monitoring, select the task sequence job running, and "View status". Have a look at "Summarization time", and click "Run summarization" when not recent. Click "Asset details" and "More details" to open a new window.

 
Within the new window, select status to see an overview of OS deployment steps. Unfortunately it's needed to sort them on Execution time and maximize the window every time when opening. Also the monitoring window is not dynamic so you need to "Run summarization" multiple times, and open the window again. Every time the window opens you need to sort on Execution time and maximize the window. At last it's not possible to start anything else in the Console as long as the monitoring window is active.

Let's recap. I really think OS deployment monitoring is great. Maybe Microsoft can create an dynamic monitoring window which saves the configuration? Customers are asking for this type of window also. For a first version it looks great but not complete yet. Hope this can be arranged in a new ConfigMgr update. Thanks!

Monday, July 22, 2013

OS deployment in ConfigMgr fails with Error 80220005

Description: You see the following error messages on smsts.log:
Failed to open the Task Sequencing Environment. Code 0x80220005. Please ensure you are running this executable inside a properly configured OS Deployment task sequence.  

-Unknown error (Error: 80220005; Source: Unknown)
-Exiting with return code 0x80220005
-Process completed with exit code 2149711877
-Failed to run the action: Apply Windows Settings.
-Unknown error (Error: 80220005; Source: Unknown)

Solution: Make sure the computername is not too long. If the length is longer than 15 characters, shorten it.

After that OS deployment will be running fine again! :)

Monday, July 1, 2013

OS Deployment - Failed to get client identity 80004005

Today we had the following error message on a Virtual Machine (VM) starting ConfigMgr Boot Media: Failed to get client identity 80004005. First I was thinking about Boundaries, because the VM was in a different subnet. After adding the needed IP-address ranges, the error message was still te same. Looking on MS TechNet the following thread was found.

The following solution is mentioned there: The problem was in the client computer, that has wrong Time and Date in BIOS. Simply adjust date and time to actual time, and the deployment works perfectly.

And indeed, on the VM the Time and Date in BIOS was not correct. After changing it to the right Time and Date everything went fine again. Hope it helps!

Thursday, April 25, 2013

During OS deployment, format the C drive only

When OS deployment is done on systems, sometimes it's needed to wipe just the C drive and keep existing data on the D drive. When using a default task sequence in SCCM/ConfigMgr or MDT all data is wiped. This because exiting partitions will be deleted and created again. In this blogpost I explain what to do in this situation.

Just create a default task sequence for OS deployment first. Just edit it after creation and remove any “Format and Partition Disk” step. You can't use this step without wiping the disk at all. In the "Apply Operating System Image" step, make the following modifications before deployment: Set the destination to a specific Disk 0 and Partition 1 (for example), so it's fixed after that.


That way only the partition configured will be used. Other partitions or disks will be saved this way! During the "Apply Operating System Image" step, the configured Disk and Partition will be formatted first before installation. Job completed!