Solved

Stop Windows shutdown event tracker appearing for normal users

Posted on 2010-11-18
5
4,545 Views
Last Modified: 2012-05-10
Hi,
       I'm running a 2008R2 terminal server (RDS) currently if any of the server in the TS farm were to fail and a normal user logs in after the server is back online, the Unexpect shutdown, shutdown event tracker appears. I would like to prevent the users from having this window displayed, i know i can switch the shutdown event tracker off altogether via GPO but i would like to to remain on for Admins doing controled shutdowns/restarts etc.

Thanks
0
Comment
Question by:Joe1212
5 Comments
 

Expert Comment

by:yashthakkar
Comment Utility
try to set windows time to 1yr back
0
 

Author Comment

by:Joe1212
Comment Utility
I can't do this, there many applications on the TS that need the correct time.
0
 
LVL 10

Expert Comment

by:moon_blue69
Comment Utility
Hi

Put the TS users in an OU and apply group policy

hope this link will help

http://technet.microsoft.com/en-us/library/cc784901%28WS.10%29.aspx
0
 
LVL 10

Expert Comment

by:moon_blue69
Comment Utility
you will find this in here

Group policy object name/Computer Configuration/Administrative Templates/System
0
 
LVL 82

Accepted Solution

by:
oBdA earned 500 total points
Comment Utility
Not possible, sorry. The shutdown event tracker is a *computer* policy, so it's valid either for every user of a computer or for nobody.
The only thing you could do is use a batch/VB/whatever script for planned shutdowns that queries for the reason and then uses shutdown.exe for a restart. The comment will appear in the event log. The regular shutdown shortcut could be hidden with a group policy, to enforce the use of the script.
A rough idea for a batch script:

@echo off

setlocal

cls

echo You are about to shutdown/reboot this computer.

:LoopType

set /p Type=Do you want to [S]hutdown, [R]estart or [C]ancel?

if /i "%Type%"=="S" goto LoopReason

if /i "%Type%"=="R" goto LoopReason

if /i "%Type%"=="C" goto :eof

goto LoopType

:LoopReason

set /p Reason=Please enter the reason for the shutdown/restart:

if "%Reason%"=="" goto LoopReason

start "" shutdown.exe -t 10 -%Type% -f -c "%Reason%"

Open in new window

0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now