none
schtasks runas command error Windows 2008 RRS feed

  • Question

  • Hi guys and gals,

    I will keep this short.  I try to schedule a task which run with alternate credential by using command  schtasks .exe

    Is it possible to create a job for LSA context and execute the job with administrator credential ?


    when issue below command from LSAncontext

    schtasks /create /sc daily /tr c:\test.exe /s \\%computername% /U %AdminAccount% /P %AdminPassword% /ru %AdminAccount% /rp %AdminPassword% /mo 1 /st 00:00:00 /tn Taskname

    No joy.


    Is it possible to create a job for LSA context and execute the job with administrator credential ?

     

     

    Monday, September 13, 2010 8:09 PM