For some reason, a user suddenly cannot use the "NET USE" command to map network drives. Windows logon is working, but accessing network shares become very strange, with "System Error 2221 has occurred" message. This probably is a stored credential problem.
SOLUTION: Press your Windows' Start / Launch, in "Search programs and files" field type "Credential Manager" and you should see it shows up on the list. Run it.
Check the stored credentials and remove related credentials, by click on the "Remove from vault". Now, try your NET USE command to map drives again.
I was getting the same problem, drive mappings were not working.
ReplyDeleteI deleted the entry in Credential Manager and rebooted, worked like a dream
Thank you very much mate.
Deletejust found this answer through various searches, and you have just solved a problem i have had for 2 days. Thank You so much
ReplyDeleteGood work Jack.
ReplyDeleteMy situation is that all the people having this issue at my work are only getting it through the VPN. We have confirmed that a person would have to log off the VPN then clear the credentials required (and choose correctly from the myriad of listed items) then log back onto the VPN and clear the session credentials and go back through the VPN log off/on process again. We've confirmed it all a half a dozen times but still searching for that elusive permanent fix that removes the need for the laborious work-around of credential-clearing-log-on-off-on etc.
Keep up the good work.
Cheers,
Grumpy Old IT Guy.
Helped me today. Thanks. Trevor.
ReplyDeleteHello Jack. I work at a multinacional company, on Brazil's subsidiary. This post have just helped me a lot with an issue in Chile. Thanks! Gustavo, from Brazil.
ReplyDeleteTHAT'S THE FACT JACK! Thank you sir! This helped me too.
ReplyDeleteThanks man, that did the trick
ReplyDeleteThanks a lot, that helps a lot on VPN / credential issues
ReplyDeleteThank you!
ReplyDeleteExcellent! Thank you! This solved a Windows Server 2012 Essentials based domain for accessing a windows 8.1 drive. Excellent!
ReplyDeleteAmazing! Saved me hours of aggravation. Thanks
ReplyDeletethx, saved my ass with that one :)
ReplyDeleteworked perfect thank you
ReplyDeleteWorks!! Hot damn...Thank you!
ReplyDeleteAwesome! Thank you so much!
ReplyDeletethanks for the tip!! Appreciate it
ReplyDeleteNice one....Thanks
ReplyDeleteWorked again, thanks!
ReplyDeleteHad an SVP encounter this issue today. People freaked out.. Thank you for allowing me to calmly save the day.. The solution expressed here works like a charm.
ReplyDeleteMay also correct an error showing in the GUI of "An extended error has occured".
I love you! This just saved me from a massive headache I was having for 2 days. Come to Jamaica and feel alright! DJ Archie.
ReplyDeletegreat :D
ReplyDeleteNice work! I'll try to remember credential manager next time. Very handy!
ReplyDeleteI encountered this today - a user logged onto her PC with a local account (which she was not supposed to do) and tried to run an application that connected to an application server which munged the credential for that member server. Following these instructions on her PC fixed it and I learned something new at the same time! (I've also removed the local profile. Bad user, Bad!)
ReplyDeleteWorked for me. A connection to our fileserver was using an incorrect username. I could only map the drive by IP address and not with FQDN
ReplyDeleteI've been trying to figure out a strange file share access issue for an hour now. Finally caught this error after testing with net use and found this page. Removed the bad credentials and things were instantly fixed. Thanks!
ReplyDeleteWorked for me, too
ReplyDeleteThanks a lot for posting solutions,
Axel
I owe you a beer next time you visit Oslo :)
ReplyDeleteWorked for me!
ReplyDeleteI was looking at TCP/IP settings and a dozen other things.
Thanks for the help!!
Thaank you so much!! Worked like a charm.
ReplyDeleteThx! U are The Best
ReplyDeletethank you ,this was the reason !!
ReplyDeleteWould just like to add my appreciation as well - that did the trick. Will remember this one, very useful.
ReplyDeleteYes, very useful
ReplyDeleteThanks ran into this first time ever - it worked. Dave Ross
ReplyDeleteThank you
ReplyDeleteThanks Man! and 'thanks Microsoft'
ReplyDeleteThanks! ...in a sarcastic voice...'thanks Microsoft'
ReplyDelete