Hi,
Thank you for sharing your question. I understand how confusing it is when Windows Security prompts you for a username and password while mapping a network drive, especially when it’s not clear what credentials it actually wants. It can be frustrating when every password you try seems to fail and prevents you from moving forward.
Windows is not asking for your Microsoft account password in this situation it’s asking for the credentials that belong to the device hosting the shared folder. That means the username and password from the other computer, NAS device, or router USB share you are trying to connect to. Microsoft Learn confirms that the required login is always an account that exists on the target device, not on your local machine, and that you may need to enter it in formats like DEVICE\username or username@DEVICE. Saving the correct credentials in Credential Manager can prevent the prompt from appearing each time.
The easiest resolution is to remove any old or incorrect saved credentials in Control Panel → Credential Manager, then map the network drive again using the username and password from the device hosting the share. Once the correct credentials are accepted, you can save them so Windows won’t prompt again.
Before we go further, can you tell me whether the shared folder is hosted on another Windows PC, a NAS, or a router’s USB drive? That will help me guide you to the exact credentials you need.
Feel free to follow up, and I’ll walk you through the next steps until everything connects smoothly.
I hope this helps.
Best Regards,
Noel