clear out windows 10 network credentials without rebooting

11

3

i need to be able to completely clear the network credentials that i use to open a shared folder on my NAS. I want to be able to do it without a reboot, i've tried the following solutions so far:

1) start -> Control Panel -> User Accounts and Family Safety -> Credential Manager. I found the stored credentials and deleted them.

2) by using an elevated prompt: net use Z: /d

In both cases, something was deleted, but as soon as i try to connect again to the network folder, it connects directly without asking me for any login credential

Any suggestion?

thanks in advance.

rekotc

Posted 2016-04-25T11:25:58.510

Reputation: 231

Question was closed 2017-06-04T09:59:12.853

yes i tried them all, i also killed the explorer.exe as instructed, but as soon as i try to connect to the usual network share, i login automatically without being asked for my credentials... – rekotc – 2016-04-25T12:43:58.943

2ok, i was able to completely wipe the credentials by restarting the LanmanWorkstation service. I'll add it to my post, problem solved. – rekotc – 2016-04-25T12:51:43.210

you can use ccleaner. it has an option to clear network passwords. – Manoj – 2016-04-25T12:57:01.567

I've edited the solution you came up with out of your question. If you have a solution, please add it as an "answer". – Ƭᴇcʜιᴇ007 – 2016-04-25T19:41:23.747

You also need to disconnect from the IPC$ share. Even when you unmap all network drives, it may still be connected. Also, there may still be unmapped connections to shares, too. – Daniel B – 2017-01-13T10:27:26.880

Answers

12

You can remove the authenticated credentials from Control Panel\All Control Panel Items\User Accounts

Click the username

  1. To the left you will see Manage your credentials. From that select the share name and remove

Once the above is done, delete using net use

  1. Start > Run > cmd > net use * /DELETE

Source:

manjesh23

Posted 2016-04-25T11:25:58.510

Reputation: 1 404

i tried again, in the specific order you suggested, and it works! But i don't understand where's the difference – rekotc – 2016-04-25T11:52:07.333

@rekotc, not really sure how Windows is designed. Please accept the answer if this worked. Thanks again for confirming. – manjesh23 – 2016-04-25T11:53:29.573

actually it seems to work a bit erraticaly, if i log in without saving my credentials first, your solution doesn't work. Stupid windows – rekotc – 2016-04-25T12:10:28.027

If you have not saved the credentials, how can you erase the credentials??? – manjesh23 – 2016-04-25T12:11:28.893

that's exactly the point: if i dont save them, there is no entry in Windows Credentials (and this is obviously correct), but they still appear in the list using "net use". But even after using "net use * /DELETE" i can login automatically without the need for a password, which is not what i want – rekotc – 2016-04-25T12:15:08.683

Not sure with Windows. – manjesh23 – 2016-04-25T12:22:09.937

thanks anyway, there must be another place somewhere where windows keeps a cached copy of my credentials, i need to flush it too somehow. – rekotc – 2016-04-25T12:25:03.733