?
Solved

Regional settings Reset

Posted on 2004-04-01
6
Medium Priority
?
2,955 Views
Last Modified: 2008-10-01
Hey there,

Everything works just fine, except that the “Short date” in regional settings is getting reset to the standard format, m-d-yyyy.  I need it to stay as yyyy/dd/mm.  I have this set in the default profile before I run Sysprep and create the image, but it gets reset.  I have this for my regional settings in Sysprep,
[RegionalSettings]
    LanguageGroup=1
    SystemLocale=00000409
    UserLocale=00000409
    InputLocale=0409:00000409
It seems Sysprep is resetting the regional settings for the default profile; we have custom software that requires a correct date format, can anyone help?
Thanks
I also tried changing the value in the regestry after, I copy all the settings in currentuser/control/international to the .default , this does not have any effect for me.
(What I really need..., is a list of all """"UserLocale ID's""" not language lacale id's.., I cannot find them anywhere..
0
Comment
Question by:adamot
6 Comments
 
LVL 24

Accepted Solution

by:
Kenneniah earned 500 total points
ID: 10735736
You can do this through group policy. First you need to create an administrative template. Copy the following into notepad, and save as sdformat.adm

; Begin custom .ADM template
; This policy file modifies the short date format for all users.

CLASS USER

CATEGORY !!DFORMAT
KEYNAME "Control Panel\International"
POLICY !!DefineDateFormat
PART !!DateFormat DROPDOWNLIST
VALUENAME sShortDate REQUIRED

ITEMLIST
NAME !!ShortDate1 VALUE !!ShortDate1
ACTIONLIST
VALUENAME sShortDate        VALUE "MM/dd/yyyy"
END ACTIONLIST

NAME !!ShortDate2 VALUE !!ShortDate2
ACTIONLIST
VALUENAME sShortDate        VALUE "M/d/yy"
END ACTIONLIST

NAME !!ShortDate3 VALUE !!ShortDate3
ACTIONLIST
VALUENAME sShortDate        VALUE "M/d/yyyy"
END ACTIONLIST

NAME !!ShortDate4 VALUE !!ShortDate4
ACTIONLIST
VALUENAME sShortDate        VALUE "MM/dd/yy"
END ACTIONLIST

NAME !!ShortDate5 VALUE !!ShortDate5
ACTIONLIST
VALUENAME sShortDate        VALUE "yy/MM/dd"
END ACTIONLIST

NAME !!ShortDate6 VALUE !!ShortDate6
ACTIONLIST
VALUENAME sShortDate        VALUE "yyyy-MM-dd"
END ACTIONLIST

NAME !!ShortDate7 VALUE !!ShortDate7
ACTIONLIST
VALUENAME sShortDate        VALUE "dd-MMM-yy"
END ACTIONLIST

END ITEMLIST
END PART
END POLICY

END CATEGORY

[Strings]
DFORMAT = "Short Date Format Settings"
DefineDateFormat = "Date Format for All Users"
DateFormat = "Date Format"
ShortDate1 = "MM/dd/yyyy"
ShortDate2 = "M/d/yy"
ShortDate3 = "M/d/yyyy"
ShortDate4 = "MM/dd/yy"
ShortDate5 = "yy/MM/dd"
ShortDate6 = "yyyy-MM-dd"
ShortDate7 = "dd-MMM-yy"

; End custom .ADM template.

Then in gpedit.msc right-click Adminstrative Templates, select Add/Remove Templates, hit add, then browse to the adm file you just created.
You should now be able to browse to User Configurate|Administrative Templates|Short Date Format Settings|Date Format for All Users
(You may have to click on View|Filtering and remove the checkbox for "Only show policy settings that can be fully managed" for this setting to show up.
Set it for the desired date format and done.
If on a domain you can push this out through the domain, if not, browse to C:\WINDOWS\system32\GroupPolicy\User and copy the Registry.pol file to the same location on all computers. This could be included in your sysprep image this way as well.
0
 

Author Comment

by:adamot
ID: 10738040
Works like a friggen charm man, thank you kindly.  I knew it could be done with GP, but was not to sure about how to go about it.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 10738765
Most welcome and glad it worked out for you!
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Expert Comment

by:samsinna
ID: 11071808
Kenneniah,

Please tell me how to change the time format  to HH:mm:ss using group policy.

thanks,
sam
0
 

Expert Comment

by:samsinna
ID: 11073637
Kenneniah,

Please ignore my previous question,i have fixed this problem.

thanks,
sam
0
 

Expert Comment

by:SECIRMU
ID: 13260083
Kenneniah,

Please tell me how to include in the SYSPREP ?

thanks,

Wagner

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Screencast - Getting to Know the Pipeline
Suggested Courses

862 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