Solved

Change date format for all profiles on local PC

Posted on 2010-08-24
5
1,747 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:iamdieter
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33511114
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?
0
 

Author Comment

by:iamdieter
ID: 33511840
Applied the template, will see what happens and let you know
0
 

Author Comment

by:iamdieter
ID: 33512050
not working, created template and applied to GPO.
0
 

Accepted Solution

by:
iamdieter earned 0 total points
ID: 33532428
created a batch file to copy profile from another user and reaplace with current user's profile
0
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33539875
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 ?

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

860 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