Automatically change regional settings
Dear Colleagues,
Any idea how to change regional and language settings using a script??
Windows Forum
Dear Colleagues,
Any idea how to change regional and language settings using a script??
by rewrite
Is there a need to have a script? Changing these settings can be accomplished through the Input Locale switcher. Check here for instructions:
http://www.library.georgetown.edu/dept/gelardin/guides/multilanguage/multilanguage.htm
Cheers.
RW
by williamoshea
Poster rated this answer.
by williamoshea
The thing is my users do not have access to control panel icons (i.e they are disabled by design), but I would want to incorporate a logon script that checks to see if the (date format, currency, keyboard settings etc) is set to UK, and if not, change them.
plaese help, help!!!
by rewrite
Since the users do not have access to the control panel they cannot be admins. Due to this, a script will not work because they will not have access to make registry changes (on a stand-alone pc).
If they are logging on to a network you should be able to accomplish this through group policies. If they are not logging on to a network then they cannot change the locale anyway so you should be able to set it and forget it.
A script won't work because the user will have to be logged on to apply the proper profile. You could write a custom app after the login script on a network to check the current profile and make the appropriate changes but it would need to run under an administrators account.
Cheers.
RW
by charicool07
'======================Set Languages============================================
strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Keyboard Layout\Preload"
objRegistry.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValueNames
i = 0
For i=UBound(arrValueNames) + 1 To 1 step -1
strKeyPath = "Keyboard Layout\Preload"
strValueName = i
objRegistry.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue
wshShell.run("Setlocale.exe" &" "& strValue)
Next
You must download the setlocale.exe application and put it on the network share with the read and execute permissions for your users.
This discussion is closed to new replies.
Sort by Trending