Jump to content
Sign in to follow this  
kami

FileInstall without admin rights?

Recommended Posts

kami

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

Share this post


Link to post
Share on other sites
niranjan8shh

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.

Share this post


Link to post
Share on other sites
Jon

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.

Share this post


Link to post
Share on other sites
kami

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

Thanks,

Share this post


Link to post
Share on other sites
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:

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.