Share via


how to change the regional settings by batch file

Question

Sunday, September 10, 2017 9:01 AM

I am changing my system local settings continuously

What code should I put in the text file so I can change the local settings of the operating system for all Windows versions

Thank you for any help you can provide

All replies (3)

Sunday, September 10, 2017 10:15 AM | 1 vote

Hi mhmadesk 

You could use powershell to change the regional settings. The below script might work for you. 

https://gallery.technet.microsoft.com/scriptcenter/How-to-change-the-System-82479048

If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.


Monday, September 11, 2017 11:51 AM

thank you

but  I can not use the cods in batch file


Monday, September 11, 2017 2:14 PM | 1 vote

Hi Mhmadesk

You could use reg add command in a batch file to change the regional settings. Like the below. There are also other valuse under that reg key that can be edited to change time and date settings.

REG ADD "HKCU\Control Panel\International" /t REG_SZ /v LocaleName /d es-us /f

If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.