Shutdown Win7 Clients Remotely thru Task Schedular
hi,
if someone can help me to shutdown win 7 client computers each night at 8:00pm. We have Windows 2008 R2 domain controller in use. Please let me know how to create a schedule or a script or anything useful which canhelp me to automatically shutdown alltheclient
computers remotely.
If i have to create a script or batch file? and please let me know how the script or thebatch file willbe created and also how to push it thru GPO?
Thanks.
May 14th, 2012 3:44am
Hello Ali,
Please go through the below thread once.
http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/1e1db4e8-6975-457d-b6d5-9d733feaf952/Regards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2012 3:49am
Also another useful thread http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/3608dd77-3727-4cc6-b3c6-cfcf1a486a2aRegards, Ravikumar P
May 14th, 2012 3:52am
Hi,
do it using GPP:
Preferences/Control Panel Settings/Scheduled Tasks
Create a new schedule task
GENERAL
Choose name etc.
"Action Create"
Task
Run -> C:\Windows\System32\shutdown.exe
Arguments -> /s /f /t 45 /c "This is a scheduled shutdown of your computer, please close all programs for the time being!"
Scheduled task runs at a specified time -> Enabled
Schedule
Choose your time.
Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.com
This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2012 4:04am
hi,
i tried to create the task as you instructed but unfortunately i didnot get many things in that. Like under the
General tab, what settings i have to do for Security Options. Further, I am unable to find the
Task and Schedule Tabs. I am getting tabs
General, Actions, Conditions, Settings, Common. Also please be informed that I am choosing Task Schedular under Computer Configuration and also while createing a new task i am selecting Immediate Task (Windows Vista or Later). Correct me please if
i am wrong.
Thanks
May 14th, 2012 5:05am
Dear Mr. Ravi,
I followed the link as you mentioned but it describes settings for Server 2003 and we are using Server 2008 R2. Is there any other thread to achieve my requirement?
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2012 5:09am
hi,
i tried to create the task as you instructed but unfortunately i didnot get many things in that. Like under the
General tab, what settings i have to do for Security Options. Further, I am unable to find the
Task and Schedule Tabs. I am getting tabs
General, Actions, Conditions, Settings, Common. Also please be informed that I am choosing Task Schedular under Computer Configuration and also while createing a new task i am selecting Immediate Task (Windows Vista or Later). Correct me please if
i am wrong.
Thanks
Hi,
attatched see a screenshot:
Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.com
This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
May 14th, 2012 7:37am
Hi Butim,
Thanks for your promt replies, but still it does not work. I have created the task as you described but i might be making some problem with the GPO linking or something like that.
Let me explain my scenario, I created an OU, made a Security Group, moved the security group to the OU and added a client machine in that security group. I linked the newly created GPO to the OU.
Pease let me know if anything i have to rectify.
Thanks.
Free Windows Admin Tool Kit Click here and download it now
May 15th, 2012 1:41am
Hi,
Move the computer to the OU. If you using Authenticated Users you havent to create a group. if you want to use groups -> Remove Authenticated users from Policy Scope and add your local group to it. Create a global group and add the local as Member Of
and add the workstation as member. Do a gpupdate on the workstation and check with gpresult if the policy is applied.Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.com
This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
May 15th, 2012 2:27am
Hi,
Move the computer to the OU. If you using Authenticated Users you havent to create a group. if you want to use groups -> Remove Authenticated users from Policy Scope and add your local group to it. Create a global group and add the local as Member Of
and add the workstation as member. Do a gpupdate on the workstation and check with gpresult if the policy is applied.Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.com
This posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 15th, 2012 2:27am