Thursday, 3 December 2026

MECM PXE Boot issue - Don't blame the network!

Introduction

The PXE boot function, when working, allows a provisioning engineer to initiate a build from a network prompt.  The engineer will plug a network cable into a desktop or laptop, power it on and wait for an F12 prompt.  If he/she is quick enough to press F12 in time - a correctly configured MECM DP with PXE enabled will deliver, via the Trivial File Transfer (TFTP) protocol, the Window PE wim file.  And this is the starting point to provisioning the device with whatever Operating System is required.  If PXE is not configured or not working, then the engineer may have to use a USB key to load Windows PE onto the device.  This is quite a security risk - and in highly secure environments the use of unencrypted USB keys for such a thing would be considered a severe security sin.

In this instance the client was struggling to get the PXE functionality working.  It had been working in the past, but at some point, mostly likely about a year ago, it stopped working.  And so USB keys had to be utilized to start the build, whenever new laptops or desktops arrived for imaging, or whenever a rebuild was required.

And what was to blame here?  The network team denied culpability and the infrastructure team also didn't find an issue under their area of concern.  Now I have had to tackle PXE boot implementations and issues many times in the past - I decided to help out.

The Problem

It is always a good idea to examine the correct logs.  For PXE boot issues the location and name of the log file to examine is not always clear.  In my experience the best log to look at firstly is the SMSPXE.log file.  If the distribution point role is on the same server as the site server then its location will usually be at: <ConfigMgr installation drive>:\Program Files\Microsoft Configuration Manager\Logs.  If the PXE enabled distribution point is on a remote server it will be located at \\<name of remote DP>\<DP installation drive>\SMS_DP$\sms\logs.

In this picture we can see data typical of a PXE booted client where the PXE enabled Point has successfully replied with a boot image.

,


On the client requesting a PXE boot we see the F12 prompt.



And on pressing F12 we see the download of the boot image taking place.



If we look at the SMSPXE.log file on the client whose PXE functionality was failing, that is, not presenting the F12 prompt - it looked similar to this:



The key piece of information here, as highlighted by the green rectangle is that the DP certificate is expired.  So herein lies the issue, and I can fully understand why this was not discovered immediately, and the ticket ping ponged around the different teams for months without a resolution.

This SCCM/MECM site, as with my Hyper-V lab site is configured to use PKI authentication rather than Enhanced HTTP authentication.  Enhanced HTTP authentication is much easier to configure but not as secure as PKI authentication.  EHTTP does use certificates, but they are self signed.  PKI uses certificates signed and issued by a Certificate Authority.  The certificates have to be configured and applied correctly for MECM to work properly in PKI mode, and this is specially true for the PXE functionality.  Now it is tempting to run certlm.msc on the distribution point to check the DP certificate has not expired.  Here is the certificate on my DP and as can be seen it is valid and current.


Check done you might say - certificate looks fine, it is not expired.  Must be the network.  But there is another location this certificate needs to be configured - this is on the properties of the Distribution Point in the MECM console.  In my lab I have called this certificate PXECert.pfx



On this client's DP the name of the .pfx file contained the date of the certificate, for instance, PXECert22Feb2025.pfx.  Now, given that these certificates were valid for 12 months, clearly this certificate had not been updated on the properties of the PXE enabled DP at the time the certificate had been updated in the DP's certificate store.  The certificate in the certificate store had been updated in 2026.  The engineer had not completed all the requirements - as well as updating the DP certificate in the DP's certificate store, he or she was then required to export the certificate as a .pfx file and then attach it to the DP via the DP properties in the MECM/SCCM console.

The Fix

Because a DP certificate already existed in the certificate store on the DP, we do not need to enroll a new DP certificate.  Here are the steps, as configured in my lab, required to resolve the issue.

On the Distribution Point that is PXE enabled open a command prompt as administrator and run certlm.msc.  Expand Certificates\Personal and locate the DP certificate.  In this case I have found it easily by the certificate template name.


Right click on the certificate and select All Tasks\Export.  The Certificate Export wizard appears.  Click on Next.  On the Export Private Key page select Yes, export the private key and click on Next.



On the Export File Format page click on Next.


On the Security page click on the Password option and enter in a password.  Click on Next.




