Windows 7 network shares and passwords

If you have a home network and want to map persistent network shares or remote printers most likely Windows 7 will prompt you for a username and password every time you reconnect after a reboot.

Solution:

Since your home network ist probably not a enterprise-like domain the user accounts on each computer/network driver/media server/… are not the same even if they have the same username.

On the next reconnect to said network resource enter the username together with the machine name: username=<machine name\user> and password=<password>

e.g: To map a share on your media server with the name mediaserver1 for the user johndoe just enter in the username field: mediaserver1\johndoe

This will set the persistence level of these credentials to enterprise. If you just use the username without the machine name the level will be set to session. You can control that level under Control panel -> User Accounts and Family Safety.