Jump to content

Recommended Posts

Posted

Hi Everyone,

I'm not very familiar with WinPE, so maybe this can't be done...

But I'm trying to implement an option to change the keyboard input language in WinXP-PE-v5.1.2600 by modifying the registry and rebooting. I heard somewhere that Vista PE allows for this kind of change, "on the fly", but unfortunately, I'm limited to XP PE for now.

I have an autoit script that scans the reg key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts

...for available languages, populates a drop menu allowing the user to select a language, writes the selection to the following two keys:

HKEY_CURRENT_USER\Keyboard Layout\Preload

HKEY_USERS\.DEFAULT\Keyboard Layout\Preload

...then reboots... presumably with the new input language in effect.

Trouble is, after a reboot the registry seems to be refreshed and the new setting doesn't keep. Can anyone recommend a more suitable method for doing this than modifying the registry? Is there a deeper source for registry settings that I can get to before the registry is initialized?

Thanks for any assistance...

kevlar


Posted

Yes, the changes do not stay because you are editing the registry on the Ramdrive. You should try to load the hive(s) for your source, and make these changes.

I am not familiar with working with Win PE 1.x versions, so I do not know if it even has a hive to edit.

Posted

Thanks for the quick response... I guess the trick now is determining where to load the hive from...

anybody?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...