Solved

Batch Issue

Posted on 2009-04-09
6
265 Views
Last Modified: 2013-12-05
I have a schdueled shutdown task schdueled and the user is part of the power user group. Job fails with error code could not start with status code 0x0. What could be wrong ?
0
Comment
Question by:quizkey
[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
6 Comments
 
LVL 94

Expert Comment

by:John Hurst
ID: 24113113
Schedule the task with Administrator credentials and it should work. I schedule tasks for users this was (working tasks, not shutdown tasks) and they work fine. ... Thinkpads_User
0
 
LVL 7

Accepted Solution

by:
dolomiti earned 150 total points
ID: 24113841
hi,
follow these attentions:

1) make a script, run it directely (not in task schedule) and test that it goes, and does not require any clicks.

2) Add this to scheduled task, verify user/pass (if task does not start for this issue, in the state you can see it, it is not your issue), and verify check box allowing running without user logged in.

3) Don't be logged on when the task starts. If you want see what your system does when shutdown,
re-login with a no-admin user. I have noted sometime this strange behavior: if I was logged in, no in shutdown case, the task did not started.

4) In the scheduled task, in Advance manu, there is a View Log, not great, but you can give a look.

bye
vic
0
 

Author Comment

by:quizkey
ID: 24114488
user is power user
0
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 7

Expert Comment

by:dolomiti
ID: 24114570
for my knowns,
power user in a server can shutdown it
(that is user belongs in Power User Group of that Server)
bye
vic
0
 

Author Comment

by:quizkey
ID: 24114612
I already checked that user is part of power users group .
0
 
LVL 4

Assisted Solution

by:snowdog01
snowdog01 earned 100 total points
ID: 24115308
Check the Scheduled Task log under the Advanced Menu > View Log.  You may have to scroll down to locate the most recent entry.  Look for the line "[ ***** Most recent entry is above this line ***** ]", then read above.   Generally when their is a permissions issue, this log will give you a clue.  
If the user is a power user and power user's can shutdown the workstation (in the local sec policy), then the problem may be related to permissions, it also may be related to what else is running on the workstation at the time the shutdown command is issued.  If an application is hung, the shutdown command may not be able to close the apps and therefore fail.  
I agree with dolomiti, run the script manually and see if it succeeds, then worry about automation.  It it works manually, then the Scheduled Task log may hold the key to the automation issue.
 
HTH,
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 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