Jump to content

How to hexedit RecEnv.exe


Kullenen_Ask
 Share

Recommended Posts

Because of space issues i am removing other languages keyboard and .nls files from system32 folder. When i start recenv.exe it shows a list of keyboard options. Because of missing files if the user clicks on an absent language recenv.exe gives an error message and wants to reboot. How can i remove the keyboard options inside of the red square (There are also another languages at following pages). Explanation will be enough. I can use resource hacker and hexworkshop. I try zeroing some of de-de,zh-cn etc without luck.

vc9kv.png

Link to comment
Share on other sites


I've been started searching for this exact same thing for a couple of days now for DaRT 8.1 x64. I want to completely bypass the keyboard layout screen, or at the very least only show "US". But no luck so far. I though maybe if I added the follow three commands to winpeshl.ini in front of recenv.exe that it might do it, but I guess not:

  • %systemdrive%\windows\system32\wpeutil.exe SetKeyboardLayout 0409:00000409
  • %systemdrive%\windows\system32\wpeutil.exe SetMuiLanguage en-US
  • %systemdrive%\windows\system32\wpeutil.exe SetUserLocale en-US

Let me know if you ever figure it out.

dcc

Link to comment
Share on other sites

Because of space issues i am removing other languages keyboard and .nls files from system32 folder. When i start recenv.exe it shows a list of keyboard options.

Does it do this *because* you had removed files? I have not seen this screen before.

Link to comment
Share on other sites

Maybe you misunderstand me or my english not so perfect. That page is standart page when you run it in a normal system. It gives error when clicked on the other language options (inside red zone) because i deleted that languages from wim. Also bypass it can be a good option.

Edited by Kullenen_Ask
Link to comment
Share on other sites

Looking at the "recenv.exe.mui" en-us file on W7 winre.wim. I see this in DIALOG 107, maybe I would look in same dialog on new winre.wim. (resource hacker)

107 DIALOGEX 0, 0, 235, 120STYLE DS_SYSMODAL | DS_FIXEDSYS | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENUCAPTION "System Recovery Options"LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_USFONT 8, "MS Shell Dlg"{   CONTROL "Select a language:", 236, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 15, 215, 12    CONTROL "", 223, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 10, 30, 215, 15    CONTROL "Select a keyboard input method:", 237, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 10, 52, 215, 12    CONTROL "", 238, COMBOBOX, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 10, 65, 215, 15    CONTROL "&Next>", 1, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 121, 98, 50, 14    CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 98, 50, 14 }
Edited by MrJinje
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...