So I hope this article helped with mapping a network drive in Windows 10. To remove a network connection, simple add the switch /delete net use u: /delete Wrapping up So if you need to add multiple network shares, then you only need to set the switch to yes ones. The last setting of the /persistent switch will stay active during the command-line session. If you only need the network connection ones, you can simply leaf the /persistent switch away. This way your network connection will reconnect after you reboot. I added the /persistent:yes switch to it. With the following cmd you can add the network connection net use u: \\servername\folder /persistent:yes Most of the time we use this command to check if the network drive is mapped, so we don’t have to open Explorer for this (so we can stay in the command prompt) Adding a network driveĪll we need to add a network drive is a free drive letter and the path of the network share. ![]() This will give you a list of all network connections. So first let start with listing all the network drives that you have currently in use. This is really usefull if you want to create a script to automatically add a network share to multiple computers. If you know the network adres of the network share you can also add it from the command line. This way the network you are on is set to a private network (like your home network), which allows you to share files and folders.ĭon’t select the other option, “Yes, turn on … for all public network”, because this way your files are potentially shared on all networks that you visit (like the public wifi on an airport or school). Click on Click to change… and click on Turn on Network discovery and file sharing.Windows 10 will show a notification bar with the option to change the setting.You will get the error probably again, click it away In Windows Explorer, scroll down and select Network in the left pane.This prevents you from seeing other network shares and printers. If you get an error at step 5 while mapping network drive windows 10, then your Network Discovery is turned off or you are connected to a public network. You will now see the network drive in your Explorer with the letter that you assigned. You will now see the network drive in your explorer alone with your own drives. This way the network drive will be re-connected every time you log in. Make sure the box Reconnect at sign-in is checked.You probably need to enter a username and password to access the network share.Select the computer or server and then the folder you would like to connect to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |