Link to home
Start Free TrialLog in
Avatar of iamdieter
iamdieterFlag for South Africa

asked on

Change date format for all profiles on local PC

Good day

How do I change the date format on all profiles on pc's in my network? I can make the change in the registry and write a logon script to change it once the user logs on, but I want this to apply without waiting for all users to logon to the local pc. For instance, I have users 1, 2, and 3 working on PC X. If user 1 logs on, the date and time should change for all users (2 and 3).

Reason for this is, I am running a script (encrypted) as users Y (domain admin) on all PC's. The encrypted tool creates a profile for user Y when any user logs on. So with the domain user loged on, it uses the settings (date and time) from user Y (account used to run the script), causing trouble in some applications that we run.

Any idea how I can change the date and time format for all profiles regardless of who logs on? Using Server 2003 and XP on workstations. Date format should be, long date: dd MMM yyyy short date: dd/MM/yyyy
Avatar of Coast-IT
Coast-IT
Flag of United Kingdom of Great Britain and Northern Ireland image

You could create a custom ADM using the following content ;

You can do this in a ADM Template and import this to your GPO.

----- shortdate.adm -----

class user
category "regional settings"
policy "Change date
format"
keyname "control panel\international"
part "change to:" edittext
valuename "sShortDate"
default "dd/mm/yyyy"
end part
end policy
end category

----- shortdate.adm -----

Then do another one for sLongDate.  Does this help?
Avatar of iamdieter

ASKER

Applied the template, will see what happens and let you know
not working, created template and applied to GPO.
ASKER CERTIFIED SOLUTION
Avatar of iamdieter
iamdieter
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hmm, that should work what I added.  Are you sure the policy is being applied?

Have you run a GPresult on the affected machine/user ?