kami Posted December 12, 2003 Share Posted December 12, 2003 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 More sharing options...
Administrators Jon Posted December 12, 2003 Administrators Share Posted December 12, 2003 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
niranjan8shh Posted December 12, 2003 Share Posted December 12, 2003 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 More sharing options...
Administrators Jon Posted December 12, 2003 Administrators Share Posted December 12, 2003 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/WINNTIn NT4 you didn't. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
kami Posted December 13, 2003 Author Share Posted December 13, 2003 Easiest way is two have two autoit script. Once "admin wrapper" script and then the main script. Thanks, Link to comment Share on other sites More sharing options...
Guest japam1 Posted August 24, 2004 Share Posted August 24, 2004 <<<<<<<<<<<<<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> " Link to comment Share on other sites More sharing options...
Developers Jos Posted August 24, 2004 Developers Share Posted August 24, 2004 check out this post and see if that works for you... #4334 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now