No pre-boot keyboard or Windows Recovery environment detected.

No pre-boot keyboard or Windows Recovery environment detected.

I was working on a Task Sequence recently that involved enabling BitLocker and storing the keys in ActiveDirectory, all was going well until we started building Surface Pro 4 devices. The Task Sequence would fail with the error ‘No pre-boot keyboard or Windows Recovery environment detected.’

The error is caused because the Surface may not have a keyboard attached and the on screen keyboard could fail to function, preventing the user entering their BitLocker PIN or recovery information if needed.

To work around this we can simply edit the registry entry for OSEnablePrebootInputProtectorsOnSlates and setting the value to 1.

Of course we can do this in our Task Sequence before the Enable BitLocker step to automate the process.

Updating the task sequence

Add a new Run Command Line step and add the following:

reg.exe ADD “HKLM\Software\Policies\Microsoft\FVE” /v OSEnablePrebootInputProtectorsOnSlates /t REG_DWORD /d 1 /f

Adding this step will alow the Task Sequence to complete and to enable BitLocker successfully.

Enterprise Mobility Workshops - 24th November 2015 - London | 9:00am – 3:00pm

Leave a Reply

Your email address will not be published. Required fields are marked *