Hello;
i need to change some pc's regional settings with script. but i couldn't
find any kind of script to do..can you help me please??
Hello;
i need to change some pc's regional settings with script. but i couldn't
find any kind of script to do..can you help me please??
I don't know the keys. My normal approach to this is to export the current
user hive before and after the change and use a file compare tool.
The main problem is often updating the system to use them without a reboot.
Try searching for 'rundll' and regional settings as well. You can often use
rundll to do stuff normally handled via the Control Panel although often
there is some measure of unwanted UI.
--
Joe Fawcett (MVP - XML)
"gulerayh" <gulerayh@xxxxxx> wrote in message
news:2E80DB5C-A7D3-4B85-B59B-55D93BA11F38@xxxxxx
> Hello;
>
> i need to change some pc's regional settings with script. but i couldn't
> find any kind of script to do..can you help me please??
gulerayh wrote:hi Gulerayh,
> Hello;
>
> i need to change some pc's regional settings with script. but i couldn't
> find any kind of script to do..can you help me please??
What regional settings do you wish to change?
If you are looking to change the language and the way
dates and/or numbers are rendered, take a look at the
GetLocale/SetLocale methods in the scripting doc. Also,
you may wish to look at the "Locale ID (LCID) Chart",
(also included in the scripting documentation).
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)
thanks for replies.
i need to change "standarts and formats" part of regional settings from
turkish to english in a vbscript code..but finally i did it manually..so i
don't need any more..but thanks for your recomendations.
"David" wrote:
> for time zone information, try this for a logon script or use once for each machine you need to change:
> there are many extra settings in the reg key but we chose not to use them.
>
>
> 'read the pc's netbios name and go by the first 3 characters on the left part of the name:
> Set WshShell = CreateObject("Wscript.Shell")
> Set WshNetwork = WScript.CreateObject("WScript.Network")
>
> if left(WshNetwork.ComputerName,3) = "eas" then
> WshShell.Run"regedit /s \\server\share\east.reg",1, true
> elseif left(WshNetwork.ComputerName,3) = "wes" then
> WshShell.Run"regedit /s \\server\share\west.reg",1, true
> elseif left(WshNetwork.ComputerName,3) = "nor" then
> WshShell.Run"regedit /s \\server\share\north.reg",1, true
> elseif left(WshNetwork.ComputerName,3) = "sou" then
> WshShell.Run"regedit /s \\server\share\south.reg",1, true
> end if
>
> For each time zone file we call the reg file for that zone silently..
> hint: you can "export" the reg key listed for each time zone into it's own file
>
> cst.reg is:
>
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
> "Bias"=dword:00000168
> "StandardName"="Central Standard Time"
> "StandardBias"=dword:00000000
> "StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
> "DaylightName"="Central Daylight Time"
> "DaylightBias"=dword:ffffffc4
> "DaylightStart"=hex:00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
> "ActiveTimeBias"=dword:0000012c
>
>
>
> "gulerayh" <gulerayh@xxxxxx> wrote in message news:2E80DB5C-A7D3-4B85-B59B-55D93BA11F38@xxxxxx
> > Hello;
> >
> > i need to change some pc's regional settings with script. but i couldn't
> > find any kind of script to do..can you help me please??
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| regional settings details | arno | VB Script | 0 | 19 Aug 2009 |
| REGIONAL SETTINGS PROBLEM | Simon | Vista installation & setup | 0 | 05 Jan 2008 |
| changing regional settings to play multi regional dvds | lesley | Vista account administration | 0 | 16 Nov 2007 |
| WDS regional settings unattend | Chebarushka | Vista General | 0 | 07 Aug 2007 |
| regional settings | Tz | Vista General | 2 | 09 Feb 2007 |