Solved

How do I create a script to change the Reginal Settings options?

Posted on 2004-10-11
3
156 Views
Last Modified: 2012-05-05
I need to create a script to change the reginonal settings option on the time to show default values of AM and PM symbols to nothing?

Can anyone shed dome light please?

Thanks
0
Comment
Question by:mo9162
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Longbow earned 500 total points
ID: 12275357
AM & PM for Default users - save the 6 next lines in a AMPMDef.reg :
REGEDIT4

[HKEY_USERS\.DEFAULT\Control Panel\International]
"s1159"=""
"s2359"=""

AM & PM for Current user - save the 6 next lines in AMPMCur.reg :
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\International]
"s1159"=""
"s2359"=""

Run the next command to apply the new settings :
regedit /s AMPMDef.reg
or
regedit /s AMPMCur.reg

Maybe you need to reboot.
I can't test more now. Im not on my own computer.

You can open Control Panel / Regional Settings / Time
and check after applying the .reg file. The settings will change.
0
 

Author Comment

by:mo9162
ID: 12276312
Thanks worked first time and no reboot needed. Brillaint Work!
0
 
LVL 10

Expert Comment

by:Longbow
ID: 12277417
You are right.
I only had Win NT4 to do the job.
;-)
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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

947 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

17 Experts available now in Live!

Get 1:1 Help Now