I use the copyfile function to copy a later version of an application from a server to local machines. This always worked fine on Win XP, but now the local machines are using Win 7.
The users are now prompted for administrator credentials. How can I elevate the privileges (using code) so that the copyfile function can run without the user needing to enter admin credentials?