Solved

Vista Task Scheduler will not run shutdown.exe

Posted on 2008-10-23
2
1,095 Views
Last Modified: 2012-05-05
Task Scheduler (ts from here on out) will not run the shutdown.exe command. Shutdown.exe and all tags work fine from command line. Set permissions on shutdown.exe to allow everyone full permission. Tried domain and local PC admin rights on the task. When using just 'shutdown', ts says it has completed the task, but no shutdown occurs. When using tags such as logoff, /L, ts gives the following error: 0x1. Following options are selected in the task setup:
Run whether user is logged in or not
Run with highest privileges
Allow task to be run on demand
No 'Conditions' are applied

I tested ts with a task of cmd. It opened a window just fine. I have tried using multiple logins, multiple permission sets. I simply will not run the shutdown.exe command from the Task Scheduler.
0
Comment
Question by:schendels
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
knightfox earned 250 total points
ID: 22791316
hey ya,
can you confirm if you have used the following method?

http://www.thespinningdonut.com/how-to-automatically-shut-down-your-windows-vista-computer/

/Fox
0
 

Author Comment

by:schendels
ID: 22796183
Oddly, I had not tried the /s or /r, which appear to work. I Googled for hours and couldn't find a helpful article like yours.
My goal is to log my kids off at a certain time each night. One computer accepts the 'force loggoff when logon hours expire' from the server, but my other kid's won't. This is the one I'm trying to get to logoff. So I can use the restart tag. But I'll put up another 200 points if you can help with why the /L tag won't work. Let me know, otherwise I'll give you the 250.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Service applet starts in Extended Mode by Default, with a taskpad on the left of the services pane. This view mode was introduced in XP. As I find it not very usefull, I like to use the Standard view as default, and without the Console tree. …
So who is this article for? If you are like most of the computer users out there, you probably only realize the meaning of 'System maintenance' after something goes wrong. This article is for you if you care about keeping your system working opti…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

624 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