Jump to content

Recommended Posts

Posted

Is there a way I can create a script that runs a program as an administrator even though I don't know the administrator's password? Thanks in advance.

Posted

Is there a way I can create a script that runs a program as an administrator even though I don't know the administrator's password? Thanks in advance.

Remove all firewalls and connect your Windows box directly to the internet.

You'll get a working demo within minutes...

:shocked:

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
Posted

Hmm...you all were quick in responding... Thanks. So there's no way in AutoIt to even possibly emulate administrator privileges to run a program?

  • Developers
Posted

Hmm...you all were quick in responding... Thanks. So there's no way in AutoIt to even possibly emulate administrator privileges to run a program?

What about stopping to ask stupid questions?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Hmmm

I wonder why Windows would even bother to set passwords for administrator accounts.

They certainly are a nuisance to someone who may have nefarious intent.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

Hmm...you all were quick in responding... Thanks. So there's no way in AutoIt to even possibly emulate administrator privileges to run a program?

RunAsSet but you will obviously need the password.
Posted

Is there a way I can create a script that runs a program as an administrator even though I don't know the administrator's password? Thanks in advance.

why, and what do you plan to do? let me guess...you want to do something along the following..
  • you want to run something on the school PC, but you can't
  • you want to pull a prank on a friend's PC, but you can't
  • you want to do soemthing to a work PC, but you can't
  • you want to get something from a PC you are not supposed to be using
  • you want to run something the admin doesn't want you to run
it is usually one of these, so we get upset if it is. If I'm wrong, I have no problem being humble. Could you explain yourself? It would be very helpful.

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
×
×
  • Create New...