Interactive hardware hash upload
Interactive hardware hash upload stages a lightweight OOBE assistant that lets a technician authenticate and upload the device hardware hash after Windows has been applied.
Use this mode when the enterprise blocks the zero-touch app-registration certificate model, but a technician can sign in during OOBE with an account allowed to import Windows Autopilot devices.
What this mode does
Foundry Deploy does not upload the hash in WinPE. Instead, it stages the registration assistant into the applied Windows image.
When Windows reaches OOBE, the assistant opens automatically. It:
- Requests a Microsoft device-code sign-in.
- Displays the device code and countdown.
- Refreshes the code automatically if it expires.
- Loads existing group tags visible in the tenant.
- Lets the technician select None, an existing group tag, or Custom.
- Collects the hardware hash from Windows.
- Uploads the device hardware hash to Microsoft Intune.
- Waits for device registration.
- Restarts the device after successful registration.
Requirements
You need:
- Foundry media configured for Interactive hardware hash upload.
- Internet access during Windows OOBE. Ethernet or already-available network connectivity is recommended because the assistant starts before normal OOBE completion.
- A technician account allowed to import Windows Autopilot devices.
- A tenant administrator who can grant consent for the delegated Microsoft Graph permission
DeviceManagementServiceConfig.ReadWrite.All.
No tenant connection is required in Foundry OSD for this mode. No certificate, PFX, or group tag is selected in Foundry OSD.
Configure Foundry OSD
- Open Foundry OSD.
- In the navigation menu, under Expert Mode, select Autopilot.
- Enable Autopilot.
- Select Interactive hardware hash upload.
Confirm that Foundry OSD does not ask for tenant sign-in, certificate creation, PFX selection, or group tag selection for this mode.
Add a Foundry OSD screenshot showing Interactive hardware hash upload selected and no tenant/PFX/group-tag configuration card.
Build the media
Build ISO or USB media normally.
The generated deploy configuration uses:
{
"provisioningMode": "interactiveHardwareHashUpload"
}
No PFX secret is required for this mode.
Foundry Deploy stages the OOBE launcher, ServiceUI, foreground wrapper, PowerShell assistant, logo assets, and runtime configuration into the applied Windows image.
Deploy the device
- Boot the target device from the generated media.
- Wait for Foundry Connect to report Network ready.
- Continue to Foundry Deploy.
- Review the Target page.
- Confirm that the Autopilot mode is interactive hardware hash upload.
- Complete the normal deployment workflow.
During the Autopilot provisioning step, Foundry Deploy stages the OOBE assistant into the applied Windows image. It does not perform the hardware hash upload in WinPE.
Add a Foundry Deploy summary screenshot showing the interactive Autopilot mode before deployment starts.
Sign in during OOBE
When Windows enters OOBE, the Foundry assistant opens automatically. If network connectivity is not ready yet, the assistant waits and retries the Microsoft sign-in code request.
The first screen shows:
- Foundry logo.
- Foundry OSD - Sign in to Microsoft header.
- Instructions to open
https://microsoft.com/devicelogin. - The current device-code value.
- A countdown showing the remaining code lifetime.
Add a screenshot of the authentication step with the device code visible. Redact or use a test code if needed.
Sign in on another device with an account allowed to import Windows Autopilot devices.
If the device code expires, Foundry requests a new code and updates the screen automatically.
Choose the group tag and upload
After authentication succeeds, the assistant switches to the upload screen.
The upload screen shows:
- Foundry logo.
- Foundry OSD - Upload hardware hash header.
- Group tag selector.
- Disabled custom group tag field until Custom is selected.
- Status text.
- Progress bar.
- Upload button.
Choose:
- None to upload without a group tag.
- An existing group tag discovered from the tenant.
- Custom to type a group tag manually.
Then select Upload.
Add a screenshot of the group tag and upload step with a test tenant group tag list.
What happens after upload
After Upload, Foundry disables the controls and runs:
- Collecting hardware hash.
- Uploading hardware hash to Microsoft Intune.
- Waiting for device registration in Microsoft Intune.
- Updating the group tag if the device already exists or needs reconciliation.
- Registration completed.
- Restarting countdown.
After the countdown reaches zero, Foundry restarts the device.
Expected final result
In Microsoft Intune admin center, open Devices > Enrollment > Windows Autopilot devices.
Confirm that the device serial number appears and that the selected group tag is applied.
After restart, Windows returns to the normal OOBE flow.
Logs and validation
The assistant is staged under:
<target Windows>\Windows\Temp\Foundry\AutopilotRegistration
Logs are written under:
<target Windows>\Windows\Temp\Foundry\Logs\AutopilotRegistration
Useful files include:
| File | Use |
|---|---|
registration.log | Main assistant flow |
graph.log | Microsoft Graph request failures |
OOBE.log | Windows OOBE launcher call |
oobe-launcher.log | OOBE launcher startup |
oobe-waiter.log | OOBE session wait and ServiceUI launch |
oobe-sessiondiag.log | Session and process diagnostics |
foreground.log | OOBE foreground preparation |
launcher.log | Manual recovery launcher flow, when used |
registration-state.json | Current assistant state |
registration-result.json | Final assistant result |
Next steps
- Open Troubleshooting if the assistant does not appear, authentication fails, group tags are missing, or upload fails.
- Open Zero-touch Hardware Hash Upload when you want upload without technician sign-in.