Sign in to follow this  
Followers 0
pvr02

Using FileInstall with admin rights

2 posts in this topic

I have a backup utility that I am running that needs to use FileInstall to copy a file to the C:\WINDOWS\system32\ folder. However, the users only have read access to this directory. I know by running the autoit exe as an admin it works, and then works for the users after that. However, Is it possible to run the fileinstall option with admin priveleges? Or does anyone know a workaround that doesn't involve having a "loader" executable.

;Extracts the robocopy.exe file and backup.bat file to the system32 directory overwriting what exists.
FileInstall ( "B:\Utilities\Backup_Script\robocopy.exe", "C:\WINDOWS\system32\", 1)
FileInstall ( "B:\Utilities\Backup_Script\Backup.bat", "C:\WINDOWS\system32\" , 1)

;Run backup script
Run("Backup.bat")

Share this post


Link to post
Share on other sites



Check out THIS.

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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  
Followers 0