Krikov Posted December 16, 2005 Share Posted December 16, 2005 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 More sharing options...
seandisanti Posted December 22, 2005 Share Posted December 22, 2005 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 More sharing options...
CyberSlug Posted December 22, 2005 Share Posted December 22, 2005 I wonder if the appropriate registry keys could be edited directly...The docs for the At command mentionHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ScheduleUse 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now