Solved

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

Posted on 2008-10-17
2
646 Views
Last Modified: 2012-05-05
Hi,

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.
Regional-Settings.JPG
0
Comment
Question by:swap811
2 Comments
 
LVL 14

Accepted Solution

by:
canali earned 500 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
::chgRegional.cmd
:: 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
0
 

Author Comment

by:swap811
ID: 22755266
Thanks buddy. Let me try it out.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

749 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