Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format - whole network 1

Status
Not open for further replies.

jazgeek

IS-IT--Management
Jan 29, 2004
541
All of my workstations have a M/D/YYYY format under regional settings. New software we're installing requires a MM/DD/YYYY format.

How do I roll the change down to everyone?

thanks in advance.

-----------
and they wonder why they call it Great Pains!

jaz
 
Your going to need to create a custom admin template for it then apply it via group policy. Creating a new admin template can be a bit of a nightmare though so you're probably best off googling to see if anyone has posted one.
 
ok... a little help here.

cannot locate anything for win 2k... only found something for nt4.0 and it doesn't work.

anyone know of a secret hidden cache of adm's?



-----------
and they wonder why they call it Great Pains!

jaz
 
You could call a short VBScript like this from your logon script. Or you could execute it during the application install. Really you probably want to do it during logon because this setting is tied to the user, not the computer...

Code:
'==========================================================================
'
' NAME: ChgDateFormat.vbs
'
' AUTHOR: Paul S. Chapman
' URL: [URL unfurl="true"]www.freeluna.net[/URL]
' DATE  : 8-11-2005
'
' COMMENT: 
'
'==========================================================================

Option Explicit

Dim wshShell

Const strRegKey = "HKCU\Control Panel\International\"

Set wshShell = CreateObject("WScript.Shell")

If wshShell.RegRead(strRegKey & "sShortDate") <> "MM/dd/yyyy" Then
	WScript.Echo "Changing Date Format"
	wshShell.RegWrite strRegKey & "sShortDate","MM/dd/yyyy","REG_SZ"
End If

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
You could also import a .reg file in your logon script.

After doing some searching, I don't see another way to do it. Group Policy just doesn't cover it, unless you want to build your own custom .adm template (as Nick suggested).

Good Luck!

PSC

Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo! --Mr. The Plague, from the movie "Hackers
 
thanks so very much.

I'll go the vbs route in the login script.

great help!


-----------
and they wonder why they call it Great Pains!

jaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top