Custom Key Scan Code not working for F11 Key

361 views
Skip to first unread message

RamKumar

unread,
Apr 7, 2014, 8:23:35 AM4/7/14
to visua...@googlegroups.com
HI ,

 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.

My code :
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


Regards,
Ramkumar

RamKumar

unread,
Apr 8, 2014, 3:18:39 AM4/8/14
to visua...@googlegroups.com
Fixed the issue by adding below line in above code.

bcdedit.exe /SET {globalsettings} extendedinput 1
Reply all
Reply to author
Forward
0 new messages