如何刪除 windows 網路芳鄰登入的帳號密碼 Cache

Clear Windows Samba Login Password

If you connect for example on Linux Samba server, for example \\192.168.2.1, and use for first shared folder one user and pass, and after that you try to login to second folder with another user and pass, Windows can’t login.

The only way to login ( I found ) is to delete share, to clear window’s share cache. Open cmd, and type the following
command net use to list connection status and use net use /delete to delete the connection.
command:
net use
net use /delete \\192.168.2.1

如果路徑 中包含了中文字或是空白字元可以將路徑用雙引號括起來
例如:建立連線 net use “//192.168.128.245/User 共用區"
建立網路磁碟機 net use P: ”//192.168.128.245/User 共用區"

刪除連線 若已建立為網路磁碟機該用磁碟機代號來刪除連線:net use /delete P: ,否則會出現找不到路徑的錯誤。

沒建立網路磁碟者直接指定路徑來刪除: net use /delete “//192.168.128.245/User 共用區"

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s