![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | changing regional settings with vbscript 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?? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: changing regional settings with vbscript 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 Quote: > 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?? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: changing regional settings with vbscript gulerayh wrote: Quote: > 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) |
My System Specs![]() |
| | #4 (permalink) |
| | Re: changing regional settings with vbscript 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: Quote: > 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 Quote: > > 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?? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| regional settings details | VB Script | |||
| REGIONAL SETTINGS PROBLEM | Vista installation & setup | |||
| changing regional settings to play multi regional dvds | Vista account administration | |||
| WDS regional settings unattend | Vista General | |||
| regional settings | Vista General | |||