This is my first post so be gentle with me
Project : Win7PE
Source OS : Windows 7 64bit.
I've created a Win7PE disc which amongst other things has TrueCrypt 7.1 on.
The PE Enviroment boots fine and all applications work fine. The only issue I have is that when I try to mount my laptops System Encrypted drive (Mount Without Pre-Boot Authentication) I receive the following error...

---------- For SEO ----------
Error: Cannot set the keyboard layout for TrueCrypt to the standard US keyboard layout.
Note that the password needs to be typed in the pre-boot environment (before Windows starts) where non-Us Windows keyboard layouts are not available. Therefore, the password must always be typed using the standard US Keyboard layout.
---------- For SEO ----------
When I started the Win7PE project I set Main Configuration -> System Locale to UK English (being from the UK it seemed a sensible thing to do!) so I flicked it back to "Default", rebuilt the project. The "Default Input Language" is now "English (United States) - US" but I still get the same error in TrueCrypt.
Delving a bit deeper I started SysInternal's ProcMon running and started monitoring TrueCrypt.exe while going though the process to use the "Mount Without Pre-Boot Authentication". ProcMon's log is full of attempts to access the following keys, but the result was always NOT FOUND
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CTF\TIP\{03B5835F-F03C-411B-9CE2-AA23E1171E36}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CTF\TIP\{07EB03D6-B001-41DF-9192-BF9B841EE71F}
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CTF\TIP\{3697C5FA-60DD-4B56-92D4-74A569205C16}
and so on...
There are also references to what I assume are the 32bit versions of these registry keys as well, for example...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{0000897b-83df-4b96-be07-0fb58b01c4a4}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{03B5835F-F03C-411B-9CE2-AA23E1171E36}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{07EB03D6-B001-41DF-9192-BF9B841EE71F}
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP\{3697C5FA-60DD-4B56-92D4-74A569205C16}
and so on...
As a test I exported everything from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CTF\TIP on my Windows 7 64bit machine to a .REG file and imported it inside a VM machine running my Win7PE but continue to receive the same error when attempting to "Mount Without Pre-Boot Authentication". Going back to my ProcMon log I noticed all attempts to find KBDUS.DLL where failing as well (even though it was in X:\WINDOWS\SYSTEM32) so I copied it the same directory as the TRUECRYPT.EXE which, looking at ProcMon again told my TrueCrypt was finding it but I continued to receive the same error when attempting to "Mount Without Pre-Boot Authentication". Googling I came across something which suggested I needed to copy files from my local C:\Windows\IME to my Win7PE's X:\Windows\IME which again I did (still in VM, manually - not during the build process) which also didn't solve my problem.
I'm sure that my simplistic approach of copying reg keys / files from my PC to a system running Win7PE is probably not the best approach - I was trying to identify the problem and find the solution, before then building an App script to take care of it during the build process.
Its probably worth mentioning at this point that I have used TypeCrypt's Mount Without Pre-Authentication process before under a PartPE disc using Windows XP and PE Builder so I know fundamentally the process works. I'm not sure if the issue is Windows 7 as a whole or because I'm using Windows 7 64bit. If I had a 32bit Windows 7 source I would try it! I need to move to Windows 7 as my XP BartPE disk has driver issues with newer hardware.
I'm not sure where to go from here. Any advice or pointers will be gratefully received!
Note : To reproduce the issue you must click Mount -> Mount Options -> Mount partition using system encryption without pre-boot authentication. Simply going to the System Menu and clicking "Mount Without Pre-Boot Authentication" doesn't make the error come up. It also doesn't allow you mount the drive, it claims the password is wrong. Googling I found a suggestion that if TrueCrypt can't swap to the US keyboard, it just attempts to mount it as an encrypted partition without Pre-Boot Authentication.








