Show the clock - Taskbar and Start Menu Properties - Notification Area

Posted on 2009-04-22
Medium Priority
Last Modified: 2013-11-21
I have a domain controller for a domain called mydomain.com. In this domain I have few Windows 2003 Servers for all this machines I want when an user is login on the clock icon from the notification area to be displayed. This are the steps I have done already:
I create a group policy for all the users from this domain with this rule: User Configuration -> Start Menu and Taskbar -> Remove Clock from the system notification area -> Disabled
I create this logon script:
' VBScript.
On Error Resume Next
Dim Shell
Set Shell = CreateObject("WScript.Shell")
shell.Run "C:\windows\regedit.exe /s \\server_name\clock.reg"

' clock.reg file
Windows Registry Editor Version 5.00

Still no luck when a user is logged on the clock is not shown.
I need some help with this because I want to put in this domain 100 windows 2003 servers.
Thank you.
Question by:BetfairRomania
  • 2
LVL 28

Expert Comment

ID: 24204517
What I suspect may be happening is that the setting is not being saved between logins.  That is, the GPO gets applied during logon, but Explorer has already started with the clock hidden.  Then at logoff, the registry setting is not saved (since it came from GPO).  Around and around you go, with Explorer always starting while the hide clock value is still enabled.

My suggestion:  put these registry settings in a .reg and import with a logon script.  Then log off and back on.
LVL 10

Expert Comment

ID: 24204752
After logging in, try killing the explorer process and restarting it to see if the clock comes back.  Its easiest done from the cmd prompt.

type taskkill /f /im explorer.exe and enter...the desktop should disappear...then type start explorer and your desktop should come back.

Let me know what happens

Author Comment

ID: 24204818


i already put this registry settings in a .reg file and I import this reg files with a VBS logon script as I describe in the body of my question.


i killed and start explorer process and clock is here
is working in this way
I need to this on all my machines?

Thank you.
LVL 10

Accepted Solution

TakedaT earned 500 total points
ID: 24204859
What you can try is to add the following into your vbs script that is run at login.
On Error Resume Next
Dim Shell
Set Shell = CreateObject("WScript.Shell")
shell.Run "C:\windows\regedit.exe /s \\server_name\clock.reg"
shell.Run "cmd /c taskkill /f /im explorer.exe"
wscript.sleep 1000
shell.Run "explorer"

Open in new window


Featured Post


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

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…

621 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