PeterAtkin Posted May 8, 2010 Share Posted May 8, 2010 (edited) I am currently making a simple OEM and Basic Setting script that wil be used on new systems that are not connected to a domain. I been having several issues trying to get the location to change via programmic means without user intervention. I can bring up the page within the contol panel that I want to change but can't find my way beyond this: 2 such items I wish to change this way are. C:\Windows\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"Location" I would like to change the current option what ever it maybe to 'Uganda' C:\Windows\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"Formats" I would like to change the current option what ever it maybe to 'English (United Kingdom)' Anyone any hints, I've been at the for a day or two and still no closer.. Edited May 8, 2010 by PeterAtkin [topic='115020'] AD Domain Logon Script[/topic] Link to comment Share on other sites More sharing options...
60aside Posted May 8, 2010 Share Posted May 8, 2010 to set regional settings I copy a text file to c:\system32 - in this case RegOptsUK.txt Then run :- RunDLL32.exe Shell32,Control_RunDLL Intl.cpl,,/f:"c:\windows\system32\RegOptsUK.txt" contents of RegOptsUK.txt :- [RegionalSettings] LanguageGroup=1 SystemLocale=00000809 UserLocale=00000809 InputLocale=0809:00000809 UserLocale_DefaultUser=00000809 InputLocale_DefaultUser=0809:00000809 MUILanguage=00000809 MuiLanguage_DefaultUser=00000809 You should be able to change this to your requirements and even put it into an autoit exe if required. Link to comment Share on other sites More sharing options...
PeterAtkin Posted May 9, 2010 Author Share Posted May 9, 2010 Thanks for that It seems that is only valid for XP/2000 but its put me on the right track.. again thanks.. [topic='115020'] AD Domain Logon Script[/topic] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now