Jump to content

FileInstall without admin rights?


kami
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Administrators

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

You do under 2000/XP, unless you have a HP/Compaq install - they sometimes free up the access rights under Program Files and Windows/WINNT

In NT4 you didn't.

Link to comment
Share on other sites

  • 8 months later...
Guest japam1

<<<<<<<<<<<<<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:

Link to comment
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
 Share

  • Recently Browsing   0 members

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