

New-PSDrive -Name Z -PSProvider FileSystem -Root "\\ readyshare\ MyBook2" -Credential " admin" 3 Enter the password of the shared folder's credentials, and click/tap on OK. New-PSDrive -Name Z -PSProvider FileSystem -Root "\\ readyshare\ MyBook2" -Credential " admin" -Persist New-PSDrive -Name -PSProvider FileSystem -Root "\\ ComputerName\ ShareName" -Credential " UserName" New-PSDrive -Name -PSProvider FileSystem -Root "\\ ComputerName\ ShareName" -Credential " UserName" -Persist Net use * \\ readyshare\ USB_Storage /user: UserName password /persistent:yes 3 When finished, you can close the command prompt if you like. Net use Z: \\ readyshare\ USB_Storage /user: UserName password /persistent:yes

Substitute Password in the command above with the actual password (ex: "password") for the credentials of the shared folder. Substitute UserName in the command above with the actual user name (ex: "UserName") for the credentials of the shared folder. Substitute ShareName in the command above with the actual name of the network share folder (ex: "USB_Storage"). Substitute ComputerName in the command above with the actual computer name of the PC (ex: "readyshare") that the shared folder is located on. If you like, you can substitute : in the command above with an asterisk * instead to have Windows automatically assign an unused drive letter to the mapped network drive. Substitute : in the command above with an unused drive letter (ex: "Z:" ) you want to assign the mapped network drive. Net use : \\ ComputerName\ ShareName /user: UserName Password /persistent:no Net use : \\ ComputerName\ ShareName /user: UserName Password /persistent:yes The credentials used for your mapped network drives are stored in Credential Manager. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\ Mapped network drives are stored in the registry locations below:
Netdrive mapped how to#

