Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links



Access denied trying to copy file across home network

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-06-2007
Joe Ventre
 
Posts: n/a
Access denied trying to copy file across home network

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?
Reply With Quote
  #2  
Old 06-06-2007
PaulB
 
Posts: n/a
RE: Access denied trying to copy file across home network

Do you have File sharing and public folder sharing turn on in VISTA?
--
Paul


"Joe Ventre" wrote:

> 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?
>

Reply With Quote
  #3  
Old 06-06-2007
Joe Ventre
 
Posts: n/a
Re: Access denied trying to copy file across home network

PaulB wrote:
> Do you have File sharing and public folder sharing turn on in VISTA?

yes i do
Reply With Quote
  #4  
Old 06-06-2007
Jimmy Brush
 
Posts: n/a
Re: Access denied trying to copy file across home network

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

On Tue, 05 Jun 2007 20:15:30 -0400, Joe Ventre <joeventre@comcast.net>
wrote:

>PaulB wrote:
>> Do you have File sharing and public folder sharing turn on in VISTA?

>yes i do

Reply With Quote
  #5  
Old 07-06-2007
Joe Ventre
 
Posts: n/a
Re: Access denied trying to copy file across home network

Jimmy Brush wrote:
> 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
>
> On Tue, 05 Jun 2007 20:15:30 -0400, Joe Ventre <joeventre@comcast.net>
> wrote:
>
>> PaulB wrote:
>>> Do you have File sharing and public folder sharing turn on in VISTA?

>> yes i do

Your assumptions are correct - that is what I am trying to do
Reply With Quote
  #6  
Old 08-06-2007
Jimmy Brush
 
Posts: n/a
Re: Access denied trying to copy file across home network

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.


--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Reply With Quote
  #7  
Old 08-06-2007
Joe Ventre
 
Posts: n/a
Re: Access denied trying to copy file across home network

Jimmy Brush wrote:
> 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>

Reply With Quote
  #8  
Old 09-06-2007
Jimmy Brush
 
Posts: n/a
Re: Access denied trying to copy file across home network

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?

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Reply With Quote
  #9  
Old 25-07-2007
Ben
 
Posts: n/a
Re: Access denied trying to copy file across home network

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?

"Jimmy Brush" wrote:

> 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?
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ - http://www.jimmah.com/vista/
>

Reply With Quote
  #10  
Old 06-08-2007
Jimmy Brush
 
Posts: n/a
Re: Access denied trying to copy file across home network

Hello,

I made a program that might help diagnose the problem. If you could run
the program and copy and paste the results into a response:

http://www.jimmah.com/vista/downloads/copytest.zip

--
-JB
Microsoft MVP - Windows Shell/User
Windows Vista Support FAQ - http://www.jimmah.com/vista/
Reply With Quote
  #11  
Old 03-01-2008
dipi44
 
Posts: n/a
Re: Access denied trying to copy file across home network


Hello, I have the same problem, Network sharing problem between windows
vista home premium and windows xp pro, no firewall + antivirus in both
of the computers, sharing activated complete access to all users.

Information on current user:

Username: LAPTOP2\DEEPAK
SID: S-1-5-21-2846229188-3574033681-630188045-1000
Groups: "LAPTOP2\None" "Todos" "BUILTIN\Administradores"
"BUILTIN\Usuarios" "NT AUTHORITY\INTERACTIVE" "NT AUTHORITY\Usuarios
autentificados" "NT AUTHORITY\Esta compañía" "LOCAL" "NT
AUTHORITY\Autenticación NTLM"

Information on source file:

Attributes: Archive
Owner: S-1-5-21-1202660629-492894223-839522115-1003
Group: S-1-5-21-1202660629-492894223-839522115-513
Allow: Todos (inherited)
Modify, Synchronize
Allow: S-1-5-21-1202660629-492894223-839522115-1003 (inherited)
FullControl
Allow: NT AUTHORITY\SYSTEM (inherited)
FullControl
Allow: BUILTIN\Administradores (inherited)
FullControl

Information on destination folder:

Attributes: ReadOnly, Directory
Owner: LAPTOP2\DEEPAK
Group: LAPTOP2\None
Allow: LAPTOP2\DEEPAK (inherited)
FullControl
Allow: LAPTOP2\DEEPAK (inherited)
GenericFullControl
ContainerInherit, ObjectInherit, InheritOnly
Allow: NT AUTHORITY\SYSTEM (inherited)
FullControl
Allow: NT AUTHORITY\SYSTEM (inherited)
GenericFullControl
ContainerInherit, ObjectInherit, InheritOnly
Allow: BUILTIN\Administradores (inherited)
FullControl
Allow: BUILTIN\Administradores (inherited)
GenericFullControl
ContainerInherit, ObjectInherit, InheritOnly

Attempting to copy file using method 1 (CopyFile API)...

Error encountered while copying file:
Acceso denegado a la ruta de acceso 'C:\Users\DEEPAK\Desktop\PARTE
TECNICO MODELO 23-02-2005-1.xls'.

Attempting to copy file using method 2 (SHFileOperation in silent
mode)...

Error encountered while copying file:
HRESULT 0x80004005 (Win32 0x5): Acceso denegado

Attempting to copy file using method 3 (SHFileOperation in interactive
mode)...

Error encountered while copying file:
HRESULT 0x80004005 (Win32 0x4c7): El usuario ha cancelado la operación


--
dipi44
Reply With Quote
  #12  
Old 02-03-2008
captdantman
 
Posts: n/a
Re: Access denied trying to copy file across home network


I had the same problem. It turned out to be the permissions on the file
I was trying to copy. My software share has gone through many
permissions changes from being on domain then to workgroup etc. I used
ERD and reset permissions to FULL Control for Everyone and was able to
copy the files without issue. I noticed this because on my main
computer (Windows XP) that I was copying files from to my Vista
Ultimate, I wasn't able to open a few files, and I didn't get any error
message that seemed relevant. But after resetting permissions,
everything worked.


--
captdantman
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Access denied trying to copy file across home network"
Thread Thread Starter Forum Replies Last Post
Cannot copy (file name). Access Denied luv2bike2 Windows Server Help 2 11-05-2010 12:31 AM
Home network - Printer access denied from Vista PC to XP PC Bill Vista Help 5 31-10-2009 03:12 AM
Access Denied errors on home network Rowan Bradley Windows Vista Network 4 11-06-2009 06:48 AM
File server denied access by Domain Controller: Access is denied because of failure to authenticate Jim Windows Server Help 2 24-05-2007 10:46 AM
XP Home Edition.... Home Network.... Access Denied Auxarcer Windows Server Help 1 13-01-2007 12:15 AM


All times are GMT +5.5. The time now is 06:53 PM.