Re: Group Policy : Short Date Format - DOS

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Zul (mlist_at_istar.com.my)
Date: 02/17/04


Date: Tue, 17 Feb 2004 17:59:48 +0800

Hi Chriss,

This is the template that I did but it still doesn't work :

CLASS USER
; This modifies the HKEY_CURRENT_USER portion of the registry
; the following command creates a node called Desktop Settings
; under User Configuration.
CATEGORY !!DATE

; the following command specifies the registry key to modify
KEYNAME "Control Panel\International"

; the following command specifies the name of the policy
; by using the variable "policyname"
  POLICY !!ShortDateFormat

; the following command specifies text on the Explain tab
   EXPLAIN !!DateExplain

; the following command creates a PART that contains a list box
     PART !!DateFormatDesc EDITTEXT REQUIRED

; the following statement specifies the registry value to modify
       VALUENAME "sShortDate"
     END PART
   END POLICY
END CATEGORY ; DATE

; the following strings section assigns character strings
; to the variable names specified in the previous section
[strings]
DATE="Control Panel"
ShortDateFormat="Short Date Format"
DateExplain="This policy set the format of the Short Date (Regional
Settings)"
DateFormatDesc="Please enter the date mask. For example MM-dd-yyyy"

The DOS still showing "mm-dd-yy" instead of "dd-mm-yyyy". Anything that I
missed ?

Thank you.

-Zul

"Chriss3" <noSpamHere@chrisse.se> wrote in message
news:ueynuNT9DHA.2412@TK2MSFTNGP09.phx.gbl...
> Hi Zul.
>
> It must be the follow registry setting:
> [HKEY_CURRENT_USER\Control Panel\International]
> "sShortDate"="yy-MM-dd"
>
> Take care
> --
> Regards,
>
> Christoffer Andersson
> No email replies please - reply in the newsgroup
> If the information was help full, you can let me know at:
> http://www.itsystem.se/employers.asp?ID=1
>
> "Zul" <mlist@istar.com.my> skrev i meddelandet
> news:OeDPN1H9DHA.4060@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > Thanks to Chriss3 for the info regarding the short date format
> template...it
> > works but it seems that the changes only reflects on the regional
settings
> > but on the DOS it doesn't. I want to set the short date format to
> dd/MM/yyyy
> > but in DOS it is still mm-dd-yy.
> >
> > Any ideas ?
> >
> > Thank you.
> >
> > With best regards,
> > Zul
> >
> >
>
>



Relevant Pages

  • Re: Group Policy : Short Date Format - DOS
    ... Hm go into the registry and ensure the value changes. ... the following command creates a node called Desktop Settings ... the following command specifies the registry key to modify ... > POLICY!!ShortDateFormat ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADM files and Group Plicy Templates
    ... > if i could just enforce a policy on one machine and let is ... > CLASS USER ... > PART ScreenSaverIsSecure EDITTEXT ... registry but Custom ADM’s actually hack the registry of the user (like ...
    (microsoft.public.win2000.group_policy)
  • Re: ADM files and Group Plicy Templates
    ... > if i could just enforce a policy on one machine and let is ... > CLASS USER ... > PART ScreenSaverIsSecure EDITTEXT ... registry but Custom ADM’s actually hack the registry of the user (like ...
    (microsoft.public.win2000.registry)
  • Re: Time and Date Format from GPO?
    ... CLASS USER;This modifies the HKEY_CURRENT_USER portion of the registry ... the following command creates a node called Desktop Settings ... the following command specifies the registry key to modify ... END POLICY ...
    (microsoft.public.windows.group_policy)
  • Re: What program is used to write events to the event log??????
    ... The intent of Safer is for it to be applied from AD in GPOs. ... that they are refteshed by the sce policy engine. ... > registry files is that while apparently the restrictions are aplied...you ... >>> issue....whenever there is an exe being started it normally writes this ...
    (microsoft.public.windowsxp.security_admin)