Hello, all.
I am working on a batch file that will copy down required updates to some software in "Program Files." (Using the XCOPY command).
This works fine as long as it is on XP and the user is at least a Power User (ability to modify "Program Files"). I understand about the Power User requirement, so about XP is not the problem.
With Windows 7, however, when we try running the batch file, it gives us an "Access Denied" error. Even if the user is a domain admin it gives the same message. The only way to get around this is to right click on it and make it "Run as Administrator".
Any ideas on how to make it run for a Power User? I don't believe that it would allow a Power User to run it under Run as Administrator, so am wondering if there is a way to make it do something like "Run as Power User."
Any help would be greatly appreciated!
I am working on a batch file that will copy down required updates to some software in "Program Files." (Using the XCOPY command).
This works fine as long as it is on XP and the user is at least a Power User (ability to modify "Program Files"). I understand about the Power User requirement, so about XP is not the problem.
With Windows 7, however, when we try running the batch file, it gives us an "Access Denied" error. Even if the user is a domain admin it gives the same message. The only way to get around this is to right click on it and make it "Run as Administrator".
Any ideas on how to make it run for a Power User? I don't believe that it would allow a Power User to run it under Run as Administrator, so am wondering if there is a way to make it do something like "Run as Power User."
Any help would be greatly appreciated!