Results 1 to 4 of 4

Thread: NT Authority/System account for Scheduled Tasks

  1. #1
    Join Date
    Oct 2005
    Posts
    52

    NT Authority/System account for Scheduled Tasks

    I need help to work with batch file. I had created one which can generate at schedule task. This task is capable of running a wizard that supports user account creation. I am using a script and used dos for the same. I had used one syntax that I found on the Microsoft website. Based on that I was able to create a task using Authority/System account with admin rights. When I run the task nothing happens. The script looks perfect but I am not able to understand why it is not working.

  2. #2
    Join Date
    Sep 2004
    Posts
    125

    Re: NT Authority/System account for Scheduled Tasks

    There are some things that can cause the failure of your script. First the security settings. Which are limiting the execution right of script. This is always the biggest issue in running different task. I had find ample of time the task failed to run due to low privileges. I am not sure how does that can be modified but you can try looking on web.

  3. #3
    Join Date
    Jun 2009
    Posts
    1,112

    Re: NT Authority/System account for Scheduled Tasks

    If you are on a single computer then the most beneficial method would be to create an account under Builtin Backup Operators group. Sometimes the System account is mistaken by users as SuperUser or root account which is neither of the two. Windows usually uses it internally and it was never meant to be used by any programs as well.

  4. #4
    Join Date
    Jan 2006
    Posts
    3,792

    Re: NT Authority/System account for Scheduled Tasks

    You will need to use the below code to call it, just save the code in file my_work.bat and then schedule it according to your plan:

    Code:
    @echo off
    echo %date% %time% %username% >> g:\in\test.txt
    cscript //nologo g:\in\BODY1E.vbs 1>>g:\in\test.txt 2>>&1
    echo %date% %time% >> g:\in\test.txt
    You also will get a trace of execution in test.txt file which will be made and saved in c:\IN.

Similar Threads

  1. Scheduled tasks won't stop
    By jb0001 in forum Windows Software
    Replies: 2
    Last Post: 24-12-2009, 07:31 AM
  2. Windows Scheduled Tasks don't luanch if tasks not finished
    By Andy Candy in forum Windows Software
    Replies: 3
    Last Post: 21-08-2009, 11:17 AM
  3. Scheduled Tasks result - 0x1
    By z4f786 in forum Windows XP Support
    Replies: 6
    Last Post: 01-06-2009, 07:38 PM
  4. Scheduled Tasks: Notify me of missed tasks
    By Hrishia in forum Windows XP Support
    Replies: 1
    Last Post: 02-01-2009, 02:15 PM
  5. Where are kept Scheduled tasks?
    By Jack in forum Vista Help
    Replies: 8
    Last Post: 18-01-2008, 12:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,638,119,096.88921 seconds with 17 queries