Tag Archives: windows 7

Enabling BitLocker fails with “BitLocker Setup could not find a target system drive. You may need to manually prepare your drive for BitLocker”

Windows_7_Logo

My workplace has finally decided to start encrypting their mobile devices with BitLocker. After number of laptops completed successfully (and without any major issues) today we have hit problems when BitLocker wizard would fail with the following message:

“BitLocker Setup could not find a target system drive. You may need to manually prepare your drive for BitLocker”

Enabling_BitLocker_fails_with_BitLocker_Setup_could_not_find_a_target_system_drive_You_may_need_to_manually_prepare_your_drive_for_BitLocker_1

So far only one machine was affected but there could easily be others. Solution to this issue was not immediately obvious but its essentially due to Windows (or BitLocker wizard) not being able to shrink the drive to create the system partition that’s required for BitLocker (there was only one partition). Trying to manually shrink the drive using Disk Management would not work too as “Size of available shrink space in MB:” was equaling to 0:

Enabling_BitLocker_fails_with_BitLocker_Setup_could_not_find_a_target_system_drive_You_may_need_to_manually_prepare_your_drive_for_BitLocker_2

Now this number was showing 44MB before I ran Windows Defrag tool but now is 0MB meaning you cannot shrink the drive at all (not even by 1MB!) In Windows Explorer, internal hard drive was showing 120GB in size with roughly 60GB free so there was plenty of free disk space available in order to re-size the partitions.

Two quick fixes that were applied to finally resolve this are as follows:

  • Since the problematic machine was a laptop (Dell Latitude E6230) hibernation was turned off (powercfg -h off in command line)
  • System Restore points were also deleted (cleanmgr is the command, then More Options tab, System Restore and Shadow Copies and Clean up)
  • After this I re-run BitLocker drive encryption wizard and all was happy again!

    Side note – trying to manually prep the drive using bdehdcfg i.e. bdehdcfg -target c: shrink -size 300 -quiet -restart was not working too.

    Changing Windows 7 system locale for non-Unicode programs

    Changing Windows 7 system locale for non-Unicode programs in registry

    Something rather strange crept up today and its do to with non-Unicode language settings in Windows 7 which weren’t working properly. Basically some of our printers didn’t print barcodes properly and after some extensive troubleshooting the culprit was language in Windows that was set to English (United States) instead of English (United Kingdom) You can find system locale settings for non-Unicode programs under:

    Changing_Windows_7_system_locale_for_non-Unicode_programs_in_registry_2

    Continue reading