nivtop Posted September 17, 2011 Posted September 17, 2011 Hello, I made a script that works perfectly on windows xp although when I use it on windows 7 the script doesn't copy files properly because windows 7 security prompts popup when the script is trying to filecopy... Is there a way to get around this? Can someone please help! My script is trying to copy files from external harddrive to C:\Users\Accountname\Desktop ... \Favorites ... \Documents..etc Also I don't have this issue on my home computer but this script is meant for my company which I use at work and the computers at work are windows 7 and on a DOMAIN and the user account has administrative privileges. Thanks
JohnOne Posted September 17, 2011 Posted September 17, 2011 I assume you are talking about UAC. This security feature is designed to resist automation, think about why that is. And with that in mind, search the forum with these words "Disable UAC" and you will find a solution to disable it via the registry. Also be aware that at some point, during this process the user is going to have to physically interact in one fashion or another, with the security prompt. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Bert Posted September 17, 2011 Posted September 17, 2011 Also, if it is for work I would think you use a domain setup so you could run your script with admin rights. The Vollatran project My blog: http://www.vollysinterestingshit.com/
IcemanND Posted September 17, 2011 Posted September 17, 2011 If the user running it has admin rights you can add the #RequireAdmin keyword to the beginning of your script and it will ask at the launching of the script and then should leave you alone after that.
nivtop Posted September 22, 2011 Author Posted September 22, 2011 Thanks for the replies guys, I'm going to try the tips you gave. Thanks again!
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