network drive connection

I try to get LabView to connect to a network with a Username and a password to designated drive to save the data, then disconnect after the data are written.

I can't have windows automatically connect because it is a 'public' test computer, one that has a name of log shared for several technicians.  I make sure the netdrive maintains individual logon for traceability.

I've seen a few posts for the use of the tiara, which I do not have or need.

Any ideas?

Thank you!

You can map the network drive using "net use". This is possible via the system exec command.

'net.
use"you can specify a drive letter and the user credentials to use. Use of the "/ persistent: no ' flag not to register the connection.

You can also disconnect a network drive by using the same command (flag "/ delete").

Hope this helps

Daniel

Tags: NI Software

Similar Questions

  • Mounting network drive to the start time?

    I have a network drive I have traced as a drive on my toshiba notebook nb205.  It works fine with one exception, startup time.

    When the laptop is started it can never connect to the mapped drive, if I manually open the drive, it will then connect and be well.

    My theory is that windows is trying to connect to the reader until the network connection is established.

    Is there a way to delay the network drive connected to editing until the end of the implementation of network?

    Try this:
    1. click on start, then type the three letters cmd into the search box and press ENTER.
    2. type these commands and press ENTER after each:
    NET use / persistent: no
    NET use * / Delete Yes
    Notepad "%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\netlogon.bat.
    3 type the following lines:
    off @echo
    the value of time = 60
    ping localhost - delay n %
    NET use E: "\\SomePC\SomeShare."
    4. Save and close the file

    Eventually your network connections will be made 60 seconds (or whatever time you set) after that you connect. You must, of course, replace 'SomePC' and 'SomeShare' with real names. He must also be careful with your typing. The commands I used many variations will not be tolerated.

  • How can I connect my Mac to a network server? As in windows yo go to my computer / connection to a network drive, and then you select a letter and write the name of the server that you want to be logged

    I'm trying to adapt Windows to my new MacBook Pro with OS El Capitan.

    I work remotely for a company and I want to connect my Mac to the server of the company.

    My question is how to connect a MAc to a network drive with the permanently available connection.  For example, in my old HP I went to my computer / connection to a network drive. I've selected a letter and note the name of the server that I wanted to be connected to. The connection was then shown with my other drive hard 'sections '; I want to say C:, D: (for recovery), e: (for tools) and then connecting to the external server has been shown with the selected letter.

    There is no "letter" under OS X. It's a hangover very old of BACK, devices of mapping and volumes labeled mailbox.

    If you are connected to your corporate network, you should see the available network volumes listed in the Finder, in ' my computer > network ", or with the command K to connect to a server.

    You can create an alias for the volume and put it in the Dock, or leave on the desktop or put it somewhere else, and the next time you want to connect to this subject, simply double-click on it. You can also add the server address to your "favourites" in the connect to Server dialog box.

  • L2TP VPN connects but won't see network drives

    Hi all

    I just got a MacBook Pro with El Capitan. I joined it to my area of work and I have implemented SonicWall VPN Client Mobile and I tested it on and it works - only if my network, I am connected to and the VPN will not have the same IP range.

    I would like to use the integrated VPN L2TP client, but I have questions here. I have configurted on my Dell SonicWall and connect this VPN from a remote location, it will connect and show the data transfer (sending / reception are green) but I can not access my network drives.

    Once I have switch back to Mobile Client VPN SonicWall, everything works well.

    Any idea?

    Routing on L2TP or PPTP will probably work or at all, if both ends of the VPN tunnel terminate on the same CIDR network block. Which is why people never give a one VPN server address local 192.168.1.0/24. the network block is much too common. Please use something in 10.x.x.x.

  • GarageBand looking not connected network drive

    When I take my laptop away from my network home and open Garageband, it takes a long time to open and then gives an error message saying that it cannot find a NAS drive (which is installed in my home network).

    If I hit OK, then I can use Garageband, but if I try to use sharing, or even if I just mouse over the menu item from action, the application gives me the rotation beach ball and finally the message again that it can't find the network drive appears. It is almost impossible to export the song because when I click to dismiss the pop-up message, the drop of share also disappears.

    I don't know why Garageband is looking for the network drive. I tried the sacking of preferences and restart; I even uninstalled Garageband and reinstalled (when I wasn't home).

    Of course, when I'm home and can access the network drive, this happens. But it's very embarrassing when I record somewhere else.

    It's something to do with my user, because if I log in with a different account, the behavior occurs.

    Help?

    GarageBand 10.1.0

    When I take my laptop away from my network home and open Garageband, it takes a long time to open and then gives an error message saying that it cannot find a NAS drive (which is installed in my home network).

    GaregBand seeks always to open the last project that you opened.

    When you are not connected to the NAS server you use at home, try to launch GarageBAnd by double clicking on a project that is on your local drive.

  • Impossible to connect a network drive by name of host but able to match with the ip address

    is the act as an application server and the file server. We use it as normal, but it is suddenly unable to resolve host name for other machines.

    All servers and workstations are not able to map the drive network under with the name of host, but every server and workstation still able to map the network drive with the IP address.

    When we try to connect the network drive with the host name, it invites with the error shows that there is error authorizcation.

    We tried and discover a few points as below for your reference:

    • Able to ping and resolve the hostname via all other servers and workstations.
    • Able to access the Terminal Server service name
    • Able to network with the IP address drive
    • Power of the card itself with the host name

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/categories/

  • Impossible to restore the connection to a network drive

    I had to do a fresh install of XP Pro on a CPU in my network.  The server is windows 2000.

    I see the drive (H) network of the central unit, but I am unable to connect.
    I received an error message on impossible to restore the connection.
    I'm not sure what other details that I would need to provide the Forum to ask for the help that I need.
    Any suggestions?

    Check the permissions of the user against the share (network drive).

    Delete the drive mapping, and then try again.

  • network drive mapped 2003 server need stay connected after journal so that when my script is scheduled to run the player will always be mapped.

    2003 network drive server need mapped stay connected after journal so that when my script is scheduled to run the player will always map. ??

    Hello Scott,

    This is not the right forum for issues with Windows Server 2003.
    Please click the link below to ask your question in the appropriate forum TechNet.
    http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

    Thank you

    Marilyn

  • connect a network drive on netowork with 7 & xp?

    I am running Windows XP home sp3 on my laptop and my desktop was win7 there is an external hard drive that I want to be able to access from XP just as easy with 2 PC win7?

    Hi paul3200,

    You can follow the procedure below the link that has the steps of how to connect it and disconnect a network drive in Windows XP: http://support.microsoft.com/kb/308582

    You can also check out the link below: create a shortcut to (map) a network drive:http://windows.microsoft.com/en-US/windows7/Create-a-shortcut-to-map-a-network-drive

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error message 0 x 80004005 Unspecified error trying to connect to either network drives and printers network on the same network or network drives that are on the same workgroup.

    Essentially, this problem started last Friday and I tried all possible combinations and the thing that I know so far about how to solve this problem and I terribly need a solution because I use this laptop in a University to take notes and print them out / store them on the network. Right now I can ping both servers (one is a print server and the other server network file storage), but in both cases, when I try to connect to them using windows Explorer by the name of \\server name\share or \\printserver\ (the other usually allows me to see a table of printers that are in different locations and I choose who I connected to my laptop). The other method, I have tried to use, which works normally and does not now to map the network drive storage is the net use command, if I try this method, I will get a "system error 1231 has occurred the network location cannot be reached". The third method (which is more commonly used I think) is the ability to connect a network drive in Windows Explorer, usually if I use the third method, I get a response from the storage server file asking for user credentials, now I get the same error message as when I try to connect with the first method of.

    The biggest mystery of this all is that this happens regardless if I'm on the wired or wireless, and in both scenarios, I have access to the internet available, but as mentioned above, no access to storage or a network printer.

    * Use at your own risk, but it worked in my case (ensure you know / remember passwords field before doing so).

    If (since) you are using Windows 7 and you suddenly have problems connecting to a resource of the area (especially after a password reset):

    1) go to:->-> advanced user accounts manage user accounts-> manage passwords

    (2) If you see Windows credentials, delete them all.

  • Error when you try to connect to a shared network drive by car on the portable XP from VISTA desktop: "not enough server storage is available to process this command."

    Hello
    I was able to connect ok in a shared folder on my laptop VISTA from my XP desktop computer.
    but when I try the other way around (to connect to a shared drive on my desktop XP FROM my VISTA laptop), I get the following error message:

    "The mapped network drive could not be created because the following error occurred: not enough server storage is available to process this command."

    Desktop is HP Pavilion a1410n
    Windows XP SP3 Home Professional 3 GB RAM
    Laptop is HP dv5z
    Windows Vista Edition Home Premium SP2 4 GB RAM

    I would like suggestions.
    Thank you very much.

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Steve,

    Thanks a lot for the link to this article.
    It was most helpful.

    I also found this forum useful post:
    http://www.techsupportforum.com/Networking-Forum/networking-support/114373-cant-map-new-network-drive.html

    In particular, he said to check the event log of the computer that you are trying to connect to (the remote computer) to search for an event ID 2011, which would be entered in the time you finally tried to connect and does not.
    I did alt-click on the icon MY COMPUTER (from the remote computer) and the menu HANDLE, click the EVENT VIEWER folder (in the left pane), and then the SYSTEM folder under that.
    On the right pane, I found an ad for the event ID 2011 at the time wherever I finally tried to connect.

    To test this, I went to the VISTA laptop and tried to connect the computer to Office XP again, which gives a different error message on the VISTA laptop.
    When I went back on the XP desktop I tried to connect to and looked again to the event log, of course ANOTHER event ID 2011 has been registered with the new time of my additional attempt to connect.

    He confirmed that it was likely that the IRPStackSize was the problem, as your proposed article.

    Then I printed article how DO TO SAVE AND RESTORE the REGISTER to: http://support.microsoft.com/kb/322756/
    then backed up the registry (both by running a restore system to register and by exporting from the top level of the regedit).

    I then went in regedit on the desktop in XP for the
    HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\LANMANSERVER\Parameters file described in your article.
    There was NOT an entry for IRPStackSize in the right pane, so I followed the instructions in the add - it and change it to decimal 15.
    I rebooted and tried to connect but still got the same error.
    The article said that the default value is 15, so I assumed that adding input IRPStackSize to 15 has not changed anything.

    So I went into regedit and changed the value of IRPStackSize of 15 to 18, restarted and it solved the problem.

    I found that the following articles is also useful in the resolution of this problem (aside from the one you gave):

    http://support.Microsoft.com/kb/285089

    http://www.smartcomputing.com/editorial/article.asp?article=articles/archive/r0803/10r03/10r03.asp

    I typed this all this while this might help others who may encounter this same
    Error "not enough server storage is available to process this command" when you try to
    Map a network drive (or just try to connect) to a XP computer from another computer.

    Thanks much for the lead.

  • Vista Home premium unable to connect a network drive or find the storage network

    I have a hard drive attached to the network.  I've never been able to get my Vista machine to map to it.  Network discovery is on.  In the centre network and sharing, if I click on "View full map", Vista tells me 'Windows cannot create a map for the type of network connection', but on that same network card screen if I click on "view computers and devices", I can see the device that I want to connect.  When I try to get the camera when you try to map my network drive, Windows can not see it.  I can ping IP of the device, and I can't open the device html interface in my browser.  My XP and 7 machines see the end reader.

    Try the steps in belo

    http://www.RealGeek.com/forums/my-Vista-wont-draw-me-a-network-map-64463.html

  • Mapped network drive is connected but shows as not connected

    Instqalled Windows 7 just to the office. Everything works fine except that the mapped network drives see the upward with a red x after the reboot. If I double click on it, they work fine but Wondows considers as not connected. This creates problems for AutoCad because it refers to network drives. When Windows says AutoCad, they are not connected, it blocks your AutoCad user profile which is a real pain. It is a way to force refresh the readers of network?

    Ditto for the op system on my main machine (upgraded to XP. SP3/HP/32 a little over a week ago) but I've seen the same behavior on my HP Vista 32 bit laptop (which connects to my router via a Wi - Fi). You first get the saying "could not connect to netwrok drive" then the network connection icon is displayed in the notification area. Maybe it's a coincidence, but I suspect that the network has not finished initializing and reporting of the devices connected to the moment where the two BONES go looking for them, fail to 'see' and a ' problem '. A few seconds delay between the two steps would probably solve the issue if I'm right.

    Generated a start-up newspaper earlier to try to confirm this speculation but soon decided it would work for everyone outside the MS development team to decipher :) days. The other interesting thing here is that if I do a "hot boot" restart (rather than a cold-start of a machine which has been shut down physically) of computers, then the problem does not occur - then "maybe", the router itself (regardless of the model) is involved in this problem. IE on a cold maybe it boot takes more time to detect and "respond" to the BONE while with a welcome warm-boot it is already waiting for the motions of the machine?

    This should be solvable for those of us who object to keep our computers permanently lit for financial or environmental reasons. Or should we conclude that development of MS machines really run 24/7 and that is why they are not aware there is a problem?

    :)
    John

  • Can't map network drives via a RDP to Windows Server 2012 connection

    I have yet to find a definite answer on this topic, so I hope that someone will have encountered it here.

    Access us an application on a remote server of 2012 hosted through RDP connections in two different sites.  This application outputs files in a folder that I need mapped to Windows 7 PC local.  After the RDP connection, I go to Windows Explorer and you try to map a network drive using a UNC name, for example: \\IP address\D$ \folder name and check the box "use different credentials.

    At this point, what happens depends on what profile of I use.  If I use the profile that was created when installing Windows Server (admin profile) it works fine.  If I use any other profile, or another admin profile, it does not work, and I can't understand why?

    During the inspection, the two profiles admin seem to be the same!

    I know that I can map drives the other direction (take my drives mapped with me RDP) but this is not acceptable because several PC (on different sites) will be locally run software that needs a path set for the location of the files, that creates the remote app.

    Any advice will be appreciated.

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • on startup, I get the message, unable to connect to all network drives

    at startup I get message (unable to connect to all network drives) I use windows 7, intel i3, 64-bit and ie9.

    Hello

    Were there any changes (hardware or software) to the computer before the show?

    Method 1: Perform the steps from the link below and see if it helps.

    Programs may be unable to access some network locations after you turn on user account control in Windows Vista or in Windows 7

    Important:  This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs.

    For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    Method 2: Click on the link below and see if it solves the problem.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-Networking/cannot-reconnect-all-network-drives/5c5a4492-1634-4479-91f9-b4d2763b31d2

    Hope this information helps.

Maybe you are looking for