troubleshooting Question

trying to set time format via .ADM template

Avatar of moresoft123
moresoft123Flag for Ireland asked on
Microsoft Server OSActive DirectoryWindows Server 2003
7 Comments2 Solutions1215 ViewsLast Modified:
Hi,

A client of ours is using software that requires the time format to be "hh:mm:ss" (so no ":tt").
It's windows server 2003 R2 environment, PCs running XP
I wanted to create a group policy that enforces this but from what i see there is no GPO for this.
I've tried implementing the following adm:

----- time.adm -----
class user
category "regional settings"
policy "Change time format"
keyname "control panel\international"
part "change to:" edittext
valuename "sTimeFormat"
default "HH:mm:ss"
end part
end policy
end category

----- time.adm -----

but it gives an error when i try to link it. The error is:

Error 51: Unexpected Keyword
Found:-
Expected: CLASS, CATEGORY,[strings]

when checking the registry, the reg key shows as sTimeFormat,
and it's stored at HKCU\Control Panel\International.

I couldn't find an example of exactly what I was looking for online,
so what I've written here is based on a similar script for setting date format.

Would anybody know the correct script for this?

Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros