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 <[email protected]> Sent: Friday, May 07, 2010 3:27 PM To: NT System Admin Issues <[email protected]> Subject: RE: 24 hour time format thanks...I will test and post the results next week --- On Fri, 5/7/10, Raper, Jonathan - Eagle <[email protected]> wrote: From: Raper, Jonathan - Eagle <[email protected]> Subject: RE: 24 hour time format To: "NT System Admin Issues" <[email protected]> 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 [email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]> www.eaglemds.com -----Original Message----- From: Brian Desmond [mailto:[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>] 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 [email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]> c - 312.731.3132 -----Original Message----- From: Raper, Jonathan - Eagle [mailto:[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>] 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 <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> Sent: Thursday, May 06, 2010 6:37 PM To: NT System Admin Issues <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> Subject: Re: 24 hour time format not looking forward to that --- On Thu, 5/6/10, Kurt Buff <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> wrote: From: Kurt Buff <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> Subject: Re: 24 hour time format To: "NT System Admin Issues" <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> 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 <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>>> 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 > [email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> > www.eaglemds.com > > ________________________________ > > From: joseph palmieri > [mailto:[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>>] > 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 > <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>>> > wrote: > > From: Brian Desmond > <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>>> > Subject: RE: 24 hour time format > To: "NT System Admin Issues" > <[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></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 > > [email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>> > > > > c - 312.731.3132 > > > > From: joseph palmieri > [mailto:[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]></mc/[email protected]<http://us.mc510.mail.yahoo.com/mc/[email protected]>>] > 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/> ~
