Jump to content
Sign in to follow this  
t0ddie

RunAsSet

Recommended Posts

t0ddie

could someone please give a reason or reasons why this is not working?

RunAsSet("SYSTEM",@ComputerName,"")


RunWait("test.exe")


RunAsSet()

Posted Image

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

could someone please give a reason or reasons why this is not working?

RunAsSet("SYSTEM",@ComputerName,"")
RunWait("test.exe")
RunAsSet()

Posted Image

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

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

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.

:D

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

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 ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     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

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
Sign in to follow this  

×