Jump to content
Sign in to follow this  
PeterAtkin

How can I set the location within control panel without user intervention

Recommended Posts

PeterAtkin

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 by PeterAtkin

[topic='115020'] AD Domain Logon Script[/topic]

Share this post


Link to post
Share on other sites
60aside

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.

Share this post


Link to post
Share on other sites
PeterAtkin

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×