How to change the Regional setting from "User Group" user?

Posted on 2008-10-17
Medium Priority
Last Modified: 2012-05-05

I am tring to change the "Regional Options and Languages" on client machine when the "User Group" user is logged in. I am trying to do that in MFC. I am getting problem in getting the rights for changing the setting.
For Installation I am planning to use Inno Setup. If we change these setting from Inno setup then even that is also ok.
Question by:swap811
LVL 14

Accepted Solution

canali earned 1500 total points
ID: 22747913
Your clients are in a domain or are standalone ?
If you have a domain you ca use a logon script... (or put it in the "start up" folder for stand alone pc)
Export the registry keys HKEY_CURRENT_USER\Control Panel\International  in ex. regional.reg
then create a logon script like this
:: need regional.reg in the same folder
:: change regional settings for the user "User Group"
if /I [%username%]==[User Group] regedit /s %0\..\regional.reg
:: end batch  chgRegional.cmd

Author Comment

ID: 22755266
Thanks buddy. Let me try it out.

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question