I have created Hard disk based Windows Recovery Option . I want Bind them with Key scan code F11. But its not working. I am able make it work for F10 but no help when i change Key scan code to F11. Any help or document will be very helpful.
bcdedit.exe /CREATE {ramdiskoptions} /d "Ramdisk Options"
bcdedit.exe /SET {ramdiskoptions} ramdisksdidevice partition=R:
bcdedit.exe /SET {ramdiskoptions} ramdisksdipath \Recovery\WindowsRE\boot.sdi
for /f "tokens=2 delims={}" %%g in ('bcdedit.exe /create /d "Win7 Recovery" /application osloader') do (set guid={%%g})
echo %guid%
bcdedit.exe /SET %guid% device ramdisk=[R:]\Recovery\windowsRE\Winre.wim,{ramdiskoptions}
bcdedit.exe /SET %guid% path \Windows\system32\winload.exe
bcdedit.exe /SET %guid% osdevice ramdisk=[R:]\Recovery\windowsRE\Winre.wim,{ramdiskoptions}
bcdedit.exe /SET %guid% systemroot \windows
bcdedit.exe /SET %guid% winpe yes
bcdedit.exe /SET %guid% detecthal yes
bcdedit.exe /SET %guid% nx OptIn
bcdedit.exe /SET {BOOTMGR} custom:0x54000001 %guid%
bcdedit.exe /SET {BOOTMGR} customactions 0x1000085000001 0x54000001