Access Denied Windows 7 Windows XP Network

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Getting Access is Denied when accessing Windows 7 share from Windows XP

1) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
create or modify 32-bit DWORD: LocalAccountTokenFilterPolicy
set the value to: 1

2) Disable the built-in Administrator again for security purposes. The problem is that you are trying to share
the root of C: which is a protected directory. There should never be a need to share out an entire drive.
Doing so just increases the chances that someone will damage your operating system. However, if this is not
a concern in your situation the information below will show you what to do. It was written for Vista but it is
also applicable in Windows 7.

"When you share out the root of a drive in Vista, the UI only allows this through the advanced sharing option.
When the advanced sharing option is used it only sets the share permissions. The actual permissions on a
file share are a combination of Folder and Share permissions. In Vista the everyone group doesn not have
permissions so when you connect without a password the system you can see the folders but not access
them or possibly connect to the share but fail to open it.

1. Open Computer
2. Right click on the shared drive and select properties from the context menu
3. Select the Security Tab in the displayed properties sheet.

If you are connecting to the computer with no password then you are connecting with the guest account. In
order to access the files on the drive, the everyone group needs to have access set here."

3) Make sure you have client for Microsoft Networks Installed

To Fix go to:
control panel - network and internet - network connection
Select the network adapter you use for the net wireless or LAN
right click it an select "properties"
Make sure "CLIENT FOR MICROSOFT NETWORKS" is there in the list under where it says"this connection
uses the following items"
if it is not click install
select "Client" then press "add"
select "CLIENT FOR MICROSOFT NETWORKS"
install and reboot

4) One more working solution


1) create a special user in Windows 7 (not a member of local administrators), e.g. "DriveAccessor" (it's a
good idea to set a strong password for him);
2) give him the "Full Control" permissions to the drive.
Then use this user account when accessing the drive from XP.

5) You can only use Homegroup with other Win7 computers. You'll need to disable the Homegroup and use
regular network sharing in your case.

In Windows 7, go to Control Panel>All Control Panel Items>Network and Sharing Center. Click on "Change
advanced sharing settings".

Turn ON network discovery


Turn ON file and printer sharing
Turn ON sharing in the Public folder sharing section
Turn ON password protected sharing

Create matching user accounts and passwords on all machines. You do not need to be logged into the same
account on all machines and the passwords assigned to each user account can be different; the
accounts/passwords just need to exist and match on all machines. DO NOT NEGLECT TO CREATE
PASSWORDS, EVEN IF ONLY SIMPLE ONES . If you wish a machine to boot directly to the Desktop (into
one particular user's account) for convenience, you can do this:

Start>Search box>type: netplwiz [enter]


Click on Continue (or supply an administrator's password) when prompted by UAC

Uncheck the option "Users must enter a user name and password to use this computer". Select a user
account to automatically log on by clicking on the desired account to highlight it and then hit OK. Enter the
correct password for that user account (if there is one) when prompted. Leave it blank if there is no password
(null).

For XP - Configure Windows to Automatically Login (MVP Ramesh)


-http://windowsxp.mvps.org/Autologon.htm

If one or more of the computers on your network is XP Pro or Media Center, turn off Simple File Sharing
(Folder Options>View tab).

In addition, sharing out the root of drives is not best practice since it is a security issue. The information from
Michael Bell (MS) below is for Vista but is also applicable to Win7:

"When you share out the root of a drive in Vista, the UI only allows this through the advanced sharing option.
When the advanced sharing option is used it only sets the share permissions. The actual permissions on a
file share are a combination of Folder and Share permissions. In Vista the everyone group doesn not have
permissions so when you connect without a password the system you can see the folders but not access
them or possibly connect to the share but fail to open it.

1. Open Computer
2. Right click on the shared drive and select properties from the context menu
3. Select the Security Tab in the displayed properties sheet.

If you are connecting to the computer with no password then you are connecting with the guest account. In
order to access the files on the drive, the everyone group needs to have access set here."

You might also like