net use command to map drive with username and password. Use the Save - L command to backup the CIFS shares. The following command maps the share \\Server1\ShareFolder to local drive X: (New-Object -ComObject WScript. MapDrive(); Map drive with specified user credentials. -In the command prompt window type NET USE and press enter, the command will return all the …. PowerShell: Map Network drive as different user. bat in the (default) path C:\Program Files\Veritas\NetBackup\bin directory. Open ‘File Explorer’ by pressing ‘Win + E’ keys. UNC paths appear to be simpler at a glance because they are a direct connection to a remote resource. To map a network drive by using Command Prompt: · By using the username and password of your shared folder, is below command is to remember to . Login from workstation as user modified in …. Type cmd at the Search programs and files bar and hit the Enter key. Making the share You’re asking about CMD, so …. Mapped drives are user based and they're not stored in C:\users\username. This switch tells the net use command to use the credentials present on the available smart card. Finally, mount all filesystems. Looked on google but what little mention of it there was seemed to be where someone is trying to map a share on a different domain to the one the PC was a member of, which is not the case here. Find your network drive and click Add, then close the window. The main difference between the two is that subst expects the location to always be. When the "Map Network Drive" window appears ( Fig. For instructions on how to map a network drive, please see Mapping ECN Drive using Windows XP. Mapping a network drive to a shared folder from Windows' graphic interface isn't hard. Forgot your password? ' VBScript to map a network drive to the UserName. It uses a password and user name so it can be accessed by a domain user #This section are the different variables that are used #Username is the domain username. i map the drive manually, …x: \\home\c$ /p:y. 249 with a username and password of cisco) and show the version: from netmiko import ConnectHandler. I found this option in a old Wind 98 book I had but I am thinking this was for Windows 98 and this net use command does not work for XP. Select the computer tab, and in the ribbon menu at the top, click on "Map network drive" and select "Map network drive. Basic UNIX commands Note: not all of these are actually part of UNIX itself, and you may not find them on all UNIX machines. The net use command is a Command Prompt command used to connect to, remove, and configure connections to shared resources, like mapped drives and network printers. Click This PC first, then Computer tab at the top, and the Map network drive button that shows up on the ribbon. The above action will open the Network Drive Mapper window. It does require using the command line. To delete the mapped drive, you can use the following command. Mapping a network drive to a shared folder from Windows’ graphic interface isn’t hard. When I use the following command which specifiies the IP address of the computer before the user account, the time in takes to map the drive is roughly 10-15 seconds. I tried “net use /del \\xxxx\folder1” for example it also removed OK from the mapped network drive list. Select a letter you want to use for your network drive. persistent net use – How to map a network drive using. ( I haven’t much experience with the net use command. " The Network folder specified is currently mapped using a different username and password. settings file on the Robot machine, under the NuGetServerUrl parameter. In Windows 10, choose This PC from the left side of the window. To create a non-interactive batch file on …. That is your mapped network drive. By default all mapped drives have a 15 minute idle session timeout , you can modify this with the NET CONFIG command. Add a shared network drive mapping. Click the Map Network Drive button. Instead of mapping the drive externally, use the UNC value or use the net use command in a pre-session script to map the network drive. i know a VBS script will do this but i am unable to place this script on one domain controler. C:\Windows\system32>net users User accounts for \\C-20130201 ----- Administrator Guest Kent The command completed successfully. In this example it can be MapDrive. Example: net user John mypassword123 /add. net use \\server\share /user:test testpassword will work just fine. To disconnect a mapped drive from …. A drive mapped from a Windows Server will create problems with shared OpenOffice or Microsoft Office files being manipulated on the Linux client in OpenOffice software. I am trying to set up a home network, with one computer being used as a file server. Once you have the details, open the File Explorer by pressing the Win + E keyboard shortcut. Win 7 (Home Edition and perhaps other versions) allow you to map and access WIN XP PC hard drives and folders but not vice versa. Click one of the entries in the list and expand it, you can then click the Remove option to clear it. You cannot connect to a network drive by authenticating in this manner. 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. Add my name, password, drive letter and I was done. In future, if you want to delete a particular mapped network drive or delete all of the mapped network drives. It enables you to shut down, restart, hibernate the computer, log off a user, and customize the shut down experience. Also, you can map a network drive using other user's credential by adding "/user:username password" to the previous command. Click the Map network drive drop-down in the ribbon menu at the top, then select "Map network drive. Click the Start menu -> File Explorer. To prompt a user for a password, you can use the cmdlet ''Read-Host'' with the parameter -AsSecureString. The shutdown command provides you with options to change a Windows computer's power state. 384 , then just press Enter to confirm. Sometimes there is the need to create a mapped drive but you want to use an encrypted password for security reasons, this will work for you. “net use M: \\FISHER\Users\Public\Documents /user JohnDoe PaS5W0rD” will map the drive letter M: to the folder \\FISHER\Users\Public\Documents with the username JohnDoe and password PaS5W0rD. To unmount, simply run the commands below. [ Windows Command ]Use the NET USE /DELETE command to remove a mapped drive - windows_cmd. Still the same example, here's how to map the network drive:. Click Start, and then click Run. Mapping network drive works in DOS prompt but fails in PowerShell. Click the magnifying glass icon in the menu bar at the bottom of the Windows screen. Note if Explorer already has a share open to that machine, this will fail. net\cloud-drive /u: [storage account access key] Using Windows Explorer. This connection has not been restored. If you have done everything alright, then no message or notification will appear. Then input this map drive command within the Prompt ’s window: net use DLetter: \\PATH /PERSISTENT: YES. you can’t map an IPC$ to a drive letter like this. To clear the NAS drive not showing on network windows 10, including network drive and mapped network drive, there is a simple step. if i use the command map network drive line \\comp2000\c$ from the comp-2001 comp, or vice-versa, it shows me the c drive of that computer - ok great. I have 2 computers running windows 10, I was attempting to map a network drive and kept getting errors. To map a network drive in Windows 10 or Windows 8: Click the Start button. Due to this there is a clash when I try to map the same network path as network drive, because I entered a different credentials to connect. Map a network drive with the Command Prompt. How to map network drive on PowerShell. The third and final solution, which I offer you to map a network drive with PowerShell, is the user of the New-Object cmdlet and the use of the WScript. Still the same example, here’s how to map the network drive:. Type the following command to map a drive assigning drive letter manually and press Enter: In the command, replace DRIVER-LETTER with the drive letter not. The command that is used to map drives on a Windows box is called "NET USE". Create a new GPO and give it a name. Enter the below command and hit Enter key. Once you have the UNC path available under alternate credentials, you can launch an explorer session to the UNC path manually or by using start. The Net use command allows you to connect of disconnect a computer from a shared resource as well as display detailed information about computer connections. I have a network shared storage server, the server has HDDs in RAID configuration and the storage drives are shared over the network, I am going to use this setup as an example. Create a batch file that maps the drive as follows: net use X: \\10. NET USE /user: To use this in PowerShell requires a little work. After mapping the remote shared resources to the local PC, a drive letter will be increased under. They're completely interchangeable. You could use PUSHD and POPD as:. txt" from the C: drive to the E: drive. its engine runs as a system service under a different user account and therefore it has no idea which mapped drives a _desktop_ user may have set up. How to extract the drive letter for a new mapped drive in a. Following is a batch file which allows you to map a network drive, but it also includes ability to enter credentials and mask passwords. We'll be using the net use command in Command Prompt to map a you open the network drive, you can add the user name and password to the . So i was required to map the drive(the server HDD) on which my database is living. I'm trying to find the correct syntax to enable the mapping of a netware drive from a batch file. I’m going to need to use an AD Username and Password to authenticate. The new mapped drive is not visible in SQL Server, because SQL Server can only see locally attached drives and partitions. In the Folder "entry field", enter the URL, and click Finish. To remove cached network share credentials, this is the command you should use. You don't need to specify a drive letter. Caution should be exercised when using a mapped drive to a network share in a production. For Drive, choose a drive letter. exe it runs fine, but running from the script it …. If I map a network drive with net use, it doesn't show anywhere in Windows explorer, and if I type in the drive letter of the network drive into the "address bar" it says it can't find it. bat sits locally on the computer, with a shortcut in the startup folder. ” but I go into Credential Manger and it’s not there. This will open a window in which you need to specify the password of the specified account to access the network folder. When you run this command, It will try and authenticate using the current user account or cached credentials but if none of them work, it should prompt for a username and password. Make sure you check those settings as well if you are having trouble connecting to it. In the Practical section, that follows next, you will learn how to map network drives from VB as well as to un-map. Windows, Mac and Linux computers are supported. To map a network drive, enter a command in the following format: net use drive-letter \\ server \ share password /user: Domain \ nam e For example to if the drive letter is z , the server name is engineering , the share is docs , the password is 1234 , the user’s domain is eng and the username is admin , the command would be the following:. If so, there could be another user logged in with the drives mapped. To map a network drive using net use command in Windows 11/10, you need to use the following command: net use d: \\blog\documents\User. You can use the Persist parameter of New-PSDrive to create Windows mapped network drives. Windows mapped network drives are not supported as they are mapped on a per-user basis …. When tomcat as a service runs, it cannot access network shared directory that is mapped to a drive letter Z. Using the net use command, you can pass username and password info. Enter the username and password for your. The universal command for the Windows operating system to map network drive from cmd is "net use". As noted, running the net use command could shed some light on the subject. also there are 2 check boxes on the map drive wizard. Type ipconfig to see if network adapters are available. net use "F:" "\\servername\share" mypassword /USER: mydomain \ my. Right click your GPO and click on Edit. For this class we have to pass network path and username and password for accessing network then get the specific folder from the network and create a file inside the folder using FileStream. In this part, we will show you how to fix the issue that you can’t map network drive in Windows 10. However i found that if network the drive using the owner's access permissions of the workflow user name and password it. To map your P: drive, click on File Explorer (the manilla folder icon), and right-click on This PC. All you have to do is go into Control Panel - Credential Manager - Windows Credentials and there will be a listing of the server with the credentials that were used. WebDrive is the Best Way to Connect to the Cloud. Use these two templates to add shares for all. We need to create a local user account on the Windows machine that matches the username and …. How to clear Mapped Network Drive Cache in Windows 11/10. When you don't know the server name or you want a list of all SMB connections, just enter: Get-SmbConnection. So that works when I do it in a DOS prompt window. Here is my command line output: Microsoft Windows. Net use หมายถึง เป็นคำสั่งใช้สำหรับเชื่อต่อหรือยกเลิกการเชื่อมต่อไปยังทรัพยากรภายในระบบ Network นั่นก็คือ Share Drive นั่นเอง (หรือใช้. net use z: \\remotepc\sharename The above command maps the drive letter Z: to the network share \\remotepc\sharename. Password: abc123), and add them to the Administrators usergroup type: net user NewGuy abc123 /add net localgroup Administrators NewGuy /add Again, you should be able to login straight away with this new account. How to Map Network Drive and Connect to FTP in Windows 10?. I can connect to each share on a domain by doing "net use " from the command prompt window: net use \\123. When File Explorer opens, click This PC. Disconnect all previous connections to the server or shared resource and try again. Type net use * /delete /yes and hit the Enter key. User authentication form is shown and you need to authenticate with a user that is set to allow to access to Share on Server. example mapping drive : buka run - cmd. Delete a mapping by doing any of the following: Type net use /delete \\servername\foldername to delete a mapping. The last section will show all mapped drives connected with your computer. Tick the Reconnect at logon checkbox if you want the network drive to. 5 and you have created a share on that machine called "MyShare". This method allows you to reboot your Mac and have the mapped network drive automatically remount and appear on the desktop. If you need to specify a different username / password to access this folder, check the box “Use other credentials”. To display the specific user policy summary you must be aware of the user’s credentials. The user profile path should be something like "C:\Documents and Settings\admin" in Windows XP/2003 or "C:\users\myuser" in Windows 10/8/7/Vista/2008. Open the one you like best and run this command: net use [Mapped Drive Letter] /delete. Click on "Connect using a different user name ". In the Command Prompt window, type the command NET USE and hit Enter to continue. I will be using Windows 10 as my client machine with a workgroup called SAMBA. If you need to specify a different username / password to access this folder, check the box "Use other credentials". I will help you chose which methods to use and which variables to change. In Explorer map a drive and select "connect using different credentials" but not "reconnect at sign-in" Put the OTP in the username field. 4# Recover your WiFi password from any of the WiFi connection profiles saved on your PC. After mapping, the network drive will show up in File Explorer. net use * \\server\sharefolder You can either put the line in a login script so it gets mapped automatically, or add the switch /Persistent:yes to tell the system the map is permanent. therealkenc added the duplicate label on Apr 24, 2019. Select a vacant alphabet to assign to the new drive, enter its path in the field below, select your preference by checking the boxes below, and then click Finish. Associating directories with drive letters is useful if you have to access a certain folder, frequently. EXEC xp_cmdshell 'net use /USER:username x: \\ComputerName\ShareName password' Where you need to replace username and password with yours and \\ComputerName\ShareName with your server’s name and the name of shared folder you wan to use. Next, copy the commands as shown below and paste them into the file. When the tool opens, at the Drive drop-down, select a drive letter to assign the network drive. Here’s an example of a simple script to log in to the router (an example IP is 192. In other words, the drive will disappear after reboot or when a user logs out. txt e: The above command copies all text files in the. enter a YubiKey value, or username dash OATH token code. [CDATA[ net use S: \\SERVER\SHARENAME /user:DOMAIN\#username# #password# . In an elevated Command Prompt, paste in the completed command to create the mapped network drive:. XPpro2, having not been neinstalled still shows those drives. Right-click on the Windows PowerShell option in the resultant pop-up menu. Use of Net Use command to map a drive. I'll cover the following topics in the code samples below: SyntaxUSE, NET, Windows XP, Remove, and Shared. If it is, change the NET USE command to net use p: \\main-desktop\C$ * /user. to map the drives at windows sign-in. Well, we have a few scripts available for you right out of the gate. com\MyRoot which is the path of DFS root folder. So in this case when samba asks for "computer name" you put in GeorgiaSalpa and then for "password" you put in the windows computer password, not the password for a particular user. Quick net use command tips for programmers to map network drive in Windows XP and Windows 7. Still no luck! WTF! So, I deleted the existing mapped drive and infact I deleted all the mapped drives (Weird, I know, but I was being hounded by my manager). This will give you a list of all network connections. But darn it, this person really needed to connect multiple times with different user ids. This is what happens when files or folders are hidden on the NAS drives, and it can. " I tried closing and opening the command prompt, but this time it worked. If you're using your own ECN-supported computer in your own office, having logged into the computer using your own username and password, please skip to step 7. ) I disconnected from the mapped network drive. If the Ribbon is minimized, you have to click the Computer menu. To work around this issue, use the net use command together with a UNC name to access the network location. In Command Prompt, run the following command: qwinsta /server:. To get the IP address of the computer (mapped drive target PC), open a Command Prompt window and type: ping -4. Once done this step, close the command prompt. Network object, it looks like the script that l ‘you can do with VBS. Open your Windows Explorer and from File click on Map network drive. It is even powerful enough to change user account passwords or create/delete user accounts. In this text, I teach how to create a network share via Samba using the CLI (Command-line interface/Linux Terminal) in an uncomplicated, simple and brief way targeting Windows users. In the new dialog box, enter the drive letter you want to map to and the. This will allow access to that UNC path under the specified credentials. net use Z: /delete Delete all mapped network drives. Now, your network drive will be mapped and automatically remounted when you reboot your Mac. Your local computer username and password are different than your NetID credentials and Mapping Network Drives using the Command Prompt. net use can control mounting ("mapping" in Microsoft terminology) drive shares and connecting shared printers in a network environment. Windows share can be mounted on RHEL system using cifs option of mount command as : # mount -t cifs -o username=,password= //WIN_PC_IP/ /mnt You can specify iocharset to convert local path …. When prompted, enter your username and password. The simple and foremost way of mapping a network drive is to use a command prompt and run the following command. exe we can use NET USE to open IPC$ share to destination host and execute our robocopy code. Here’s how to map a network drive with a set of domain credentials on a computer not joined to the domain using a login script. edu\[PI NetID] /savecred /persistent:yes; Hit Enter. exe” (without the quotes) in the Search programs and files box. insert sftp://[email protected]_ip_address where target_ip_address should have the form 102. The mapped drive is going to be visible to all users in your system, though will always show up as "Disconnected" in Explorer. Another way to do it is by the "net use" command from windows shell. Also in this post, we will cover the steps how to mount the network drives permanently and to mount automatically on boot. I created a new user (“test”) on one of the NAS devices with password “test1234” and this fails to connect as well. Find the share with "net use" and. To enable and configure WebDAV to connect to DiscountASP. Here you will see three sections – Folders, Devices and drives and Network locations. First, the NET USE command can …. Create Drive Mapping logic (DriveMapLogic. Windows 2000 Professional; Windows 2000 Server; Windows 2000 Advanced Server; Windows XP Professional; Summary. Using Samba to share files between Linux and Windows. All we need to add a network drive is a free drive letter and the path of the network share. So right now I'm running this command which works up to a point: Run ("net use b: \\10. However, if you already know the network path for the shared folder, you can map and unmount drives faster using the command prompt! 1. Mapping Folders Using the Windows Net Command. The web page calls the web service and the web service needs to find the network drive and get a file. We search for “Command Prompt”, Right-click and select the “Run as administrator” option. I used the 'net use' command, but i have to provide the password as plain text for . net use \\remotepc\C$ /u:username password. You have two options, invoke the Win32 API using interop, or spawn a "net use" command via the command interpreter. If the passwords match, access is allowed to the share. Since you've already found that removing and recreating the mapping makes the problem go away, the quick fix is to add your script to do that to the Startup folder ("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp") on …. ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3) clients and RPC can be used for NT4 and Windows 2000. Use the net use command to mount the remote file system: net use : \\sshfs[. You do have permissions, right? net use (drive letter. When you use the “Net Use” command to map drives in a login script, it passes the local username, not the domain/username and thus fails to map. Since I'm trying to use it to do an automation, I need to get rid of the log in being asked every time I've try and open a document. In the “Folder” field, enter the network path to the shared folder. \Username", "Server\Username" or "Domain\Username" as a credential. Then choose a drive letter and click Finish. It sure seems like there should be. Mapped drives are represented in a similar manner than ordinary drives and folders on your PC. Edit the file and add the following lines of code: net use m: \\servername\share. If you want the drive to be persistent, IE. Open a command prompt or PowerShell console as administrator. Checklist for NetServer Password Authentication from Windows. Microsoft Windows Network: Multiple connections to a server or shared resource by same user, using more than one user name, are not allowed. Mapped Network Drive Not Showing. I have successfully connected the computers into a single workgroup and can see all computers in my 'Network', but whenever I try to access another computer or map a drive. somehow related to the user, not just mapped to the system. Step 1: Open the group policy management console. It has one line that the drive was mapped to say \\xxxx\folder1 without a drive letter. This lists all shared resources for which there is a connection, and the state of the connection. ' Map network drive letter using current user security (vbNullString as password) and the drive ' letter must be in this form: "G:" without the backslash strDriveLetter = Mid(UseLetter, 1, 2). this command is: NET USE script on the remote pc and you are using the. Map network drive in Windows Using Command Line. When a user attempts to connect to a network share via the Map Network Drive option or the DOS net use command, the system. Weird bc if you manually click on setup. disconnected the mapped drive using "NET USE /DELETE". Map Network Drive in Windows 10. You will now be able to access the. Bring up Windows Explorer, right-click on “This PC” and select “Map network drive:”. net use z: \\networkshare /USER:domain\username password Otherwise, you need to run the command again during each boot to map the drive. Mapping a Network Drive via VPN. This article will provide for mapping a network drive upon login using a registry entry and a batch file without the need of storing a password in plain text. Everything I've found says nothing about specifying a password though. This method allows you to reboot your Mac and have the mapped network drive automatically remount and appear on the desktop, this is more persistent than the above method: From the Finder, hit Command+K; Enter the path to the network drive you want to map, ie:. Then, select the Computer tab (#2), select Map network drive …. New-PSDrive –Name “K” –PSProvider FileSystem –Root “\\touchsmart\share” –Persist. I want to map four network drives when connected to the SSLVPN. Click Next twice to walk through the informational steps of the Add Network Location wizard. For example: net use \\richserver\sharedfolder /user:rich password. Compare Search ( Please select at least 2 keywords ) Most Searched Keywords. Make sure the following command succeeds without any user prompt:. Last 'read only' user and then stick a batch file on the network so staff can run it when they need to to map and store the network drive mapping with the correct user credentials. Type “net use T: \ etworkShare\Test path /persistent:yes”. Other thoughts include making a Windows mapped network drive to the Ubuntu partitions. Please choose a Windows Logon Script to suit your particular task. The shim driver basically adds a PD interface to the NDIS driver. Find all Computers in a specific Domain Network using Command Prompt: NET VIEW /DOMAIN:domainname where “domainname” is the name of a domain whose computers you want to view. To map a drive to the Samba share, open PowerShell and issue following command: PS > NET USE M: \\centos\myshare. Even in this, the name of the drive is Z. Mapping to a drive enables you to browse files stored on a Nextcloud server the way you would files stored in a mapped network drive. Mapping a network drive and saving the password with windows 2000. Is it at all possible to use the "net use" command and provide a username / password, so that once Acronis True Image has loaded, the mapped drives are pretty much a single click away? Cheers. "Enter the user name for 'filestorageaccountname. So far, you’ve learned to map a SharePoint drive using Windows Explorer. The Net use command is also a good way to control all persistent net connections on a specified computer or resource. I always get the following message: The network folder specified is currently mapped using a different user name and password. you will probably see serveral in the list that are mapped but with no drive letters. k indicates the use of an SSH key stored in /. Type “net use T: \\networkShare\Test path /persistent:yes”. How do we map network drive automatically using Nant script? Use the exec task with net. On the menu bar across the top, select the 'Computer' tab, then the 'Map network drive' drop-down. How is the network drive mapped? via Net Use creds can connect to the. You can add the @SW_HIDE and such to the cmd so that you do not see the cmd window open briefly. Map a network drive to Mac OS X that re-mounts after system reboot. Run net use providing: The drive letter to map to The UNC path of the file share The username to authenticate with ( /u) The password. Here are the steps to map a network drive using this method: Right-click start menu. In the file explorer, click on the Computer tab and then click on the Map Network Drive. Just run the network mapping commands from your workstation and she is all set. To map network drive, you can use the WScript. First, make sure the FTP server is running and you have all the details like the username, password, FTP URL, and port number. right click on my computer click on disconnect networkdrives. • We’ll be using the net use command in Command Prompt to map a network drive. Notice: If you look for a program that can help you to map an FTP Network Location to a local drive and then to open/save files straight to the FTP location, then use WebDrive. Suppose the user isn’t required to map the drive. If you use the net use command without any specific parameters you will get a list of …. 7 After you map a network folder to a local drive letter, the mapped drive appears in the Computer window for easier access. - Is connected with the username and password that has access to the CIFS share. After you mapped the share to a drive letter, you can use shutil. • To go to the command prompt type CMD in the Search Bar on the Start Menu then click on it. To solve this problem, try the following steps: Select the “Start” button, then type “cmd“. In the Folder box, click on the Browse button to navigate to the shared network folder that you want to map as a network drive, and click OK. Assuming you have permissions to the folder in question you can map a drive letter to it from the command prompt and then cd to it that way. This would by far be the easiest way to get it working. Create one class file name that ConnectToSharedFolder and add below namespaces for access Network Credential and MPR library methods. Here are a few additional tips for mapping a network drive: Assigning a drive letter to a network drive is called mapping the drive, or linking the drive, by network nerds. Note: to indicate that you use a username. The tricky part is that the Ribbon is only displayed if you click the Computer symbol (Windows 8) or the This PC icon (Windows 8. After the laptops are connected to the router I have to open Explorer in Windows and click on the mapped drive and then enter the password. Disconnecting a drive via command line is performed by net use. Mapping Folders at the Command Line You can also map a network folder to a local drive letter by using a command prompt session and the NET USE command. Type in the full path to the directory into the “Folder” field. Windows Server 2019 Basic Video Tutorials By MSFTWebcast:In this step by step video guide, I will show you how to map network drives using bat file login scr. net use Z: \\tech-dc01\SOFTWARE. I just want to be able to click the bat file and have that. Select the computer tab, and in the ribbon menu at the top, click on “Map network drive” and select “Map network drive. Create Drive Mapping script (DriveMappingConfig. Type in what would be the network UNC path to your share, which will be in this format: \\[storage account name]. Both user-mapped network drives and GPO-mapped drives are not automatically reconnected. RECONFIGURE; GO If the mapping needs a user login, modify the netuse. bat" (no quotes) in the "Logon script" box and click OK. I am supplying the user and password, the net use command is completing successfully, yet when I try · User-1373950060 posted Hi, The code will map a network.