Access denied trying to copy file across home network

J

Joe Ventre

I am trying to copy a file from an XP system to a Vista system and I'm
getting an error telling me I do not have permission to do it and access
is denied to the destination system. Here is the setup: I have a home
network. On the Vista system I use START RUN and type in the name of
the XP system (ex: system1). Using Windows explorer on the Vista system
I drag the file from the source directory on the XP system to the
destination folder on the Vista system. That generates the error
message. It does not tell me how to get the permission I need but since
I am running as the Administrator on the Vista system I didn't think I
would need permission. If I just copy the file to something like a USB
drive and then plug the USB drive into the Vista system I can copy the
file onto my hard drive with no problem. Any thoughts on how to correct
this?
 
J

Jimmy Brush

Hello,

Is this the situation you are encountering:

- Attempting to copy a file from a network share to a specific folder
results in access denied

- Attempting to copy a file from any other source (such as a hard
drive or USB drive) to the *same, specific location* works fine

- You can verify that it is the same destination folder, the same
file, and doing it from a network share doesn't work but any other way
does

- JB
 
J

Joe Ventre

Jimmy said:
Hello,

Is this the situation you are encountering:

- Attempting to copy a file from a network share to a specific folder
results in access denied

- Attempting to copy a file from any other source (such as a hard
drive or USB drive) to the *same, specific location* works fine

- You can verify that it is the same destination folder, the same
file, and doing it from a network share doesn't work but any other way
does

- JB
Your assumptions are correct - that is what I am trying to do
 
J

Jimmy Brush

Well,

The good news is that I am aware of other people having this problem.

The bad news, is I am not aware of the cause of or solution to this problem.

Although I did hear that some people had success by disabling an
antivirus program that lives on the computer you are trying to copy from.

I would be interested in seeing the security settings that are being
applied to the folder you are attempting to save to, the folder the file
is comming from, and the source file itself.

First, access the file share on the other computer from explorer and
enter your password (if required) - this will establish a connection to
the other computer and allow the following commands to work.

Could you do the following:

- Click start
- Type: command prompt
- Click on command prompt when it appears
- cd to the folder that you are attempting to save the file to, and type:

icacls .

For example, if you are attempting to save to your desktop, type:

cd %userprofile%\desktop
icacls .

Then, type the following commands:

icacls \\computer\folder_containing_file
icacls \\computer\folder_containing_file\file

For example, if the file you are trying to copy is called info.dat,
lives on a computer named JIMMY, and is located directly inside a share
named FILES, you would type:

icacls \\JIMMY\FILES
icacls \\JIMMY\FILES\info.dat

Then copy the output of these 3 commands into a reply.
 
J

Joe Ventre

Jimmy said:
Well,

The good news is that I am aware of other people having this problem.

The bad news, is I am not aware of the cause of or solution to this
problem.

Although I did hear that some people had success by disabling an
antivirus program that lives on the computer you are trying to copy from.

I would be interested in seeing the security settings that are being
applied to the folder you are attempting to save to, the folder the file
is comming from, and the source file itself.

First, access the file share on the other computer from explorer and
enter your password (if required) - this will establish a connection to
the other computer and allow the following commands to work.

Could you do the following:

- Click start
- Type: command prompt
- Click on command prompt when it appears
- cd to the folder that you are attempting to save the file to, and type:

icacls .

For example, if you are attempting to save to your desktop, type:

cd %userprofile%\desktop
icacls .

Then, type the following commands:

icacls \\computer\folder_containing_file
icacls \\computer\folder_containing_file\file

For example, if the file you are trying to copy is called info.dat,
lives on a computer named JIMMY, and is located directly inside a share
named FILES, you would type:

icacls \\JIMMY\FILES
icacls \\JIMMY\FILES\info.dat

Then copy the output of these 3 commands into a reply.
I have found that I can copy some files but not all. When I followed
your directions I was able to get output for the icacls . command and
the icacls \\xxx\yyy command but when I tried to use icacls
\\xxx\yyy\info.dat I get an error saying the system cannot find the
file. This same error occurs when whether the file name I use is one I
am able to copy or one I cam not able to copy. Here is the result of
the 2 commands that did work:

for icacls .
.. xxx\home:<I><OI><CI><F>
xxx\yyy:<I><OI><CI><F>
BUILTIN\Administrators:<I><F>
BUILTIN\Administrators:<I><OI><CI><IO><F>
NT AUTHORITY\SYSTEM:<I><F>
NT AUTHORITY\SYSTEM:<I><OI><CI><IO><F>
BUILTIN\Users:<I><OI><CI><RX>
NT AUTHORITY\Authenticated Users:<I><M>
NT AUTHORITY\Authenticated Users:<I><OI><CI><IO><M>

for icacls \\xxx\yyy
\\xxx\yyy Everyone:<OI><CI><RX>
BUILTIN\Administrators:<I><OI><CI><F>
NT AUTHORITY\SYSTEM:<I><OI><CI><F>
No mapping between accountnames and security IDs was done. <I><F>
CREATOR OWNER:<I><OI><CI><IO><F>
BUILTIN\Users:<I><OI><CI><RX>
BUILTIN\Users:<I><CI><AD>
BUILTIN\Users:<I><CI><WD>
 
J

Jimmy Brush

Hmm...

- Are there any characteristics that the files that won't let you copy
them have in common?

It is very strange that some files will let you copy them to a certain
folder, while others won't to that same folder.

It's also unusual that the icacls utility is not able to open files in
that share.

Are you running any security software on the machine that you are
copying from? Have you tried temporarily disabling it and seeing if that
helps?

Do this:

- Click start
- Type: services
- Press enter
- Look for a service called "Network access protection agent"
- Is it running?
 
G

Guest

Hi guys,
Also having the same problem.
I checked "Network access protection agent" and it's not running.
So far I have been able to copy mp3's, but not exe or jpg.
Any more ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top