Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to copy a ~5 GB file to a folder on my D:\ drive from an XP machine and getting the following error:

You don't have permission to copy files to this location over the network.

enter image description here

It then suggests I copy to the Documents folder first. Copying to the Documents folder first would be all fine and dandy if I had 5 GB to spare on C, but I don't.

The D drive contains my old Windows 7 installation, and copying to these folders requires elevated permissions. Why am I prevented from copying directly to these folders?

share|improve this question
    
To clarify, the source file is on the XP machine, and you're attempting to perform the copy from a Windows 8 machine, with the destination as the root of the D:\, running as admin, correct? Can you create files in your D:\ locally? –  ernie Oct 30 '12 at 15:55

5 Answers 5

up vote 3 down vote accepted

I ended up finding a very detailed explanation here. It seems, in a nutshell, the problem lies in the fact that while my user account has been authenticated with the XP machine, my administrative account has not.

Network logins are stored by individual login sessions, meaning that as a user the network credentials are stored, but any elevated processes do not have the credentials. This creates a problem when trying to copy the file over the network, because to retrieve the file I must be a user, but to put the file in the D drive I must be an administrator.

User token:

  • Can access network share
  • Can't save in admin folders

Admin token:

  • Has no stored credentials for network share
  • Can save in admin folders

Adding my plain-old-user self (mymachine\tanner) to the permissions solved the problem.

share|improve this answer
1  
If you came here from Google: Please let me know if this answer explained the problem to you! This question is getting a lot of traffic, but I can't tell if I explained it well enough. –  Tanner Mar 15 '13 at 19:43

It sounds like some new security feature. Regular users can't create files on partitions root, so maybe they've somewhat extended it to administrators too. Try create a folder and drop the file inside.

share|improve this answer

From Wikipedia:

The administrative shares are the default network shares created by most Windows NT-based operating systems (NT/2000/XP/2003/Vista/Windows 7). These default shares share every hard drive partition in the system. These shares will allow anyone who can authenticate as any member of the local Administrators group access to the root directory of every hard drive on the system

Are you authenticating on the XP machine, or are you just browsing to a visible path on the network?

For a quick fix, just reverse the direction. Go to the XP machine and pull the file from your D:\ on your Windows 8 box.

share|improve this answer
    
I'm authenticating through the domain with admin privileges, so it looks like this has nothing to do with the privileges on the XP machine. –  Tanner Oct 30 '12 at 15:52
    
Yea. Can you check your permission on that folder and see what you do have? –  corwin01 Oct 30 '12 at 15:54
    
I have full control. Only thing that is different is that I'm not the owner. –  Tanner Oct 30 '12 at 15:54
    
Can you take ownership? –  corwin01 Oct 30 '12 at 15:55

Method 1: Add everyone to the folder permission and check. We will try to give access to everyone and check.

  1. Right-click the file or folder, and then click Properties.
  2. Click the Security tab.
  3. Under Group or user names, click your name to see the permissions you have.
  4. To open a file, you need to have read permission. For more information on permissions, see What are permissions?

Method 2: Perform sfc scan and check.

  1. Type “cmd” on the Start screen.
  2. Right-click on it and select “Run as administrator”.
  3. Type the following command and press Enter: sfc /scannow
share|improve this answer

Open up an administrative command prompt, then map the share again in this administrative context.

net use \\destserver\share /user:destserver\username password

Retry the copy/move in explorer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.