WinpeStartup Core: Modify the WinPE Registry with a .reg File
Apply WinPE registry settings from a .reg file in the shared WinpeStartup Core main folder.
Add a .reg file to the shared WinpeStartup Core main folder to apply registry settings when WinPE starts.
Apply Registry Settings
1
2
Add a .reg File
Create a standard Windows Registry Editor .reg file. This example adds a value under HKLM\SOFTWARE\Contoso\WinPE:
@'
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Contoso\WinPE]
"BuildTag"="BranchOffice"
'@ | Set-Content -LiteralPath (Join-Path $MainDirectory 'Contoso.reg') -Encoding utf8Replace the example key and value with the settings required by your WinPE workflow.
PreviousWinpeStartup Core: Add WinPE Environment Variables with a .env File
NextWinpeStartup Core: Import a WinPE Root Certificate with a .cer File
Last updated
Was this helpful?

