?
Solved

Regional settings Reset

Posted on 2004-04-01
6
Medium Priority
?
2,937 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 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