Solution to sharing Windows 7 Folder to XP

Sharing Windows 7 folder is such a pain because Microsoft has changed a lot of default setting, mainly for the security reason, I think. But that made it so difficult to share a folder on Windows 7.

Windows 7 to Windows 7

Usually, Windows 7 to Windows 7 sharing is straightforward.

Configuration

The following is the base configuration.

  • All PC belongs to the same workgroup, named "WORKGROUP".
  • Windows 7 Home Premium or above
  • On both machines, identical user account exist.
  • For example, if there's an account on PC1 username=John password=happy, then on PC2, there should be matching user account (both username and password).

How to share

  1. Open 'Network and Sharing Center', select 'Change advanced sharing settings' from the left panel.
  2. On 'Home or Work' set the following
    • Turn on network discovery
    • Turn on file and printer sharing
    • Turn on sharing so anyone with network access...
    • This may be optional.

    • Use 128-bit encryption to help protect...
    • Turn on password protected sharing
    • Use user accounts and passwords to connect to other computers

Once the above is done, reboot the PC just in case. The PC can be accessed from other Windows 7 (and I guess Vista) at this point.

Accessing from XP

Still, you may not be able to access from XP. When you try to connect, you'll get 'PC1 is not accessible.' error. I've spent hours and hours to solve this problem, and the following is the solution.

  1. On the Windows 7 machine, Open registry editor
  2. Locate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa key
  3. Change the following values, it not configured this way
    • restrictanonymous to 0
    • everyoneincludesanonymous to 1
    • Don't change the value of restrictanonymoussam (on my PC, it was 1).
  4. Reboot the Windows 7 machine

After this, you can access to the PC from Windows XP machine, assuming that the same username/password exists on the XP as well.

新しいコメントの投稿

このフィールドの内容は非公開にされ、公表されることはありません。
  • ウェブページアドレスとメールアドレスは、自動的にハイパーリンクに変換されます。
  • 使用できるHTMLタグ: <a> <em> <strong> <code> <cite> <ul> <ol> <li> <dl> <dt> <dd> <p>
  • 行と段落は自動的に折り返されます。
  • Amazon製品へのリンクを次の形式で作成することが出来ます。[amazon product_id inline|full|thumbnail]. 例: [amazon 1590597559 thumbnail]
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • 画像を追加することが出来ます。

書式オプションに関するより詳しい情報...

認証コード
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
画像で表示されている数字および記号を入力してください。