Dear,

The way of changing keyboard language layout can be done during a
system startup. We must also made a change from UK to US keyboard.
We only following changes to registry
code:
REGEDIT4

[HKEY_USERS\.Default\keyboard layout\toggle]
@="1"

[HKEY_CURRENT_USER\keyboard layout\toggle]
@="1"

[HKEY_USERS\.Default\keyboard layout\preload\1]
@="00000409"

[HKEY_USERS\.Default\keyboard layout\preload\2]
@="00000809"

; keyb us: 409=us 809=uk

Important which "keyboard layout" will load as first one. By adding following
statements
copy \\server\netlogon\keyb-us.reg c:\keyb-us.reg
regedit c:\keyb-us.reg
to "autoexec.bat" file.

The parameters of none-windows versions of REGEDIT are:
code:
Imports and exports registry files to and from the registry.

REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2

/L:system Specifies the location of the SYSTEM.DAT file.
/R:user Specifies the location of the USER.DAT file.
filename1 Specifies the file(s) to import into the registry.
/C filename2 Specifies the file to create the registry from.
/E filename3 Specifies the file to export the registry to.
regpath1 Specifies the starting registry key to export from.
(Defaults to exporting the entire registry).
/D regpath2 Specifies the registry key to delete.

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA