Solved

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

Posted on 2008-10-17
2
639 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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…

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now