I have deployed image window 7 image with factory reset on separate partition. I am able to recover the solution to factory fresh install but the problem i see here is after recovering to full reset. After booting when OOBE is starting , In case this OOBE is disturbed like power down or any manual interruption. On Next boot window installation error pops up and also Function boot key which i set using ReAgentc.exe also not working. I get Window Error Recovery
During this time Fn Key[F11 using ReAgentc.exxe) I have configured for Windows Recovery is not working.
Implementation Detail:
Installing OS:
- create partition
- par 1 = Recovery partition = Label(R),set iD=27
- System Boot partition = Label(S)
- Window partition = label(W)
- Copy Image to Recovery partition == R:\Recovery\WindowsRE\Install.wim,WinRe.Wim and Boot.sdi
- Apply Image to W:\ using Image X tool
- setting boot path W:\windows
- Setting Recovery option to Fn11 key
W:\Windows\System32\ReAgentc.exe /SetReImage /Target W:\Windows /Path R:\Recovery\WindowsRE /BootKey 0x8500
W:\Windows\System32\ReAgentc.exe /SetOsImage /Target W:\Windows /Path R:\Recovery\WindowsRE
Factory Resetting Implementation:
- Assign back all label to respective partition
- format Drive W:\ and apply Install.wim from R:\Recovery\WindowsRE using Imagex tool
3.Deleting Boot Enviroment W:\Windows\System32\Bcdboot.exe W:\windows /l EN-US /s S:- Setting Recovery
W:\Windows\System32\ReAgentc.exe /SetReImage /Target W:\Windows /Path R:\Recovery\WindowsRE /BootKey 0x8500
W:\Windows\System32\ReAgentc.exe /SetOsImage /Target W:\Windows /Path R:\Recovery\WindowsRE
5.Shutdown
Steps to repro:
- Setting Recovery
- Install Factory Setting by pressing F11
- During OOBE , Plug out the power.
Issue. Recovery partion is not accessible using registered Function Key F11
Any help will be great help
Best Answer
I used below code to fix or activate Recovery Sequence before OOBE