Solved

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

Posted on 2004-10-11
3
157 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

12 Experts available now in Live!

Get 1:1 Help Now