UAC doesn't "block" things, UAC just allows you to easily assume administrator privileges when you need them. NTFS permissions are what's blocking this.
UAC is smart about elevating specific things but doesn't know anything about whether a script would to run as an admin. The solution is the Elevate powertoy. Use it to run the script and the script will run as an admin (after prompting the user if the prompting is turned on). Carl From: Gavin Wilby [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 6:45 AM To: NT System Admin Issues Subject: Command line xcopy and Vista UAC Hello, I have a small batch file that needs to drop a file into c:\program files\common files\microsoft shared, it works for everyone with XP but I have one user on Vista (the MD) that gets an access denied when the file tries and copies over. Is it possioble that the Vista UAC will be blocking this file and if so, how can I get it to work through the script? G. ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~
