Access denied to a shared file on LAN

by Abhishek Bhatnagar on January 22, 2008

Advertisement

Trouble:

Do you get “Access denied” error message when you try to access some file or folder on a shared folder on a home or office network ?

This is one very commonly faced problems with computers using NTFS file system which most of the windows Xp computers used.

In such a case, when a person shares some folder on a network, then there is usually a read permission for all others. That means all other people, other than the owner of that shared folder can only read its contents and not modify them.

Why Access denied ?

Sometimes it happens that other computers on the network don’t have even the permission to read anything from shared folder (which is on other computer) specially when the person shared the file in my documents , or some file shared on his desktop but these files which lies in my documents or on desktop are private by default when you use windows XP with ntfs file system. This is why Access Denied error message is shown.
How to fix it ?

This problem can be fixed by providing read or read-write permission on the folder from the computer which actually contains the folder.

Fix:

Let us see the steps to fix the problem :


1. Open My computer, Go to Tools > Folder option , click on View tab.

2. In advance settings, un-check “use simple file sharing” as shown in image below. Click Ok.

simple_file_sharing.JPG

3. Right click on the shared folder and click on Properties.

4. Click on Security tab on Properties window as shown in image below.

Advertisement

security_tab1.JPG

5. Click on Add… Button on this window, this will launch another window as shown below.

add_everyone1.JPG

6. In this window type everyone and press enter. This will add a user called everyone in the group or user names window of security tab which means any one on the network can access the shared files now.

7. Click on the user named Everyone to set default permissions allowed for the folder and set the permission as shown in image below and click Ok.

permissions.JPG

These permissions will be applicable to everyone on the same network on which computer is right now. As an example the image below shows that everyone has a read and execute permission. It does not give write or modify permission.

You can decide on permission which you want to give to others on the network.


NOTE:This fix is meant for NTFS partitions only.

TIP: If you want to share the folder with only one or two users and not with everyone on the network, then simply write their usernames in step 6 above instead of everyone, and set the permission for that user as mentioned in step 7.

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 13 comments… read them below or add one }

Liz April 27, 2008 at 11:07 pm

This is a GREAT solution. I’ve seen this problem all over the web, but this is the only solution that worked! I had the permissions correct under “Sharing,” but they also have to be correct on the “Security” tab…. THANKS!

Tony August 29, 2008 at 1:01 pm

Most excellent solution, solved the problem instantly. Many Thanks

javed December 25, 2008 at 4:24 am

hi admin, i’m facing a very swere problem. i was using win xp pro sp3 installed on my computer on c:\. i have my all data in d:\ which is NTFS partition also encrypted. two users were there one was administrator other was Pc User. Pc User have no rights to access the d:\ due to NTFS security permissions which was done by me. i’m the administrator and have rights and access to d:\ and all folders and files inside. Due to my system crash i’ve re-installed the same windows xp sp3. but first i can’t acces the D:\ even with admin account. now i can acces the only D:\ and folders but when i click on any file an error appears and i cannot execute my exe programs, my movies, my docs and other data. i can access alla the folders inside but not the files please help me i’m in great tension pleaeaeaease i’ll be very thankful to you……

waiting for ur reply……….

abhishek December 27, 2008 at 7:29 am

@javed – Here is the solution to your problem, check out the URL given below for the exact solution to your problem.

http://www.technixupdate.com/how-to-recover-lost-data-from-encrypted-ntfs-partition-after-system-format-or-administrator-password-forgot-situation-in-vista-and-xp/

Jason January 22, 2009 at 3:43 pm

Hi There, I have a bit of a problem with NTFS file permissions. I’ve got a folder which I set deny USERS now I can’t change the permissions back again even as an Admin user.

Is there any way to fix this?

Terry Hollett February 13, 2009 at 11:24 am

I’ve had trouble sharing folders for awhile now. When I created a folder for sharing on my network I would right-click on it and chose the ‘Sahring and Security’ option.

The ‘Network and security’ sharing option was always disabled. That’s when I relized that I forgot to run the Home Network wizard and to enable ‘printer and file sharing’.

Now its just a matter of going to the Network and Security’ tab and chosing the options to ‘Share this folder’ and ‘Allow network users to change my file’. I’ve been able to access all folders now without the extra step described above.

Both computers have WinXP Pro with NTFS.

marchakd September 11, 2009 at 2:28 am

small office LAN

Workgroup=PC1&PC2

PC1=XP Home Eddition
PC2=XP Pro

Same name for USER NAME
Same password

PC2 =My network palce shows all the members at the LAN .OK
PC1 =My network place shows only PC1
From PC1 ,Access denied to PC2

Do you have some idea to resolve the mistery?

Thanks,
David

valerie October 20, 2009 at 4:52 pm

i cann’t use your instruction because there is no ““use simple file sharing”. Pls help me, what I’m going to do? pls help.

jo kirk February 3, 2010 at 12:49 pm

wheew relief it worked thanks alot save me time from reformating my pc..thanks again

Pete June 21, 2010 at 2:37 pm

Great advice!!!
A big THANK YOU! is the least i can say.


Pete

Charles Johnson February 24, 2012 at 9:17 pm

Wow… learn something everyday… pretty neat. Thanks for your time.

quench March 13, 2012 at 4:54 pm

THANK YOU SO MUCH1!!!!!!!!!!!!!!

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.