Permission issues running RoboCopy
Im on a Win 7 Home Premium machine. I work from home and use VPN into work. I have a mapped drive that points to one of the server shares at work. Inside that share I put files in folders and then use Robocopy in a .bat file to move the files to other folders on a cluster. Im in the Local Admin group on that server box which happens to be the first node in the cluster.so Im a local admin on the Cluster as well. On my XP box I had no permission issues. Now running from Win 7 it says You do not have the Backup and Restore File user rights. If I remote into that server and run the .bat file locally there are no issues. So Im assuming that the way Win 7 is passing my credentials is different or something. Anyone have any ideas on what I can do to fix this?
November 7th, 2009 12:20am

Hi, Just for a test, please try the following to see how it works: 1. Run the bat file by right-clicking on it and selecting Run as administrator. 2. Disable UAC in Windows 7, and run the bat file. If the issue didnt occur with the methods above, I suspect this should be also related to how this bat is designed, please also refer the following: Designing UAC Applications for Windows Vista Hope this helps. Thanks. Nicholas Li - MSFT
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2009 1:24pm

Neither #1 or #2 worked. I still can't find the fix. I thought it might have to do with the fact that I'm on Home Premium instead of Pro but I have a collegue who is running Pro and is running into the same issue. The .bat file is simply a RoboCopy command line info. This is all that's in the .bat file. "\\Web01\c$\WebSync\robocopy.exe" "\\Web01\WebSync\WebPortalTest" "\\Web01\c$\inetpub\wwwroot\WebPortalTest" /S /MIR /ZB /R:5 /W:30 "\\Web01\c$\WebSync\robocopy.exe" "\\Web01\WebSync\WebPortalTest" "\\Web02\c$\inetpub\wwwroot\WebPortalTest" /S /MIR /ZB /R:5 /W:30
November 16th, 2009 8:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics