|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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
| |||
| |||
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 |
![]() |
|
Tags: scheduled tasks, schtask, windows server |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scheduled tasks won't stop | jb0001 | Windows Software | 2 | 24-12-2009 08:01 AM |
Windows Scheduled Tasks don't luanch if tasks not finished | Andy Candy | Windows Software | 3 | 21-08-2009 11:47 AM |
Scheduled Tasks result - 0x1 | z4f786 | Windows XP Support | 6 | 01-06-2009 08:08 PM |
Scheduled Tasks: Notify me of missed tasks | Hrishia | Windows XP Support | 1 | 02-01-2009 02:45 PM |
Where are kept Scheduled tasks? | Jack | Vista Help | 8 | 18-01-2008 01:28 AM |