Registry change through a Group Policy
Hi All,
I'm trying to change the default time format which is MM/dd/yy to dd/MM/yy via a group policy to all the client computers. used two methods to deploy it.
1. using a script file
REG add "HKCU\Control Panel\International" /v sShortDate /t REG_SZ /d "dd-MM-yy" /f
2. export the registry change to a .reg and running on startup or on logon using regedit.exe /s cust.reg which include the date format changed.
above described ways i have tested in a client which is applying and change the date format successfully. but when i'm trying to push it from a GPO its not applying to clients.
also i tried to import the changed reg file from a shared folder by running
@echo off
reg import \\UNC_path_to_REG_file
this one also fails from GPO. but if i run this in a client it is working.
anyone gone through this kind of thing?
thanks
June 4th, 2012 10:18am
Hello Manjula,
If your Motto is to change the time format, here is useful thread:http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/da4633e8-2df5-4095-9d7f-0d636bebcb58Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2012 10:41am
You might want to give a try editing registry keys with Group Policy Preference.
GPMC >> Computer Configuration >> Preferences
>> Registry and then click new Registry wizard and modify or add desired keys. Press any key... What the ... Where's any key ?
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
About Me ?
June 4th, 2012 10:55am
You might want to give a try editing registry keys with Group Policy Preference.
GPMC >> Computer Configuration >> Preferences
>> Registry and then click new Registry wizard and modify or add desired keys. Press any key... What the ... Where's any key ?
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
About Me ?
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2012 11:02am
hi,
i have tested all the ways described above. but from the group policy to clients does not apply.
thanks
June 4th, 2012 11:09am
At server end :Use gpupdate/force command for immediate effects.
At client end: check for applied policies using rsop.msc
Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2012 11:12am
At server end :Use gpupdate/force command for immediate effects.
At client end: check for applied policies using rsop.msc
Regards, Ravikumar P
June 4th, 2012 11:19am
Hi,
Based on my understanding, the way you used was set a logon script for users, right?
If so, then the script should be run under the logon users credential. For more assistance about script, The Official Scripting Guys Forum should be helpful:
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
If we use GPP to change the registry key, please follow the below steps:
1. Expand User Configuration\Preference\Windows Settings\Registry.
2. Right click Registry, choose New Registry Item.
3. Action: Update. Choose the right Key Path and type into the right value.
In addition to apply the GPP policy Windows XP should install GPP CSE:
Group Policy Preference Client Side Extensions for Windows XP (KB943729)
http://www.microsoft.com/en-us/download/details.aspx?id=3628
If you have linked the GPO to the right OU where users reside in and to troubleshoot this issue, we should run GPUPDATE/FORCE first and then run RSOP.MSC to check out whether the GPO applied to the user.
If all of the above was done, the issue still there, please search into the event logs and post related errors or warning here for further analysis.
Hope this helps.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Yan Li
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 5th, 2012 1:54am
Hi,
Based on my understanding, the way you used was set a logon script for users, right?
If so, then the script should be run under the logon users credential. For more assistance about script, The Official Scripting Guys Forum should be helpful:
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
If we use GPP to change the registry key, please follow the below steps:
1. Expand User Configuration\Preference\Windows Settings\Registry.
2. Right click Registry, choose New Registry Item.
3. Action: Update. Choose the right Key Path and type into the right value.
In addition to apply the GPP policy Windows XP should install GPP CSE:
Group Policy Preference Client Side Extensions for Windows XP (KB943729)
http://www.microsoft.com/en-us/download/details.aspx?id=3628
If you have linked the GPO to the right OU where users reside in and to troubleshoot this issue, we should run GPUPDATE/FORCE first and then run RSOP.MSC to check out whether the GPO applied to the user.
If all of the above was done, the issue still there, please search into the event logs and post related errors or warning here for further analysis.
Hope this helps.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Yan Li
TechNet Community Support
June 5th, 2012 2:01am
Hi,
I would like to confirm that whether there is any update about the issue?
If you have anything unclear, please feel free let me know, I will try my best.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Yan Li
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 13th, 2012 9:24pm
Hi,
I would like to confirm that whether there is any update about the issue?
If you have anything unclear, please feel free let me know, I will try my best.
Regards,
Yan Li
TechNet Subscriber Support
If you are
TechNet Subscription
user and have any feedback on our support quality, please send your feedback
here.
Yan Li
TechNet Community Support
June 13th, 2012 9:24pm


