Jump to content

Scheduled Tasks


Krikov
 Share

Recommended Posts

Hi

i have i littel problem what if i want to run this script over my network and all my users have

a blank passowrd

and the Scheduled Tasks musr be run under the current logon user

RunWait('"' & @COMSPEC & '" /c schtasks /create /tn "Job Name" /tr "\"c:\some\path with spaces\file.exe\"" /sc daily /st' & _
        ' 21:00:00 /ru "Userxxx" /rp "my password" > "c:\temp.txt"','', @SW_HIDE)

[topic="63488"][font="Arial"]Krikov Tray Quick Menu[/font][/topic]

Link to comment
Share on other sites

Hi

i have i littel problem what if i want to run this script over my network and all my users have

a blank passowrd

and the Scheduled Tasks musr be run under the current logon user

RunWait('"' & @COMSPEC & '" /c schtasks /create /tn "Job Name" /tr "\"c:\some\path with spaces\file.exe\"" /sc daily /st' & _
        ' 21:00:00 /ru "Userxxx" /rp "my password" > "c:\temp.txt"','', @SW_HIDE)
not sure why noone replied to you on this one, and sorry i can't offer much help except to tell you that there is another active thread covering runasset with blank passwords that may help you.
Link to comment
Share on other sites

I wonder if the appropriate registry keys could be edited directly...

The docs for the At command mention

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

Use a registry monitor to determine any other keys...

link to the article

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...