Windows 8 and 8.1 Forums

Definitive solution to network connect at startup

  1. #1

    Posts : 2
    Windows 8.1 64bit

    Definitive solution to network connect at startup

    Hi All,

    below is tried and tested solution for error
    could not reconnect all network drives

    do as below to resolve the issue.

    Step 1 Make sure you disconnect all you network drives prior to this [tutorial here]
    Step 2 Open elevated command prompt [tutorial here]
    Step 3 run the below command to create a batch to be run at startup.

    notepad %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\netconnect.bat

    Step 4 type net use command as shown below to connect as many network drives as you like.

    @echo off
    net use [devicename] [\\computername\sharename[\volume] [password] [/user:] /persistent:{yes | no}]

    for example
    lets say i have a volume by name Seagate4TB on nas with ip and user name used to connect network drive is blahuser and password is blahpass then the command will be as below. you can add as many network drives as you like, just keep adding to the batch file .

    net use z: \\\Seagate4TB blahpass /user:blahuser /p:no

    Step 5 save notepad and exit.

    Next time you restart network drive would have connected automatically.

    Advanced users.

    if you donot want any popup command prompt at login
    in other works if want to run this batch in invisible mode do the following

    create a .vbs script to invoke the batch file. place this .vbs in startup folder.
    make sure you replace the folder path with your own location where the batch file is palced.

    Set myShell = CreateObject("WScript.Shell")
    myShell.Run chr(34) & "%USERPROFILE%\netconnect.bat" & Chr(34), 0
    Last edited by Brink; 20 Apr 2014 at 11:15. Reason: updated link

      My System SpecsSystem Spec

Definitive solution to network connect at startup

Similar Threads
Thread Forum
can't connect to network
Hi everybody, first i'm so sorry for my english skills, i'm not good at english, so if i make i mistakes plz correct me, thanks you guys so much :D Now, i had a problems with my laptop, when i chosen " obtain IP and DNS address automaticly " i can't connect to network cause problem " DNS server...
Network & Sharing
Can't Connect to This Network.
Hello, I have a problem when I try to connect to the wifi, it said "Can't Connect to This Network" whenever I tried to connect. I tried reconnecting but still doesn't seems to be working. The laptop OS are: Windows 8.1 Enterprise Wireless Adapter: Qualcomm Atheros ar5bwb222 wireless...
Network & Sharing
Win 8.1 won't connect to internet, will connect to network
I'm having a devil of a time with connecting my desktop computer. The computer connects to the network fine, and other computer s in the house are connected to the internet, so it's not the modem or the connection. I spent nearly an hour on the phone with Internode Support, even though this...
Network & Sharing
cannot connect to network
hi, in our office we have a new windows 8.1 notebook. a user connects to a wifi network. it is working. after 5, 10 or 30 minutes a notebook disconnects from the wifi network, and the other laptops ( with w7) cannot connect to the wifi too. i changed the router. 2x. the problem still exist. if...
Network & Sharing
Device Connect/Disconnect Sound at Startup
Hi, At every start-up there is ether a Device Disconnect sound or a Device Connect sound that gets interrupted by a Device Disconnect sound. This happens on every start-up, after almost everything is loaded. P.S. There are no Yellow !-s in the device manager.
Drivers & Hardware
Can't access network properties,can't connect to network
Hello, I just receive my new desktop with a brand new windows 8, after I successfully installed and activated windows it seems I can't connect to my network neither access its properties. I am actually using my phone as a wifi adaptor through easytether and I already tried to (re)install different...
Network & Sharing
Can't connect to this network
Hi, Please help me.. I can't connect to my workplace network using wifi now it's been 1 months, everytime I try to connect it always appear (can't connect to this network). I'm sure the password is correct and some of my friend ever facing this problem before but it's corrected now. Now i can...
Network & Sharing

Eight Forums Android App Eight Forums IOS App Follow us on Facebook