Jump to content

Recommended Posts

Posted

Hello all,

Is it possible to copy/install files in, let's say, WINNT folder without admin rights?

Something like combination RunAsSet/Run?

I've solve it with installing file to the %TEMP% and than running

"cmd.exe /c copy..." with RunAsSet("Administrator"....)

and then FileDelete.....

but is there a way without "running around"?

Greetings,

kami

Posted

Is it possible to copy/install files in, let's say, WINNT folder without admin rights?

You do not need admin rights if you just want to copy files to WINNT folder.

If the concerned file is an executive which starts installation of a software package, then launching it with RunAs on W2K/XP is simple enough. In some cases software installation which does only require copying files and writing to HKCU registry keys, does not require admin privileges.

  • 8 months later...
Guest japam1
Posted

<<<<<<<<<<<<<Easiest way is two have two autoit script. Once "admin wrapper" script and then the main script.

admin wrapper script just has a RunAsSet and a Run line to execute the main script.

<<<<<<<<<<<<<<<

i try it but got this result

" you have no sufficient

permissions to run PROGRAM properly

No access to <HKEY_LOCAL_MACHINE> "

:ph34r:

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
  • Recently Browsing   0 members

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