On the File To Export page browse to a location and enter in a name for the .pfx file.  In this case I enter in PXECert and click on Save.



Click on Next and then Finish.



If the Distribution Point is remote to the Site server, copy the exported .pfx file to a location on the Site Server.  On the Site Server open the MECM/SCCM console and navigate to Administration\Overview\Site Configuration\Servers and Site System Roles.  Locate the PXE enabled DP and select Properties.  Click on the Communication tab.


In the Import certificate area click on Browse and locate your certificate.  Once the new certificate is selected enter in the password for the private key and then click on Apply and then OK  You should now reboot the Distribution Point.

Your PXE enabled distribution point should now be offering out boot images.  For your convenience I attach here the PXE configuration for my working PXE Enabled DP.




Conclusion

PXE booting is a very convenient way to initiate the imaging process.  It can be challenging when it stops working.  It is tempting to blame the breakage on a new network firewall rule, or a change in the routing configuration - a changed IP helper or relay agent for example.  Always check the SMSPXE log.  I know from experience these PXE issues can be very difficult.  If months have gone by and you are getting nowhere, consider getting in an SCCM SME such as myself - the costs can be high but this may save a lot of time.  And of course, if your environment is particularly security sensitive, you don't want to be using those unencrypted USB bootable media keys any longer than you really have to be using them.





Thursday, 26 November 2026

Upgrade ThinPro Service pack using Easy Update

Introduction

Keeping your ThinPro thin device population at the latest service pack is a great idea - after all, your organization has invested in these great devices because of their advanced security features.  Yes you definitely want them on the latest service pack and this is peace of mind knowing most possible security issues have been addressed.  In the past I have created an image by using the HP ThinUpdate tool.  In this example I have a HP T540 device.  I have selected the ThinPro 8.1 OS and I have the option of creating a USB key with the ThinPro 8.1 with SP2 image downloaded onto it.


When I have created this recovery key, I can image a T540 device with it and then capture the image to the HPDM repository.  I am then able to deploy it out to my entire HP T540 estate.

One possible issue is that the latest image with the latest service pack is not always available to download using the HP ThinUpdate tool.  For instance, if I select the ThinPro 9 Operating System as shown, I do not have the option of downloading the ThinPro 9.0 image with SP3 - and I do know that SP3 is available for the ThinPro 9 OS.


The Workaround

One way to get around this blocker is to use the HP EasyUpdate tool on a Thin Client device.  In this example I will connect a HP T540, with ThinPro 9 installed, to the internet and install Service Pack 3 using the EasyUpdate feature.

Usually my device is connected to a hub and I can manage the device using HPDM, which is installed on a HyperV virtual Windows Server.  Firstly I disconnect the thin client's network cable from the hub and connect it to a spare port on my internet router.  I then click the matrix icon on the lower left corner of the ThinPro OS and select the Administrator icon to switch into Admin mode.  I then enter in the administrator password and then open the Control Panel.


I then select the Manageability option and select Easy Update.



I then click on Next.  The Updates wizard appears.


Click on the Service Pack Updates option.  The Select Pack Updates window appears.  Scroll to the required update - in this case it is ThinPro 9.0 SP3.


Select this update and click on Install.



The updates progress window appears.  You can see more information by ticking the Show Details option.



When completed click on Next and then Finish.  As can be seen from within the System Information tool, this Thin Pro is now on Service Pack 3.


I then connect the the Thin Client's cable from the internet router and back into the hub which is connected to the HPDM server.

If desired I can capture an image using the _Capture Image operation from HPDM. 




This will create a template with the given name - and this can be used to upgrade any remaining Thin Clients of the same model.  In my case I have called the template ThinPro9-sp3



Conclusion

The Easy Updates feature is a very quick and simple way to update your Thin Client to the latest service pack.  And even if your thin clients do not have direct internet access, you can connect one thin client to the internet, update it to the latest service pack using Easy Updates.  You can then connect it back to your HPDM environment, capture it into a template image, and update your other thin clients using the created template.  This way you can be assured your environment is nice and secure.  I wish you the same success in your use of the Easy Updates feature.

Thursday, 24 September 2026

Monitor your MECM TS provisioning deployments using a single Status Message Query

Introduction

