How To Fix 'Could Not Reconnect All Network Drives' Error

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 176

  • @BattleNonSense
    @BattleNonSense  6 лет назад +12

    ► Support Battle(Non)Sense: www.patreon.com/battlenonsense
    ► Download
    ➜ ReconnectNetDrives.bat gist.github.com/BattleNonSense/fb27377bc8a0ca2e9c58f28924ce277b
    ➜ ConnectDrives.bat gist.github.com/BattleNonSense/6cb7cca393f44ba043705962949a179a

    • @rokzter12
      @rokzter12 5 лет назад

      Hi Chris, based from the video you made... I think what I would be needing is only the "ReconnecNetDrives". Would you recommend also using "ConnectDrives"?
      I will be trying to use the ReconnectNetDrives today before I go off the weekend. Hopefully it addresses my problems.
      Thank you and I look forward to your response.

  • @NikolaNevenov86
    @NikolaNevenov86 3 года назад

    2 years later I still use this. Just had to reinstall windows after 2 years of usage, and I lost the script file. But now I found your video again. Great solution!

  • @tyedixon5495
    @tyedixon5495 5 лет назад +1

    Fantastic and Simple! Well done. I really needed this as I have built a Plex Media Server and initiate an automatic reboot at 3:00 am and if my NAS drives don't connect the Plex server will fail to record our scheduled shows and all hell breaks loose at home lol. Thanks for this great workaround!
    Peter (Toronto)

  • @beginna
    @beginna 4 года назад

    I am a new NAS user. I like your workaround, the ReconnectNetDrives.bat
    it's simple and effective.
    thanks

  • @andygrundman
    @andygrundman 6 лет назад +2

    Wow Chris that script is surprisingly well done. Good job I have this problem every time I reboot!

  • @GGnext.crazycro
    @GGnext.crazycro 6 лет назад +11

    Thank you! OMG i have been searching for a solution to this for a year....
    The entire time i have been using a workaround Filezila ftp server hosted on LAN -.-!

  • @EposVox
    @EposVox 6 лет назад +15

    CLUTCH! Thank you so much

  • @jarrastafari
    @jarrastafari 6 лет назад +5

    Finally, a fix that just works. Thanks for spending time to do write this.

  • @Lifefromanotherplanet
    @Lifefromanotherplanet 6 лет назад

    Yes, it works !!!
    It's unbelievable that this ancient problem has not yet been solved by Microsoft
    Thanks for your creative thought that helps, I'm sure for a lot of people

  • @pokemonmandag2108
    @pokemonmandag2108 2 года назад +1

    💥 This is one of the greatest scripts ever made for Windoze10 💥
    Now reconnecting my mapped networkdrives works flawlessly by just running the script if they check as offline 🙌🥳
    BIG THANX

  • @sarkxyson6113
    @sarkxyson6113 4 года назад

    Nice Video and explained well, your script saves me from having to open explorer each and every time I boot the PC to reconnect the network shares. Thanks again!

  • @GabrielMazzoleni
    @GabrielMazzoleni 6 лет назад

    Man, i have to say that your channel is WORTH to be subscribed

  • @chrisdglong
    @chrisdglong 4 года назад +2

    The funny part is, I see threads about this issue going back at least 6 years... Microsoft doing the great work that they do!

  • @CaptOverShoot
    @CaptOverShoot 5 лет назад +3

    Used "RecconnectNetworkDrives" this worked immediately, thanks a lot. Are these scripts safe to use by the way?

  •  4 года назад

    Amazing work, thanks mate! This bug is really annoying. A second bug what I was found but not luck to find the solution is, that newer versions of Windows like 8, 8.5 and 10 are using network names of the computer instead of the IP adress. Yes its make sence, if your compuer have a dynamic ip assignment. But I have the problem, that Windows after rebooting is not able to search the computers in the network by the name. They are only searchable by IP adress. And very interesting thing is that after fresh installation of Windows is everything working just fine for some time and just out of the nowhere it stop working. As I said, my walkaround is have a static IP adresses assigment to my computers with shared drives. Anyway, thanks again for this script :)

  • @B4ST3i
    @B4ST3i 6 лет назад +2

    For the first script, wouldn't it make more sense to create a array containing all the drive letters and then itterate through that array instead of writing the same command 26 times?
    that would make it even quite modular as you could manually add or remove the drives you need

  • @BeastChan23
    @BeastChan23 6 лет назад

    Wow I've been looking for a solution to this for so long.
    Finally updated to 1803, and completely forgot they removed Homegroups, adding network shares was a pain

  • @testtestjimmy
    @testtestjimmy 5 лет назад

    Your script worked great for me. A small bit of feedback. I have 3 to 4 network drives that I VPN into for clients. These aren't online unless I am connected to their networks. With your script an explorer window pops up with an error. Which I have to close manually, would be nice if the script closed these for me :) anyway thanks a bunch you have solved an issue for us!

  • @GunterGruhn9973
    @GunterGruhn9973 4 года назад +2

    Thank you! A well-written and really helpful little script!

  • @aaronkapur1153
    @aaronkapur1153 6 лет назад

    i added these 2 lines :
    net use * /del /yes
    net use /persistent:no
    above:
    REM Template with login details: net use DRIVE: PATH /user:NAME PASS /persistent:NO
    *in the second script mentioned in the video
    I was getting a "device name already in use" error when opening drive from explorer
    I'm still not sure if "persistent" should be YES or NO if I want the drive to connect automatically on startup
    otherwise, the script worked great, thanks!

    • @BattleNonSense
      @BattleNonSense  6 лет назад

      _"I was getting a "device name already in use" error when opening drive from explorer"_
      then it was already mapped :)

  • @Syncubus
    @Syncubus 5 лет назад

    Thanks for the code! I kinda knew what the problem was, and you've done some elegant stuff with the wait states and checking. Also "for %%v in (a b c...[OMFG! all 26 of them!]...x y z)" can iterate through the alphabet for you in DOS/Windows batch to tighten things up by 25 paragraphs of code... (type "for /?" for syntax.)
    Windows needs to execute drive mappings AFTER credentials are supplied. Why this is still an issue after several versions of Windows is a mystery.

  • @mctonale
    @mctonale 6 лет назад

    Thanks Chris. Been looking for something like this since Vista. Could have worked out how to write one myself but never got round to it.

  • @mastapat11
    @mastapat11 5 лет назад +5

    Nice! But how do I turn off the notification bubble in the lower right corner?

    • @shaunf836
      @shaunf836 4 года назад

      @battle(non)sense, (do @'s work in the RUclips?) ... Thank you so much for your work. Additionally, any way to get rid of the annoying notification or to get the script to run before the network drive connectivity check?

  • @donglobal
    @donglobal 4 года назад

    Excellent, thanks Chris for solving this headache.

  • @almsys
    @almsys 4 года назад

    Thank you. Works perfect for all of my Windows 10 PCs.

  • @MelDominguezRD
    @MelDominguezRD 2 года назад

    Nice work, very helpful, I was going crazy with this.
    Keep up the good work.

  • @BazejTuszynski
    @BazejTuszynski 5 лет назад

    You are the man! Thank you for this, no one seems to know how to fix this issue.

  • @mikeporter5630
    @mikeporter5630 5 лет назад

    Excellent, great work around for a long time annoying issue. Thank You!

  • @davidr5795
    @davidr5795 5 лет назад

    This video and script is a blessing. Thank you so much for creating this and posting it!

  • @Pgatas
    @Pgatas 4 года назад

    You earned your self a subscriber and a fan!!! Thank you this was driving me crazy

  • @geoffwhite1323
    @geoffwhite1323 4 года назад

    thank you - works like a charm and your instructions were clear and easy to follow.

  • @theLine7
    @theLine7 6 лет назад

    If you are using a German version of Windows, the Windows Credentials can be found at:
    Systemsteuerung\Alle Systemsteuerungselemente\Anmeldeinformationsverwaltung

  • @luisguillermoplascenciaarr4784
    @luisguillermoplascenciaarr4784 3 года назад

    You're a life saver!! I'm suscribing to your channel

  • @geoffkent
    @geoffkent 4 года назад

    It actually worked...thank you Chris!!

  • @Jonas-xz7ee
    @Jonas-xz7ee 5 лет назад +1

    excellent work, buddy. very good workaround for this pain of the ass.

  • @nickhechtel640
    @nickhechtel640 6 лет назад +2

    Chris, is your NAS JBOD or RAID? You got a Lot of disc space right there, more then me and i already have a whopping 19 TB

    • @kinsi55
      @kinsi55 6 лет назад +1

      The drive size (And usage for that) is shared if you dont specify an explicit size limit for a share, so its prolly a 4x6TB setup

    • @nickhechtel640
      @nickhechtel640 6 лет назад

      kinsi55 Makes Sense, but no security

    • @BattleNonSense
      @BattleNonSense  6 лет назад +2

      I use unRAID :)
      ruclips.net/video/TZSUrZQXGqM/видео.html

  • @cammelspit
    @cammelspit 4 года назад +1

    After using the first of these scripts for well over a full year, I have an issue with it I cannot get around. The script takes too long to work its magic. The issues are if you have an app that relies on these mapped shares start with your PC, it will ALWAYS fail because the share isn't ready yet. I will try disabling the autostart of the app and add that to the bottom of the script and see if that helps or I may use the second one and see how that goes. Just though some might like to know

  • @paul9273
    @paul9273 6 лет назад

    Fabulous. Works perfectly. Thank you very much Chris!!

  • @JuanDiazSilvermyst
    @JuanDiazSilvermyst 4 года назад

    Can you show us how you can backup/Restore your network drives? this would be a good video

  • @TheJmorton55
    @TheJmorton55 4 года назад

    Thank you so much. That reconnectnetdrives worked a treat!!!!

  • @MikeGormez
    @MikeGormez 5 лет назад

    This did it for me. Thanks! Microsoft should pay you to fix their yearslong mess :)

  • @aqantassoftware3792
    @aqantassoftware3792 5 лет назад

    Excellent Solution, Hats off to you guys. Thank you so much for sharing.

  • @imnotusingmyrealname4566
    @imnotusingmyrealname4566 6 лет назад +4

    That's a nice thumbnail. How can you create these angled screenshots?

    • @BattleNonSense
      @BattleNonSense  6 лет назад +8

      Photoshop -> Edit -> Perspective Warp :)

  • @jhurielhax2195
    @jhurielhax2195 5 лет назад

    Awesome!!! Mil gracias!!!! I've been looking for a solution to this since I bought my NAS. Sad though it isn't already solved by Microsoft itself, NAS are in so many houses nowadays

  • @Bugkiller666
    @Bugkiller666 6 лет назад

    NICE !!!! thanks for sharing Chris !!

  • @mrr6510
    @mrr6510 4 года назад +1

    Many thanks for this video, i have been having this issue for years and now its been 'worked around'. Is it possible to get rid of the taskbar notification though? I have hidden in under the arrow for now but it still shows during startup.

  • @EposVox
    @EposVox 6 лет назад

    Huh, this worked for one drive, but another just pops up a manual message saying "Path not found" but it still works. weird.

    • @BattleNonSense
      @BattleNonSense  6 лет назад

      I wrote a new script that should fix the issues some people had due to how I detected the offline drives.
      could you try this one please? we.tl/VWwLGTBUts

    • @EposVox
      @EposVox 6 лет назад

      Hm, still giving me
      ---------------------------
      Restoring Network Connections
      ---------------------------
      An error occurred while reconnecting X: to
      \\(drive name)
      Microsoft Windows Network: The network path was not found.
      This connection has not been restored.
      ---------------------------
      OK
      ---------------------------
      It's like it's not waiting long enough or something

    • @BattleNonSense
      @BattleNonSense  6 лет назад

      You can try and increase the timeout /t value from 5 to something greater. but I wonder if the cause of your problem is a different once. :(

    • @EposVox
      @EposVox 6 лет назад

      The funny part is this specific drive wasn't even the one refusing to connect originally

    • @BattleNonSense
      @BattleNonSense  6 лет назад

      So you have multiple network drives, pointing to the same source/PC, and only this one is causing troubles?
      The error means that windows could not connect to the target PC, which you usually only get when your network or the target PC is down.
      In W10 there was also this bad bug which caused that windows could not resolve the IP address for a hostname, and so it could not connect to "server" because it could not find the IP for that host. This should have been fixed with the new update from last week.

  •  4 года назад

    You're the best! The script works like a charm ♥ Thank u!

  • @rohanjnayak
    @rohanjnayak 4 года назад

    Works like a charm. Thank you!

  • @jd.8019
    @jd.8019 6 лет назад

    I see you are using Stardock Fences ;) I have had a license for that since beta. Great application!

  • @MrRaijuu
    @MrRaijuu 6 лет назад +2

    I added shortcuts to network drives in "startup" folder to workaround that

  • @naytonthunder
    @naytonthunder 5 лет назад

    Hey man, consider you script for network drives accessed via VPN (manual connected VPN). I use your script and task scheduler to track and trigger your script, because otherwise from startup it will launch it before drives accessible. Cheers

  • @Maho.
    @Maho. 6 лет назад

    I wonder if using DIR on a directory and routing it to NUL would work better then opening explorer processes. Can't test it, mine are online already

  • @TheBekker_
    @TheBekker_ 6 лет назад

    Good thinking, simple and good work around :)

  • @des4511
    @des4511 6 лет назад

    windows updates sometimes stop services, DNS Client, Function discovery resource publication, SSDP Discovery, UPnP Device Host. Type services in the cortana search box, set them to automatic

  • @zhongzhongclock
    @zhongzhongclock Год назад

    Oh! You are so cool, and saved me!
    This BUG is really a shame on Microsoft!!!

  • @HAL-1984
    @HAL-1984 6 лет назад

    You the man - cheers for the hard work!

  • @vinylotus
    @vinylotus 6 лет назад +1

    Hey Chris, could You do a video talking about internet on console? Mtu, DNS and NAT types comes to mind now.

  • @EPICOfficialTeam
    @EPICOfficialTeam 6 лет назад +1

    Will you make a video on how to fix nat type 3 for ps4s. There are already decent videos out there explaining this but I feel you would be able to produce the best video for the issue.

    • @BattleNonSense
      @BattleNonSense  6 лет назад +1

      I don't have a PS4 here, so I can't really comment on that. Basically this is a router issue. Enabling UPnP on the router can 'fix' it, but this raises security concerns as it then allows any application on the LAN to punch a hole into your firewall.

  • @50charactersonly61
    @50charactersonly61 Год назад

    New subscriber! Will the first script work even if I can't access the files of the mapped drive? My problem is every time I reboot my NAS drive shows as disconnected. Tks

  • @FusionThunderStarCitizen
    @FusionThunderStarCitizen 4 года назад

    In the command prompt(run as admin) I use:
    net stop workstation /y
    net start workstation

  • @brandonvolesky9867
    @brandonvolesky9867 4 года назад

    Thanks for the help man, I appreciate it.

  • @chriskefel1427
    @chriskefel1427 5 лет назад

    Fantastic!! Thank very much for this fine script, a solution on my Windows 10.

  • @Maisonier
    @Maisonier 5 лет назад +3

    noooo !!! year 2019 and still is a manual fix !? what the hell Microsoft?

  • @GlennPerdicaro
    @GlennPerdicaro 2 года назад

    SO! thnx alot for this fantastic tutorial!!! help my alot

  • @CoryB_1980
    @CoryB_1980 4 года назад

    Works perfectly, thank you!

  • @ace_of_spadesgaming9674
    @ace_of_spadesgaming9674 6 лет назад

    Doing g this later today when I wake up. Genius, Chris!! Just genius!! I also like how you put it on GitHub..and Microsoft is trying to by them. Making it easier for Microsoft to fix the problem! Haha

  • @martinallen6316
    @martinallen6316 5 лет назад

    Hi been trying to solve this problem for awhile now great fix nice and simple A++++ I don't post messages very often but this fix deserves one

  • @ThatRandomFastingGuy
    @ThatRandomFastingGuy 5 лет назад

    Thank you sooooooo much! My iTunes is mapped to a network drive and when I import music without connecting a drive the songs are locally stored.... Thank you so much!

  • @a24425311
    @a24425311 4 года назад

    don't if you can still see this, i am just wondering what if i am not in my LAN? will this script keep trying to find those disconnected network drives?

  • @fluffyRabbit01
    @fluffyRabbit01 6 лет назад

    I have a MSI GS63VR (laptop). My Wi-Fi disconnects randomly sometimes. Is it normal? Is there a way to stop it?

  • @GeckoEidechse
    @GeckoEidechse 6 лет назад

    Thanks for the tip. While I might not have a use for it yet, it may come handy in the future. ^^

  • @khammered
    @khammered 6 лет назад

    I'm finding that the latest Synology server update (DSM 6.2) has slowed down my NAS to a point where Windows can't see the drive folders for almost a minute (the server needs to be woken up) , Synology should never had pushed this update for older devices

  • @3drianleth
    @3drianleth 4 года назад

    Thank you very much this is a life saver for me!

  • @agunggm9980
    @agunggm9980 3 года назад

    It works.. Amazing.. Thank you !

  • @alejandroroman5013
    @alejandroroman5013 4 месяца назад

    Thanks a lot. A problem solver. It really works graet.

  • @HuMaNiTaRiAn1
    @HuMaNiTaRiAn1 6 лет назад

    You can use
    if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "C:\path-to-batch-file" && exit
    To point to the script and make sure it's minimised and close once done.
    I too had this problem, although my script was a lot less encompassing and just involved me delaying for 30 seconds, opening up the 2 network drives in explorer and closing after 2 seconds.

  • @lorenzkern8613
    @lorenzkern8613 6 лет назад +1

    uhm, about Fortnite's netcode:
    I've noticed that when a lot of players are together in one area (mainly in the 50 v 50 mode) that the tickrate is decreased from 30 to ~20 and 75 to ~50 (not packet loss), this is probably becasue of a limit on how much data (not only quantity (how many packets are sent) but also quality (how big those packets are)) can be sent.
    in your analysis of Fortnite's netcode you said that the ticktrate wasn't 100% stable, maybe it was due to you hitting that cap on how much data could be sent/recived.
    maybe you could also monitor how much data is being send and then compare its graph to the tickrate's (probably best tested in 50 v 50).

  • @sickgr33k
    @sickgr33k 5 лет назад

    thankyou so much mate, your script worked perfectly!!!!

  • @Sinigan9
    @Sinigan9 4 года назад

    I keep getting error that "This network connection does not exist" whenever I attempt to Citrix. Please help.

  • @marianartz7006
    @marianartz7006 6 лет назад +9

    Please do a Netcode Analysis of "Squad" it attempts to be a realistic 80player Military Simulation. Since you die very fast I think it is important to have great netcode. :)
    Greetings

  • @sinico123456789
    @sinico123456789 5 лет назад

    Thank you ! Saved a lot of my time ;D

  • @dannytripper
    @dannytripper 4 года назад

    Fixed my issue! Thanks!

  • @Thijs_NL
    @Thijs_NL 5 лет назад +2

    Once in a while? Try every boot... I really dont understand, how this is something, that is happening since windows xp.. still happening today.. really.. what the f#ck...

  • @elasticy26
    @elasticy26 6 лет назад

    How do you get that interactive download widget in the bottom right of your desktop?

  • @simonevalmacco8126
    @simonevalmacco8126 4 года назад

    Thank you for your script! There's a way to not open all the network folder after running the script? thasnk you!

  • @wagstaffr
    @wagstaffr 6 лет назад

    Many thanks - very much appreciated.

  • @soulrebelno1
    @soulrebelno1 4 года назад

    I raised this problem with Microsoft years ago, and they still haven't fixed it! The problem seems to be a timing issue. Windows tries to connect to a network path at boot-up, but the path hasn't been created. All that's required to fix it, is a simple delay, or for Windows to detect the server first, before trying to connect to it. I got round the problem by creating a batch file with the network drive information in it, for instance; ECHO Map Drive M: net use M: \\\music /persistent:no. Then create a task in Task Scheduler to execute the batch file at logon, you also need to select network available, and add a delay if necessary. A network address would be something like: 192.168.nnn.nnn or it could be the server name. As you say, use Manage Windows Credentials to store any password information, because it's more secure than leaving it in a batch file.

  • @totiketotike
    @totiketotike 4 года назад

    Thank you very much sir!

  • @mikkelbayer4403
    @mikkelbayer4403 6 лет назад

    I wonder if script will work if executed during logon and not after

  • @redeemedtc
    @redeemedtc 5 лет назад

    Thank you, you are a great help!

  • @hyp36rmax
    @hyp36rmax 5 лет назад

    Thanks! Works perfectly!!!!

  • @chrisshaw9550
    @chrisshaw9550 5 лет назад

    Awesome ! Thank You !!

  • @xanderjimenez881
    @xanderjimenez881 Месяц назад

    THIS IS AWESOME, THAT DOES WORK!

  • @KilaByte33
    @KilaByte33 5 лет назад

    Still not working but my other pc connects to the mapped drives just fine. This worked great until a recent reeboot, I'm at a loss

  • @qrr9152
    @qrr9152 4 года назад

    WHat i need to do if I have some sharing on server 2012 and when user restart PC the windows 10 cannot map ny drive, but if you close system and startup then it is ok, only restart have problem :)

  • @MastaShadow24
    @MastaShadow24 6 лет назад

    hmm weird I get the error everytime I restart but never need to manually reconnect

  • @bjrnbratz9575
    @bjrnbratz9575 5 лет назад

    ReconnectNetDrives works perfectly, only if I run the script by manually doubleclicking on the saved file. If I put this file in the Startup folder, it creates a LOT of error messages.
    So, it works in a way, only with a little help from a private "workaround"... ;-)
    Really wonder why it refuses to do the job automatically as supposed! Anybody?
    Anyway, this is by far the closest I have com to (finally, after so many years) to solve this annoying problem. Big thanks for your effort. Sorry to say, Microsoft left us behind, does not care, nor listen. BIG SHAME!

    • @3drianleth
      @3drianleth 4 года назад

      Same error here when I place it on the startup folder. How did you work around this? thanks

  • @Ottonic6
    @Ottonic6 4 года назад

    Thank you, but still pops up. I know there is a way to keep the message from appearing. I just need to find it. But, thanks again.

  • @darkfire2703
    @darkfire2703 6 лет назад

    Windows is so annoying. On Linux those things either work or can be fixed by hand quite easily. Now that my network drives work, I just need a solution for my login showing me that f*ing black screen with cursor for 2 minutes.