Jump to content

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


Recommended Posts

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]

Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...