For many many years I have been creating OSD deployment task sequences for clients.  Typically the build engineer will kick off a number of laptops or desktops, or both, and monitor them as they install the corporate build image. They will monitor them right there in the build room.  And that is fine - but what if the build engineer's desk is in another part of the building?  Or what if the third line support engineer is in another building, or even in another country?  If something goes wrong during provisioning, you may want a way of discovering this, and even troubleshooting the problem from your remote location.  This is when the OSD deployment Status Message Query is very useful.

The Built in Status Message Query

Before we start building our custom TS Status Message Query, be aware that there is a built in Status Message Query that can be used.   This is called the All Status Messages for a Specific Deployment at a Specific Site status message query.  This can be accessed by opening the SCCM console, selecting Monitoring\Overview\System Status\Status Message Queries. 



Right click on the query and select Show Messages.  For the Property Value field you will need to enter in the Deployment ID of the deployed Task Sequence.  One way to find this is to navigate to Software Library\Overview\Operating Systems\Task Sequences.  Find the Task sequence you want to monitor and click on Deployments tab in the lower section of the window.  Ensure that the Deployment ID property is selected by right clicking on the upper ribbon under Deployments and then make a note of the Deployment ID.


In this case the Deployment ID is UK120001.  Moving back to our canned status message query we can now enter in the fields.


Clicking on OK will retrieve the status messages from this Deployment ID - which is the Deployment D of a deployment of a Windows 11 task sequence.



So we do have a canned Status Message Query that will allow us to monitor the progression of one deployment for one task sequence.  Typically however, there will be multiple deployments of one Task sequence - for instance I now have two Deployments for my Windows 11 Task sequence - one deployment for Unknown Computers in the case of building a brand new device, and another deployment targeted at a rebuild of a device that is already in MECM.


And what if we would like to monitor the deployments for multiple task sequences by running just one Status Message Query?  For these scenarios we can create the Custom TS Status Message Query.  Use the following steps to create a Custom TS Status Message Query.

Create the Custom TS Status Message Query

The first step in creating your Custom TS Status Message query is to note down the Deployment IDs of all your Task Sequence IDs.  In my MECM test site I have a Windows 11 task sequence with the following Deployment IDs - UK120001 and UK120003.  Also note down your MECM site code - mine is UK1.

Now modify the following query to align with your monitoring requirements:

select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and (att2.AttributeValue = '<DeploymentID1>' OR att2.AttributeValue = '<DeploymentId2>' OR ...) and stat.SiteCode = '<SiteCode>'and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc

The sections in bold and blue will need to be modified.  In my case, I only have two deployment IDs and so my customized query is as follows:

select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and (att2.AttributeValue = 'UK120001' OR att2.AttributeValue = 'UK120003') and stat.SiteCode = 'UK1'and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc

Now that the query is configured as required, open the MECM console and navigate to Monitoring\Overview\System Status\Status Message Queries.  Right Click and select Create Status Message Query.


The wizard appears.  Enter in a name such as Windows 11 Build and click on Edit Query Statement and then on Show Query Language.  The Query Language Properties window appears.  Remove the existing query and paste in your custom query as created in the above step.


Click on OK and then Next and then Next and then Close.

You can now run your new Custom Status Message query and monitor your provisioning builds from any of your MECM administration consoles.

Conclusion

Oftentimes a build room is without windows, and even a few floors below ground level.  They can be noisy and unpleasant places.  Using the steps in this article there is no reason you cannot monitor and troubleshoot your OSD provisioning builds using a custom status message query from a remote location.  Remember to add any additional deployment IDs into the query whenever they are created.  I hope you have enjoyed reading this little article and I hope you enjoy running this great little status message query whenever you are provisioning devices for your customers.

Monday, 31 August 2026

How the Restart-Netadapter command fixed an inaccessible Windows Cluster

Introduction.

Recently a Windows Server OS upgrade of a two node cluster caused some head scratching issues.  This cluster consisted of two physical servers, each with ILO connectivity.  The cluster had on it several Hyper-V virtual servers - thus this upgrade was indeed a high impact change.  Working on physical servers remotely does require a steady hand.  Obviously with a VM server we can revert back to a snapshot quickly if something goes wrong - provided you have remembered to take a snapshot beforehand.

I did upgrade one node to Server 2022 and it appeared to go well.  But things started falling apart when upgrading the second node.

