Mapping an SMB share to a drive letter helps Windows 11 users reach a shared folder from File Explorer, desktop shortcuts, and applications that expect a local-looking path. The mapped drive still depends on the remote SMB/CIFS server, but the user no longer needs to type the full network address each time.
The Map network drive dialog stores a per-user drive letter for a UNC path such as \\files.example.net\projects. Reconnect at sign-in asks Windows to restore the mapping after logon, while Connect using different credentials forces a credential prompt instead of silently trying the current Windows account.
Use the exact server and share name published by the Samba server, storage appliance, or Windows file server. Existing connections to the same server can block a second login with different credentials, so disconnect old mappings or clear saved credentials when Windows keeps reusing the wrong account.
On Windows 10, open This PC and select Map network drive from the Computer tab.
\\files.example.net\projects
Use a UNC path in the form \\server\share. Add a subfolder only when the share owner expects users to start inside that folder.
Use DOMAIN\username for a domain account, SERVER\username for a local account on a Windows or Samba server, or the account format supplied by the storage provider.
Selecting Remember my credentials stores the password in Credential Manager for the signed-in Windows account.
C:\> net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK Z: \\files.example.net\projects
Microsoft Windows Network
The command completed successfully.