Now it's mapped to \\192.168.248.128
,how to change it to \\192.168.66.2
instead?
Click the Start menu button, and then click Computer. In the next window, click Map Network Drive. Select the Drive letter that you need to change with a new server path. Note: If you cannot see the path in the Folder box, click on the down-arrow and select the path displayed.
In Windows, if you have mapped network drives and you don't know the UNC path for them, you can start a command prompt (Start → Run → cmd.exe) and use the net use command to list your mapped drives and their UNC paths: C:\>net use New connections will be remembered.
Click on the file explorer icon in your taskbar or hit Windows Key and the E key at the same time. Click on This PC on the left side task bar, then at the top of the window click on tab labeled Computer. 2.) Click the Map network drive button in the ribbon menu at the top, then select "Map network drive."
If you want to use the command line have a look to the next answer below!
But you can also edit the settings in Windows Registry: 'HKEY_CURRENT_USER\Network\[Drive letter]
'
When you now open a new 'My Computer' window - after changing the target in registry - you will likely see the old settings, but that is only a visual problem. Try to open the entry, and it should work!
Have a look to Chris Budys interesting comment below, that fixes obviously the visual problem.
net use
can modify a drive in place without deleting and recreating. You simply execute the command as if you're mapping a new drive, and it replaces it instead. The command syntax is:
net use [Drive name] [UNC path]
Example:
C:\> net use U: \\192.168.66.2 U: has a remembered connection to \\192.168.248.128. Do you want to overwrite the remembered connection? (Y/N) [Y]: y The command completed successfully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With