OS: Windows 7 64-bit
I have a machine that has had it's "Region and Language" settings all set to "Canada". What I need to do is change all those settings to revert back to the default of "United States". The tricky thing is that I would like to create a script that can do this as I expect to run into more machines with this issue. I don't want to have to manually modify through the GUI on every machine.
On the following tabs I need to do....
Region and Language (Format)-
where it says "Format" I need that changed to "English (United States)"
Region and Language (Location)-
I need "Current Location" set to "United States"
Region and Language - Text Services and Input Language (General)-
I need to delete all other keyboard language except for "English (United States) - US"
Region and Language (Administrative)-
Here I believe that "non-Unicode programs" will also have to be set to "English (United States)"
(Sorry I had screenshots for all of the above but I am not allowed to post them)
So far what I have found is this from Microsoft that shows you an xml file that can be created to modify the settings above
Problem is that the only xml example from the link that appears to be working properly is the one for adding and setting a keyboard language as default. I have tried some of the other examples but they do not appear to be working. (working example - but Canadian keyboard not deleted ):
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<!--User List-->
<gs:UserList>
<gs:User UserID="Current"/>
</gs:UserList>
<!--input preferences-->
<gs:InputPreferences>
<!--en-US-->
<gs:InputLanguageID Action="add" ID="0409:00000409" Default="true"/>
<!--en-CANADA-->
<gs:InputLanguageID Action="remove" ID="1009:00001009"/>
</gs:InputPreferences>
</gs:GlobalizationServices>
The code above will add in the United States keyboard language if it doesn't exist and then set it as default, but unfortunately I can't get it to delete the Canadian keyboard language.
I was wondering if anyone else has a method for change all these settings? Perhaps there is something easy I have overlooked. As it stands now though I am stumped.
Any help would greatly be appreciated!