Why did the Cluster Collapse?

I had moved all the Hyper-V machines onto the upgraded server, in readiness for upgrading the now Hyper-V VM empty Windows Server.  The upgrade was from 2016 to 2022.  The upgrade of the second Windows 2016 server to Server 2022 went well and it was believed all was stable and OK.  But all was not well.  The problem was that the first server to be upgraded was now no longer accessible.  It could not be pinged nor could you RDP onto it.  

In addition the cluster was unmanageable using the Failover Cluster Manager tool.  An error message indicated one of the nodes was not contactable.




So what had happened?  

Thankfully I was able to access the offending server using the ILO portal and was able to sign into Windows using a local administrator account.  I performed an iponfig command and realized that it now had an APIPA address.

An APIPA address is a self-assigned IPv4 address in the range 169.254.0.1 to 169.254.255.254 with a subnet mask of 255.255.0.0, used when a device cannot obtain an address from a DHCP server.


This was most unusual because the NIC was configured with a static address and not a DHCP address.  

I cannot be sure how this did occur.  Nevertheless I was able to duplicate the issue in my lab by shutting the cluster node down.  I then assigned its IP address to another network device.  I then powered on the node - this replicated this issue using DAD (Duplicate Address Detection).

The Repair

I could not just restart the server node because it had live Hyper-V machines on it.  And I could not risk right clicking on the server's production nick and disabling it - as I was not sure I would not lose connectivity altogether, and not be able to enable it again.  So I tried the Restart-NetAdapter PowerShell command.  In my lab the command was:

restart-netadapter -name "Ethernet"


Initially this command failed because I had not started the cmd console with admin permissions.  When I did start with admin rights, the command executed successfully and my node now had its proper IP Address.


This then allowed me to connect to the cluster using the Failover Cluster Manager Tool.


Conclusion

We know how procedures should work - but oftentimes they do not work as expected.  In live environments and under strict change control timeframes it is important to keep cool.  Examine the logs, protect whatever connectivity you do have and resolve the issue - try not to panic.  I hope you have enjoyed reading about my cluster upgrade issues - and I wish your own troubleshooting endeavors as much success.

Thursday, 20 August 2026

Join the HP ThinPro device to Active Directory

Introduction 

Indeed it has been some time since my last post, and now that I have a little reprieve from my busy work schedule - I thought why not write an article about my favorite subject: the great ThinPro linux based thin client device from HP. In this article I demonstrate how to join your device to a Microsoft Active Directory domain.

Joining the device to Active Directory

You will have to switch your ThinPro device into admin mode.  You can then open the Control Panel by clicking on the bottom left hand Start icon and selecting Control Panel. Click on the Manageability option.



The Active Directory blade is at the top of the list.  Enter in the Domain Name and select the Join the thin client to domain option.  If desired you can expand Advanced options and specify an OU to join - in this case I chose to leave this blank.



Click on Apply.  An information splash appears advising of a system reboot requirement.


Click on OK.  You are prompted to enter in your domain join credentials.



Click on OK.  The domain join process begins.


After about 30 seconds you are presented with a message and a requirement to reboot.




Click on OK to reboot the device.

You can now go into Active Directory Users and Computers and verify that your ThinPro device is now a member of your Active Directory.  In this case the ThinPro has been added to the Computers OU.


The Login experience for an AD joined ThinPro Device.

Now that the ThinPro device is a member of your domain, it does not just load straight into the desktop.  You are now required to enter in your AD credentials at startup.





Conclusion

The ThinPro device is a very secure solution.  Using the AD join feature will add an extra layer of security to your user's experience.  In addition, support staff will now be able to switch the device into Admin mode using an Active Directory administrator account and password, thus a single root administrator password does not need to be disseminated to multiple administrators.  I hope you have enjoyed this little post, and I wish you the same success in joining your ThinPro device to your Active Directory Domain.

Thursday, 16 April 2026

Provide HP ThinPro Internet Access using RRAS and NAT

Introduction

