How to change system default regional settings in windows XP?
Solution 1
There is no documented way to do that.
A quick look in the Regional Settings Applet dll shows that it calls a totally undocumented API: NlsUpdateSystemLocale().
Why do you want to do that? Do you want to control the locale of a service of yours? Then let your service run under a user account you control.
Solution 2
This was helpfull for me "Apply regional and language settings to reserved accounts".
In short (Windows 7): Open "Region and Language" dialog, then click the "Administrative" tab, and then click "Copy settings...", select "Welcome screen and system accounts", OK.
Solution 3
Could you not use regedt32 on a machine and make all the correct settings...then export the International folder by right clicking and export the reg file.
you can manually edit the exported reg file if you dont need all the settings
then you can run that reg file on a new machine to import the registry keys etc?
Solution 4
Not so easy.
Fast way: define a specific user to run the service, logon with that user, set the regional settings, run the service.
Related videos on Youtube
AndrewK
Updated on January 13, 2020Comments
-
AndrewK over 4 years
How can I change the system-default regional settings in windows XP for use by services (run by the system user)?
Regional and Language Options in the control panel modify the settings for the logged-in user. However, services don't use the user's settings - they use the system settings. I know that they can be found in the registry here:
HKEY_USERS\.DEFAULT\Control Panel\International
My question is: What mechanism is there for changing the system-language/date/etc from en-us to en-gb?
-
Dan over 13 yearsShame this isn't available in older versions :-(
-
Matt Miller about 11 yearsThis helped me fix the regional settings for my NETWORK / IIS account. Thanks!!