CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Problem] Sharing files between 2 computers - Windows 7 and Windows XP
http://cs.rin.ru/forum/viewtopic.php?f=14&t=60869
Page 2 of 2

Author:  ChrisTX [ Sunday, 18 Mar 2012, 14:17 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

iceape wrote:
If the computers can ping each other, enable Guest user account on both of them using 'lusrmgr.msc'.
Using Win+R of course.
Then try connecting not through a name but through an IP address, like: \\192.168.0.1.
Again using Win+R ::D

This made me think of something; the guest account in XP does have a special purpose:
Quote:
By default, on computers that are running Windows XP Professional and that have not joined to a domain, all incoming network connections are forced to use the Guest account.

(source)

Furthermore, there is this KB304040.

Author:  iceape [ Sunday, 18 Mar 2012, 14:32 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

@ChrisTX, I was just speaking from experience. I know that with Guest acc disabled it is virtually impossible to connect to that PC, because of the option: Control Panel -> Folder Options -> View -> Enable simple file sharing.
If that option is ticked and Guest acc is disabled, you cannot connect to that computer through SMB in any way.
On Win7 that option is named: "Use Filesharing creator" or sth like that.

Also, it is possible that PC names won't get resolved in LAN without router (or will get resolved very slooowly) ,so I recommend connecting through IP. It is just faster that way.

Author:  ChrisTX [ Sunday, 18 Mar 2012, 14:51 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

iceape wrote:
@ChrisTX, I was just speaking from experience. I know that with Guest acc disabled it is virtually impossible to connect to that PC, because of the option: Control Panel -> Folder Options -> View -> Enable simple file sharing.
If that option is ticked and Guest acc is disabled, you cannot connect to that computer through SMB in any way.
On Win7 that option is named: "Use Filesharing creator" or sth like that.

Not exactly. Windows 7 does not force authentication through the guest account, it's also not possible to enable it. The "Sharing Wizard" in Windows 7 is a simplification of the file sharing menu, but is unrelated to the way simple file sharing operates on XP.

Simple file sharing on XP basically disables access control; sharing wizard doesn't. You can still choose whom to share with. On XP, if you enable simple file sharing, all incoming connections are forced to use the guest account. If it's disabled or remote logon rights are denied, it fails to establish the connection Windows 7 -> XP. Windows 7 on the other hand will authenticate using actual user accounts and features a fine grained access restriction in every case. File sharing wizard simplifies the sharing operation to the user, enabling to not to fuddle around with NTFS permissions, but that's it.

Again, another good reason why to migrate to Windows 7.

Author:  vsilvar [ Monday, 19 Mar 2012, 01:51 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

You also need to turn off password protected sharing on windows 7, I think..

Author:  iceape [ Monday, 19 Mar 2012, 12:18 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

ChrisTX, I think you got this thing wrong.
Quote:
Windows 7 does not force authentication through the guest account, it's also not possible to enable it.

I told a wrong way of achieving the forced authentication. vsilvar told the right one, the equivalent to 'Enable simple file sharing" in XP. Ergo, the option exists in Win7, it's just activated elsewhere ('Network and filesharing center' in Control Panel)

Quote:
On XP, if you enable simple file sharing, all incoming connections are forced to use the guest account. If it's disabled or remote logon rights are denied, it fails to establish the connection Windows 7 -> XP.

That's right even on Win7. 'Simple file sharing' (on XP) or 'Turn off password protected sharing' (on Win7) option is useless with guest acc disabled on both systems (checked by me). I didn't get the impression that b00t looked at that option, therefore I recommended that.

I shouldn't have mentioned filesharing wizard at all as I've never ever used that :wink:
And it's unrelated too.

Author:  ChrisTX [ Monday, 19 Mar 2012, 16:44 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

iceape wrote:
I told a wrong way of achieving the forced authentication. vsilvar told the right one, the equivalent to 'Enable simple file sharing" in XP. Ergo, the option exists in Win7, it's just activated elsewhere ('Network and filesharing center' in Control Panel)

No. Anonymous access != guest authentication. What you refer to is disabling password protected sharing.

This was changed in Server 2003 with the introduction of NT AUTHORITY\ANONYMOUS LOGON. Guest user redirection is not performed anymore, it's not working using said identity. The user is also not part of the Everyone group by default unless you enable the "Network access: Named pipes that can be accessed anonymously" GPO. If enabled, a sharing model akin to the NT 4.0 - XP model will be used. It's also still possible to grant ANONYMOUS LOGON access rights or to enable the "Network access: Shares that can be accessed anonymously" GPO which is what that control panel option does.
The major difference is in that there is no user account being used for redirection as it was in XP and earlier. Nowadays, the Guest user fulfills little purpose except for enabling quickly a guest access on a machine, yet Windows 7 also has the guest mode option for users which is similar to the older SteadyState technology and resets the user profile every login. (The same can be achieved for network-based profiles using mandatory profiles, by the way)

iceape wrote:
That's right even on Win7. 'Simple file sharing' (on XP) or 'Turn off password protected sharing' (on Win7) option is useless with guest acc disabled on both systems (checked by me). I didn't get the impression that b00t looked at that option, therefore I recommended that.

As previously mentioned, I am not an XP expert, but this is definitely not necessary for Windows 7. If you don't believe me:
Quote:
Deny access to this computer from the network

This security setting determines which users are prevented from accessing a computer over the network. This policy setting supersedes the Access this computer from the network policy setting if a user account is subject to both policies.

Default: Guest

Without performing an extra-grant of rights, enabling the guest account will not change the matter.

Author:  iceape [ Tuesday, 20 Mar 2012, 18:29 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

I stand corrected but I just discovered sth.
In order to prove your theory I checked Security Policy for any alterations I may have made since installation of my 7 system. Everything was untouched (default settings).

Then I checked for the Guest acc settings and as I disabled it in lusrmgr.msc I found out that in 'Advanced sharing settings' The "Turn password protected sharing" option is ON. Now when I try connecting from XP PC it asks for acc credentials.

Then I Turn password protected sharing OFF and Guest acc is magically enabled in lusrmgr. I can connect from XP without entering any credentials.

Then I Turn password protected sharing ON and we're back to the first situation (Guest acc off, asking for credentials).

Then I turn Guest acc on in lusrmgr (without changing PP sharing) and now we have Login error on XP: user is not granted the required login type on this computer (roughly translated form Polish).
%) %) %)

Seems like the "extra-grant of rights" is performed already by the "Turn password protected sharing OFF".

b00t, Y U NO ANSWER ???

EDIT:
Oh, and I have a folder on Win7 with sharing and NTFS permissions set on 'write' and 'read' for Everyone and I can write and read files from XP with 2nd situation.

Author:  b00t [ Tuesday, 20 Mar 2012, 19:14 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

Quote:
b00t, Y U NO ANSWER ???

Because I haven't had time to test it, that's why. I got a few helpful suggestions here, so I hope for the best.

Author:  iceape [ Tuesday, 20 Mar 2012, 19:29 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

Sorry :SORRY:
When you finish, tell us how it resolved.

Author:  ChrisTX [ Wednesday, 21 Mar 2012, 01:40 ]
Post subject:  Re: Sharing files between 2 computers - Windows 7 and Window

Hm, indeed interesting. I wasn't aware of it, but disabling password protected sharing changes the Guest state and removes the denial of network access for it. This is probably done to support XP-initiated SMB connections, which from what I can gather require it being enabled. However, for pure 7<->7 connections, this isn't necessary.

Page 2 of 2 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/