t0ddie 0 Report post Posted May 3, 2007 could someone please give a reason or reasons why this is not working?RunAsSet("SYSTEM",@ComputerName,"") RunWait("test.exe") RunAsSet()i dont have any passwords on any account.im using xp sp2 Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Share this post Link to post Share on other sites
Ghost21 0 Report post Posted May 3, 2007 could someone please give a reason or reasons why this is not working? RunAsSet("SYSTEM",@ComputerName,"") RunWait("test.exe") RunAsSet() i dont have any passwords on any account. im using xp sp2 RunAsSet("SYSTEM","\\" & @ComputerName,"") RunWait("test.exe") RunAsSet() Try that Share this post Link to post Share on other sites
PsaltyDS 27 Report post Posted May 3, 2007 The SYSTEM account is one of special built-in accounts. I don't think you can log in with it, and therefore not RunAs() with it. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
t0ddie 0 Report post Posted May 3, 2007 RunAsSet("SYSTEM","\\" & @ComputerName,"")RunWait("test.exe")RunAsSet()Try that didnt work.same results.The SYSTEM account is one of special built-in accounts. I don't think you can log in with it, and therefore not RunAs() with it. but there must be another way without needing to create a service? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Share this post Link to post Share on other sites
Jos 1,292 Report post Posted May 3, 2007 but there must be another way without needing to create a service?Why do you think you got so much response on the other regularly bumped thread ? Visit the SciTE4AutoIt3 Download page for the latest versions - Beta files How to post scriptsource Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites