Cool - by the way, just realized there is a mitsake in my syntax. Should just be:
Reg query hku etc... (no slash) Jonathan L. Raper, MCSE Sent from my Windows Mobile ® enabled Smartphone, WHICH WILL LIKELY SOON BE REPLACED BY A DROID. Please excuse brevity & any misspellings. ________________________________ From: joseph palmieri <jpalm...@yahoo.com> Sent: Friday, May 07, 2010 3:27 PM To: NT System Admin Issues <ntsysadmin@lyris.sunbelt-software.com> Subject: RE: 24 hour time format thanks...I will test and post the results next week --- On Fri, 5/7/10, Raper, Jonathan - Eagle <jra...@eaglemds.com> wrote: From: Raper, Jonathan - Eagle <jra...@eaglemds.com> Subject: RE: 24 hour time format To: "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com> Date: Friday, May 7, 2010, 3:16 PM Admittedly, after thinking about it, there is indeed a faster, more elegant way to do this, which I've included further down. However, after doing some testing of my own, I don't see why my basic concept of what I described wouldn't work. In the process, I discovered a second key that would need to be changed in order for the time to display as desired in the system tray. I was able to export the entire HKEY_USERS Hive into a reg file on one machine in a matter of seconds - maybe 2 minutes, tops, for a system that has more than 40 unique local user accounts. (Admittedly, just as I imagined, the file is rather large - 150 Megs, roughly). I was able to do a very basic FIND/REPLACE ALL from within notepad for "iTime"="0" and change it to "iTime"="1", which is what is required to change the format from 12 hour to 24 hour format. Also, you would need to FIND/REPLACE "sTimeFormat"="h:mm:ss tt" with "sTimeFormat"="HH:mm:ss". Now I would CERTAINLY NOT recommend re-importing the entire hive after doing what I just described. However, a more robust text editor and/or some scripting could modify the reg file in order to get the desired result. Anyway, as I mentioned, there is a faster, more elegant solution, and here it is: **************************************************************** DISCLAIMER: I HIGHLY RECOMMEND FULLY TSETING THIS FIRST, as YMMV. I AM NOT RESPONSIBLE IF YOU HOSE YOUR SYSTEM. USE AT YOUR OWN RISK. **************************************************************** Open a command prompt on the target machine. Type: reg /query HKU >sidlist.txt This will generate a text file containing a list of every sid in the registry: ! REG.EXE VERSION 3.0 HKEY_USERS HKEY_USERS\.DEFAULT HKEY_USERS\S-1-5-19 HKEY_USERS\S-1-5-19_Classes HKEY_USERS\S-1-5-20 HKEY_USERS\S-1-5-20_Classes HKEY_USERS\S-1-5-21-839522115-688789844-1708537768-1006 HKEY_USERS\S-1-5-21-839522115-688789844-1708537768-1006_Classes HKEY_USERS\S-1-5-18 Eliminate the sids that end in _Classes, and then format the file to look like this and save as .reg: *FILE BEGIN* Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\International] "iTime"="1" "sTimeFormat"="HH:mm:ss" [HKEY_USERS\S-1-5-19\Control Panel\International] "iTime"="1" "sTimeFormat"="HH:mm:ss" [HKEY_USERS\S-1-5-20\Control Panel\International] "iTime"="1" "sTimeFormat"="HH:mm:ss" [HKEY_USERS\S-1-5-21-839522115-688789844-1708537768-1006\Control Panel\International] "iTime"="1" "sTimeFormat"="HH:mm:ss" [HKEY_USERS\S-1-5-18\Control Panel\International] "iTime"="1" "sTimeFormat"="HH:mm:ss" *FILE END* Once saved, import the registry file, and log off. Log back on, and see what the time looks like. I think you'll be pleased. Hope this helps. Cheers! Jonathan L. Raper, A+, MCSA, MCSE Technology Coordinator Eagle Physicians & Associates, PA jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com> www.eaglemds.com -----Original Message----- From: Brian Desmond [mailto:br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com>] Sent: Thursday, May 06, 2010 11:27 PM To: NT System Admin Issues Subject: RE: 24 hour time format No that's not going to work well at all. Thanks, Brian Desmond br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com> c - 312.731.3132 -----Original Message----- From: Raper, Jonathan - Eagle [mailto:jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com>] Sent: Thursday, May 06, 2010 8:19 PM To: NT System Admin Issues Subject: RE: 24 hour time format Hmmmm....just a thought. Export the entire HK_USERS hive (can you export an entire hive?) to a reg file. (I know, I know, it will be big, but hear me out). Find/replace in the reg file with txt editor, then upload the file back... Jonathan L. Raper, MCSE Sent from my Windows Mobile ® enabled Smartphone, WHICH WILL LIKELY SOON BE REPLACED BY A DROID. Please excuse brevity & any misspellings. ________________________________ From: joseph palmieri <jpalm...@yahoo.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jpalm...@yahoo.com>> Sent: Thursday, May 06, 2010 6:37 PM To: NT System Admin Issues <ntsysadmin@lyris.sunbelt-software.com<http://us.mc510.mail.yahoo.com/mc/compose?to=ntsysad...@lyris.sunbelt-software.com>> Subject: Re: 24 hour time format not looking forward to that --- On Thu, 5/6/10, Kurt Buff <kurt.b...@gmail.com<http://us.mc510.mail.yahoo.com/mc/compose?to=kurt.b...@gmail.com>> wrote: From: Kurt Buff <kurt.b...@gmail.com<http://us.mc510.mail.yahoo.com/mc/compose?to=kurt.b...@gmail.com>> Subject: Re: 24 hour time format To: "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com<http://us.mc510.mail.yahoo.com/mc/compose?to=ntsysad...@lyris.sunbelt-software.com>> Date: Thursday, May 6, 2010, 5:49 PM Looks like you have to do that for each user - I tried it for the default user, logged in with an account that hadn't logged in before, and got the normal defaults, not the ones I set up. Kurt On Thu, May 6, 2010 at 14:04, Raper, Jonathan - Eagle <jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com></mc/compose?to=jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com>>> wrote: > > You could edit the registry. > > > > http://www.windowsitpro.com/article/registry2/jsi-tip-0311-regional-se > ttings-in-the-registry-.aspx > > > > I presume HKEY_USERS would have a user preference for the way time is > displayed, so you would likely have to go into each user's SID under > HKEY_USERS. > > Jonathan L. Raper, A+, MCSA, MCSE > Technology Coordinator > Eagle Physicians & Associates, PA > jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com></mc/compose?to=jra...@eaglemds.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jra...@eaglemds.com>> > www.eaglemds.com > > ________________________________ > > From: joseph palmieri > [mailto:jpalm...@yahoo.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jpalm...@yahoo.com></mc/compose?to=jpalm...@yahoo.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jpalm...@yahoo.com>>] > Sent: Thursday, May 06, 2010 4:56 PM > To: NT System Admin Issues > Subject: RE: 24 hour time format > > > > tried that no luck...only works if a new account is created on the box > all current account reflect 12 hour format > > --- On Thu, 5/6/10, Brian Desmond > <br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com></mc/compose?to=br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com>>> > wrote: > > From: Brian Desmond > <br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com></mc/compose?to=br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com>>> > Subject: RE: 24 hour time format > To: "NT System Admin Issues" > <ntsysadmin@lyris.sunbelt-software.com<http://us.mc510.mail.yahoo.com/mc/compose?to=ntsysad...@lyris.sunbelt-software.com></mc/compose?to=ntsysad...@lyris > .sunbelt-software.com>> > Date: Thursday, May 6, 2010, 4:34 PM > > You'd want to tweak the regional settings for the box. > > > > Thanks, > > Brian Desmond > > br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com></mc/compose?to=br...@briandesmond.com<http://us.mc510.mail.yahoo.com/mc/compose?to=br...@briandesmond.com>> > > > > c - 312.731.3132 > > > > From: joseph palmieri > [mailto:jpalm...@yahoo.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jpalm...@yahoo.com></mc/compose?to=jpalm...@yahoo.com<http://us.mc510.mail.yahoo.com/mc/compose?to=jpalm...@yahoo.com>>] > Sent: Thursday, May 06, 2010 3:26 PM > To: NT System Admin Issues > Subject: 24 hour time format > > > > Can anyone provide assistance in setting up Windows XP workstations so > that all users who login receive the time in 24 hour format? We do not > use AD > > > > > > > > > > > > > > > > > > ________________________________ > Any medical information contained in this electronic message is CONFIDENTIAL > and privileged. It is unlawful for unauthorized persons to view, copy, > disclose, or disseminate CONFIDENTIAL information. This electronic message > may contain information that is confidential and/or legally privileged. It is > intended only for the use of the individual(s) and/or entity named as > recipients in the message. If you are not an intended recipient of this > message, please notify the sender immediately and delete this material from > your computer. Do not deliver, distribute or copy this message, and do not > disclose its contents or take any action in reliance on the information that > it contains. > > Any medical information contained in this electronic message is CONFIDENTIAL > and privileged. It is unlawful for unauthorized persons to view, copy, > disclose, or disseminate CONFIDENTIAL information. This electronic message > may contain information that is confidential and/or legally privileged. It is > intended only for the use of the individual(s) and/or entity named as > recipients in the message. If you are not an intended recipient of this > message, please notify the sender immediately and delete this material from > your computer. Do not deliver, distribute or copy this message, and do not > disclose its contents or take any action in reliance on the information that > it contains. > > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ Any medical information contained in this electronic message is CONFIDENTIAL and privileged. It is unlawful for unauthorized persons to view, copy, disclose, or disseminate CONFIDENTIAL information. This electronic message may contain information that is confidential and/or legally privileged. It is intended only for the use of the individual(s) and/or entity named as recipients in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete this material from your computer. Do not deliver, distribute or copy this message, and do not disclose its contents or take any action in reliance on the information that it contains. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ Any medical information contained in this electronic message is CONFIDENTIAL and privileged. It is unlawful for unauthorized persons to view, copy, disclose, or disseminate CONFIDENTIAL information. This electronic message may contain information that is confidential and/or legally privileged. It is intended only for the use of the individual(s) and/or entity named as recipients in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete this material from your computer. Do not deliver, distribute or copy this message, and do not disclose its contents or take any action in reliance on the information that it contains. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ Any medical information contained in this electronic message is CONFIDENTIAL and privileged. It is unlawful for unauthorized persons to view, copy, disclose, or disseminate CONFIDENTIAL information. This electronic message may contain information that is confidential and/or legally privileged. It is intended only for the use of the individual(s) and/or entity named as recipients in the message. If you are not an intended recipient of this message, please notify the sender immediately and delete this material from your computer. Do not deliver, distribute or copy this message, and do not disclose its contents or take any action in reliance on the information that it contains. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~