Wednesday, October 1, 2008

ผิดพลาดเมื่อเราทำการเข้าถึงทรัพยากรในเครือข่าย

Error message when you try to access a Windows.

# "\\host\d is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions."

# Path not found อาไรประมาณนั้น(ปัญหานี้บางทีสายแลนด์อาจหลวมถ้าไม่ใช่ให้ดูที่ firewall ของ antivirus)

# ปกติ
- เมื่องเราจะเข้าถึง ไฟล์ หรือ เอกสารที่เครื่องในวงแลนด์แชร์ไว้ กด Windows + R พิมพ์ \\<host>
- ถ้าเครื่องที่แชร์ไม่ได้ตั้งรหัสผ่านจะสามารถเข้าได้เลย
- แต่ถ้าเครื่องที่แชร์ตั้งรหัสผ่านก็จะมี popup ให้เรากรอก user และ password

# ไม่ปกติ
- เราเจอ folder ที่แชร์ไว้แล้วแต่เราดับเบิ้ลคลิกแล้วเข้าไม่ได้
- \\<host> เข้าไม่ได้เลยและไม่ขึ้น อาไรให้เรากรอกเลย
- ดังภาพด้านล่างเนี๋ย



# สาเหตุ หรือ ความน่าจะเป็น
- สาเหตุที่เครื่องแชร์อาจจะเกี่ยวกับ firewall หรือ ถ้าเป็น vista อาจจะเกี่ยวกับ Network and Sharing Center (firewall ของ antivirus ด้วยตัวดีเลย)
- สาเหตุที่เครื่องไคล์เอน อาจจะเกี่ยวกับ service Compuer Browser หรือ regedit
- หรือ อาจจะเป็นที่ permission ของ folder ที่ได้เปิดแชร์ไว้จำการ user ที่จะเข้าถึง

# วิธี(อาจ)แก้ปัญหาได้
- ลองปิด firewall ที่ server(เครื่องที่แชร์ไฟล์) และ ที่ client (เครื่องที่เข้าถึงไฟล์)
- หรือ ลองเปิด Service ที่ชื่อ Computer Browser
- หรือ แก้ไข regedit ตามลิ้ง http://support.microsoft.com/kb/913628

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then double-click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. On the right side, double-click restrictanonymous.
4. Make sure that the value in the Value data box is set to 0, and then click OK.
5. Close Registry Editor.
6. Restart the computer.

- เมื่อเราทำการแก้ไขที่เครื่อง client แล้วควรจะ reboot ก่อนแล้วลองเข้าถึงไฟล์ใหม่อีกครั้ง
- ถ้าเป็น vista ให้เราเข้าไปที่ Network and Sharing Center => Sharing and Discovery
มองหา Password protected sharing ถ้า On มันซะเครื่อง client จะได้ขึ้นถาม user กับ password

# จากการทดสอบ
- ใช้ XP เข้าถึงไฟล์บนเครื่อง Vista สามารถแสดง รายการไฟล์ที่แชร์อยู่ได้แต่ไม่สามารถเปิดเข้า folder ได้
- ให้ลอง On ฟังก์ชั่น Password protected sharing ใน Network center
- มันก็จะมี popup ขั้นมาถาม user กับ password แล้วทำให้สามารถเข้าไปใน folder ที่แชร์ได้


# อ่านเพิ่มเติม : support.microsoft.com

No comments:

Post a Comment

Popular Posts