Prevent windows 10 from saving zip password

It seems that windows 10 saves the password of zip folders during your login session. Once you enter your zip password once, you can access the file as many times as you want during one login session. If I want to manually remove the stored login session, all I have to do is go to my user account -> manage credentials -> and remove the stored password.

But how can I prevent windows from saving the password in the first place ?


Solution 1:

There is another way to remove those passwords without having to get into control panel every time. Use this command in a batch file.

FOR /f "tokens=2-3 delims==" %%G IN ('cmdkey /list ^| find ".zip"') DO cmdkey /delete:"%%G=%%H"