Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

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