this article tells you how to removed cached password from windows, especially useful when you have connected to a NAS device with the wrong password. One way is using the keymanager. Although this article is for XP it is similar for the other operating systems. Als see this article, How To Delete Remembered Network Passwords In Windows.