Of course I can run rundll32.exe keymgr.dll, KRShowKeyMgr using Shell command and ask users to clear the network credentials on their own, but it's risky as they might accidentally delete something else. Even when I delete the network drive by net use \\abcdefg\shared \delete, username and password is still cached, and needs to be cleared using keymgr.dll However, always remember to double-check the commands you run for accuracy to avoid accidentally causing any issues. Using these two methods you’ll be able to easily find passwords on your Windows 10 and 11 computers. The Stored user names and passwords window will pop up. The only way to disconnect from \\abcdefg\shared is to clear the network drive credentials using keymgr.dll.Įven if user won't ever switch the accounts, I still want him to be able to disconnect from the network drive completely, and for that, clearing the network credentials is an essential step. rundll32.exe keymgr.dll,KRShowKeyMgr Hit Enter. Account2(username2, password2) has different privileges, and at the moment he wants to connect to the network drive with that account. For instance, someone is logged on \\abcdefg\shared with Account1( username1, password1). Well I am the network administrator, and I'm trying to build the program that would let users clear network drive's credentials on their own.