OS Deployment - Freeze

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 22, 2026 - 3:20 PM

Yes, it does exist
Screenshot 2026-01-22 151939.png
Screenshot 2026-01-22 151939.png (13.38 KB) Viewed 12860 times
My DHCP:
Screenshot 2026-01-22 152350.png
Screenshot 2026-01-22 152350.png (10.02 KB) Viewed 12858 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 22, 2026 - 4:40 PM

In the DHCP settings, what about the `snponly_custom` option that was just manually created?
Did you correctly re-enter the " -UserClass NE,iPXE -VendorClass NE,legacy_bios*"?

Alternatively, using PowerShell:

Code: Select all

Add-DhcpServerv4Policy -Name "snponly_custom.efi" -Condition AND -UserClass NE,iPXE -VendorClass NE,legacy_bios*
Set-DhcpServerv4OptionValue -PolicyName "snponly_custom.efi" -OptionID 67 -Value "snponly_custom.efi"
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 22, 2026 - 4:41 PM

Created manually with the following options:
Conditions: AND
User Class NEq iPXE
Provider Class NEq PXEClient (BIOS x86 & x64)*
Option 066: @WAPT server IP
Option 067: snponly_custom.efi
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 23, 2026 - 07:48

sfonteneau wrote: January 22, 2026 - 4:40 PM

Code: Select all

Add-DhcpServerv4Policy -Name "snponly_custom.efi" -Condition AND -UserClass NE,iPXE -VendorClass NE,legacy_bios*
Set-DhcpServerv4OptionValue -PolicyName "snponly_custom.efi" -OptionID 67 -Value "snponly_custom.efi"
I deleted my manual registration and tried to place your order:
Add-DhcpServerv4Policy: The specified Vendor legacy_bios class does not exist on DHCP server SRV-XX.
At character Line:1 : 1
+ Add-DhcpServerv4Policy -Name "snponly_custom.efi" -Condition AND -Use ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: ObjectNotFound: (SRV-XX:root/Microsoft/...pServerv4Policy) [Add-DhcpServerv4Policy], CimException
+ FullyQualifiedErrorId: DHCP 20044,Add-DhcpServerv4Policy
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 23, 2026 - 10:16

This means that your legacy_bios class does not exist (did you not follow the original documentation?)

Code: Select all

# Define DHCP Classes
Add-DhcpServerv4Class -Name "legacy_bios" -Type Vendor -Data "PXEClient:Arch:00000" -ErrorAction SilentlyContinue
Add-DhcpServerv4Class -Name "iPXE" -Type User -Data "iPXE" -ErrorAction SilentlyContinue
clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 23, 2026 - 11:15

The DHCP declaration was made by the technician during the setup of the WAPT server by COMIT.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 23, 2026 - 11:41

Perhaps it's simply that the "vendor" class doesn't have the name "legacy_bios"
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 27, 2026 - 4:46 PM

After troubleshooting over the phone, it appears the problem stems from a PC lacking "Microsoft Windows Production PCA 2011" (secure boot)

You would need to confirm on the PC that this is indeed the case using the PowerShell command as administrator:

Code: Select all

[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft Windows Production PCA 2011'
Can you check?

This was planned, and therefore the new version of Wapt allows you to create a WinPE with CA 2023 (latest version)


However, WinPE will not be visible on older models that do not have "Microsoft Windows Production PCA 2011"

This small package allows you to try and get the old PC to install CA 2023:

Code: Select all

def install():
    registry_set(HKEY_LOCAL_MACHINE,r'SYSTEM\CurrentControlSet\Control\SecureBoot','AvailableUpdates',64)
    run_task(r'\Microsoft\Windows\PI\Secure-Boot-Update')             

def audit():
    if not run_powershell("Confirm-SecureBootUEFI"):
        print("secure boot not enable")
        return "OK"
    if run_powershell(r"[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'"):
        return "OK"
    else:
        print('Windows UEFI CA 2023 not found')
        return "ERROR"

clafon
Messages: 109
Registration: Nov 06, 2024 - 10:56

January 28, 2026 - 4:02 PM

So, to summarize:

to be launched on one of the new positions:

Code: Select all

[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft Windows Production PCA 2011'
on one of the old workstations, make a package with:

Code: Select all

def install():
    registry_set(HKEY_LOCAL_MACHINE,r'SYSTEM\CurrentControlSet\Control\SecureBoot','AvailableUpdates',64)
    run_task(r'\Microsoft\Windows\PI\Secure-Boot-Update')             

def audit():
    if not run_powershell("Confirm-SecureBootUEFI"):
        print("secure boot not enable")
        return "OK"
    if run_powershell(r"[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Windows UEFI CA 2023'"):
        return "OK"
    else:
        print('Windows UEFI CA 2023 not found')
        return "ERROR"
and see if it installs properly?
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 28, 2026 - 4:33 PM

Actually, the first step is just to check what it returns:

Code: Select all

[System.Text.Encoding]::ASCII.GetString((Get-SecureBootUEFI db).bytes) -match 'Microsoft Windows Production PCA 2011'
On your PC

I assume your new PC doesn't have "Microsoft Windows Production PCA 2011"
Answer