How remove stored passwords for windows shares?

Soldato
Joined
18 Oct 2002
Posts
7,175
Location
Sussex
Been meaning to do this for ages, but never got round to it.

Our linux server has a samba share on it that we all connect to, however I need to connect to it on a different username than my own but windows has stored my login.

Is there a way of specifying a new username/pass or making windows "forget" the old one ?
 
there is a reg edit that we use is school to disable the pasword caching

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]

"disabledomaincreds"=dword:00000001

that make sence?
 
try this

net use \\10.0.0.1\ipc$ /delete

or
net use * \delete



I used the first one when I wanted to connect as an admin, but already had the share mapped


.
 
Back
Top Bottom