What we're trying to do is change the Language and Region Format for multiple users with one command or some type of script that we can load into a scehduled task.
We need to switch back and forth between English and Polish a couple times per day to accomodate some application testing. Becomes a cumbersome process to do by hand for each user.
So far we've tried:
However, this command is not working for current user, the syntax appears accurate as far as we checked.
We need it to use this command or similar to change for all users.
control.exe intl.cpl,, /f:"C:\setpolish.xml"
XML is below:
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<!--User List-->
<gs:UserList>
<gs:User UserID="Current"/>
</gs:UserList>
<!—Display Language-->
<gs:MUILanguagePreferences>
<gs:MUILanguage Value="pl-PL"/>
<gs:MUIFallback Value="en-US"/>
</gs:MUILanguagePreferences>
<!--User Locale-->
<gs:UserLocale>
<gs:Locale Name="pl-PL" SetAsCurrent="true"/>
</gs:UserLocale>
</gs:GlobalizationServices>
We need to switch back and forth between English and Polish a couple times per day to accomodate some application testing. Becomes a cumbersome process to do by hand for each user.
So far we've tried:
However, this command is not working for current user, the syntax appears accurate as far as we checked.
We need it to use this command or similar to change for all users.
control.exe intl.cpl,, /f:"C:\setpolish.xml"
XML is below:
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<!--User List-->
<gs:UserList>
<gs:User UserID="Current"/>
</gs:UserList>
<!—Display Language-->
<gs:MUILanguagePreferences>
<gs:MUILanguage Value="pl-PL"/>
<gs:MUIFallback Value="en-US"/>
</gs:MUILanguagePreferences>
<!--User Locale-->
<gs:UserLocale>
<gs:Locale Name="pl-PL" SetAsCurrent="true"/>
</gs:UserLocale>
</gs:GlobalizationServices>
My Computer
- Computer type
- PC/Desktop
- OS
- Windows 7 Enterprise