The problem is: I have many PC's in my Active Directory, a wont to deploy some scheduled tasks to them. But The problem is thath they "Could Not Start" because of the user creditations maby ... when i set the Password and unchek and chek the Box in Scheduled task that ( RUN Only if Loggd On ) ... the tasks begins, but when log off the user account and change whit another one ... the task "Could not start" and i must set again the password .... it is crude method!
The situtaion is: I deploy the job operation with: job.vbs in User Configuration >> Log On Scripts
the script of job.vbs is: -----------------------------------------------------------------------------
This script work's and i see the jobs in Scheduled Task Explorer And the jobs are:
1) Message.job At 17:45 - (Seys the user to do not ShutDown the PC) 2) ChkDsk.job At 18:20 - (Doing the Chkdsk /f command) 3) Restart.job At 18:21 - (Restart to do ChkDsk) 4) Defrag.job At 19:00 - (Doing the defragment All HDD operation) 5) ShutDown.job At 20:00 - (Shutdown the PC)