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

I have a Windows 7 system that is in a Workgroup.  I have shared the C root with a sharename called CDrive.  I am trying to access this share with a Windows XP system that is enrolled in a Domain.

From the XP system command prompt, I call net use z: \\win7system\cdrive /user:myuser (myuser is an administrator account on Win7System).  The net use completes successfully, however, when I try to access the shared drive I get a message "Access is denied".  Why is this happenning and how can I correct it?

Note:  I am able to access the pre-defined homegroup shares, but not the C Root share that I set up through WIndows Explorer.

I have seen other posts on similar sharing issues with Windows 7 and XP, but most seem to indicate that both the XP and Windows 7 system must belong in the same workgroup.  What about if they do not like in my case?

Answer
Answer
Hello,
sorry for my English, but i have found answer to your question. Solution is realy easy just a one key in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
create or modify 32-bit DWORD: LocalAccountTokenFilterPolicy
set the value to: 1

Thats all folks
Tom

59 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Answer
Answer
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."



MS-MVP - Elephant Boy Computers - Don't Panic!
Elephant Boy Computers - Don't Panic!

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 14, 2024 Views 240,976 Applies to: