How saya147/-alls-hx2-tpm-bitlocker-restore- works
This repository is a field-maintenance guide and script set for recovering an Alls HX2 GS1 system from repeated BitLocker recovery prompts after a TPM mismatch. The documented workflow unlocks and edits the disk offline, boots to a desktop, obtains an UpdateUser PowerShell session, disables UWF, rebinds the TPM, then restores the original shell and UWF. The graph follows README-described actions; no source excerpts were available, so script internals beyond those descriptions are not inferred.
Main entry points: RunPowerShellAsUpdateUser.bat UpdateUser Launcher · RestoreShellAndEnableUWF.ps1 Shell And UWF Restore · unlockN.ps1 N: Drive Unlock · 注册表修改器.exe Registry Editor
Components 20
Offline Recovery
- GS1 System Disk
- BitLocker Recovery
- Registry Editor
注册表修改器.exe - Offline Registry Hives
- Boot Shell Settings
- Keyboard Filter
- Windows Boot
Maintenance Session
- AppUser Desktop
- UpdateUser Launcher
RunPowerShellAsUpdateUser.bat - UpdateUser Password File
- UpdateUser PowerShell
TPM Repair
- UWF Filter
- C: BitLocker Volume
- Machine TPM
- System Restart
System Restore
- Shell And UWF Restore
RestoreShellAndEnableUWF.ps1 - SEGA Boot Shell
- N: Drive Unlock
unlockN.ps1 - System Key File
Other components
- Technician
Connections 25
- Technician → BitLocker Recovery: enters recovery key
- BitLocker Recovery → GS1 System Disk: unlocks
- Technician → Registry Editor: opens hives
- Registry Editor → Offline Registry Hives: reads and saves
- Technician → Boot Shell Settings: sets explorer shell
- Technician → Keyboard Filter: deletes filter key
- Offline Registry Hives → Boot Shell Settings: contains settings
- Offline Registry Hives → Keyboard Filter: contains key
- Boot Shell Settings → Windows Boot: selects shell
- Windows Boot → AppUser Desktop: opens desktop
- AppUser Desktop → UpdateUser Launcher: runs
- UpdateUser Launcher → UpdateUser Password File: reads password
- UpdateUser Launcher → UpdateUser PowerShell: launches as user
- UpdateUser PowerShell → UWF Filter: disables filter
- UpdateUser PowerShell → C: BitLocker Volume: removes TPM protector
- UpdateUser PowerShell → Machine TPM: adds TPM protector
- UpdateUser PowerShell → System Restart: restarts system
- System Restart → Windows Boot: boots again
- Technician → Shell And UWF Restore: runs after repair
- Shell And UWF Restore → Boot Shell Settings: restores shell
- Shell And UWF Restore → UWF Filter: enables filter
- Boot Shell Settings → SEGA Boot Shell: starts normally
- Technician → N: Drive Unlock: optionally runs
- N: Drive Unlock → System Key File: reads key
- N: Drive Unlock → GS1 System Disk: unlocks N drive