In this article I explain how to use Windows RRAS feature to allow your ThinPro device access to the internet.  In this scenario the ThinPro client is managed by HPDM installed on a HyperV Windows Server. The ThinPro device connects to a physical hub and that hub also has a connection to the HyperV host device (my laptop) via a USB ethernet adapter.  The HyperV host has two external virtual switches configured.  One switch provides the HPDM virtual machine with connectivity to this external hub and thus the HP ThinPro connected network.  The other switch provides the HPDM virtual server machine with WIFI access to the internet.  The HPDM server also provides the thin client with an IP address from a 10.10.10.0/24 DHCP scope.  It also provides a DNS service.  Thus we can use RRAS to provide the ThinPro device with access to the internet using NAT.

The Hyper-V Virtual Switches.

My laptop has two network adapters. I have a physical Realtek USB GbE Family Controller adapter and an Intel(R) Wi-Fi 6 AX200 adapter.  In Hyper-V switch manager I created two external switches based on these adapters.

The virtual switch based on the USB Ethernet adapter is called Private Lab Network and provides connectivity from the HPDM virtual machine server to the HP ThinPro physical device via a physical hub. On the server the adapter is called Ethernet 4 and has an IP address of 10.10.10.200


The virtual switch, based on the  Intel(R) Wi-Fi 6 AX200 adapter, is called Internet and provides connectivity to my Internet router.  On the HPDM server the connection is called Ethernet 5 and has an IP address of 192.168.1.235.


The Network Topology

The HP ThinPro physical device gets a 10.10.10.0/24 IP address, DNS and router address from DHCP on the HPDM server.  This gets routed through the physical USB ethernet adaptor.  The HPDM Hyper-V virtual Windows Server machine has a static IP address of 10.10.10.200/24 and thus is on the same same subnet as the physical HP ThinPro Server.  The HPDM server also has an IP address of 192.168.1.235 and thus is also on the same subnet of my Internet Router, whose address is 192.168.1.254.
We can see then that the HPDM virtual machine has access to two networks and therefore we can use it for Network Address Translation (NAT) as configured in the Routing and Remote Access Service feature installed on the HPDM Windows Server.

In summary, for the HP ThinPro network we have:

Detail

Configuration

Network ID

10.10.10.0

DHCP Range

10.10.10.20-10.10.10.40

DHPC Range Subnet Mask

255.255.255.0

Default Gateway

10.10.10.200

DNS Servers

192.168.1.254,10.10.10.200

HPDM Server

10.10.10.200


For the HPDM network we have:

Detail

Configuration

Network IDs

10.10.10.0, 192.168.1.0

DHCP Range

192.168.1.2-192.168.1.253

DHCP Range Subnet Mask

255.255.255.0

Default Gateway

192.168.1.254

DNS Servers

192.168.1.254,10.10.10.200

HPDM Server

10.10.10.200




The Routing and Remote Access Service (RRAS) Configuration.

Note: The following assumes you have already installed the RRAS feature on your HPDM server.

The first step to getting this working is to create two static routes - one for each network adapter on the virtual HPDM Hyper-V machine.


The next step is to Right click on IPv4 and select New Routing Protocol.  Follow the wizard to install the Routing Information Protocol (RIP).  Once this is done right click on RIP and select New Interface.  By doing this you can add both your Internet facing HPDM interface (Ethernet 5 in my case) and your HP ThinPro interface (Ethernet 4 in my case).  Configure the Neighbors properties so that the Use Neighbors in addition to broadcast and multicast option is selected.  Add the Default Gateways of each interface as shown.



Our next task is to add the  HP ThinPro private Interface (in my case Ethernet 4) and the HPDM Internet Interface (in my case Ethernet 5) to the NAT node.  

So for the private HP ThinPro Ethernet 4 network we have:

Private network for HP ThinPro configured as Private

For the HPDM public server network with access to the internet we have:

Public network on HPDM server configured for NAT and as a Public interface

Configure DHPC to deliver both DNS Server Addresses.

Your DHCP scope should be configured so that the HP ThinPro client gets both the internal DNS server address and the Internet Router's DNS address.



Conclusion

Provided you have followed the principles in the blog, your super secure HP ThinPro device should now be receiving internet content to its private network, routed through NAT on your HPDM Hyper-V Windows server.




I hope you have enjoyed this little blog, and I wish you similar success in configuring NAT for your HP ThinPro environment.






MECM PXE Boot issue - Don't blame the network!

Introduction The PXE boot function, when working, allows a provisioning engineer to initiate a build from a network prompt.  The engineer wi...