Windows 10: Mapping network shares on boot

Discus and support Mapping network shares on boot in Windows 10 Network and Sharing to solve the problem; Hello, Is it only me, or is Win10 extremely buggy when it comes to startup scripts? In Win7 this worked flawlessly, but since I upgraded (and now... Discussion in 'Windows 10 Network and Sharing' started by kosta, Jul 31, 2016.

  1. kosta Win User

    Mapping network shares on boot


    Hello,

    Is it only me, or is Win10 extremely buggy when it comes to startup scripts?

    In Win7 this worked flawlessly, but since I upgraded (and now installed fresh), when I give an user a logon script (and put it in the corresponding folder of course, incl. turn off the 5min delay), nothing happens. Like, never.

    If I then try doing things manually, things get even worse:
    - using net use under non-administrative CMD, sometimes is OK, and mostly the mapped drive does not show in This PC (but I can find it in CMD via "x:")
    - placing a script with net use x: \\server\share on the desktop brings similar results - sometimes OK, sometimes not

    I am simply unable to pinpoint where the problem really is. First I though it was something with non being "Administrator", but don't think so...

    It will be less problem with gpedit.msc but rather the problematic script execution.

    More-over, not even using map network drive via Windows Explorer is reliable. It may appear in This PC, or it may not (and only be accessible via CMD).

    Any ideas what's going on here???

    Thanks
    BR


    :)
     
    kosta, Jul 31, 2016
    #1
  2. strinjf Win User

    Network drives don't reconnect on Windows 10 boot up

    I have two NAS drives mapped as X: and Y: drives on my Win 10 laptop. These always re-connected on boot up.

    I recently replaced the hard drive with an SSD and did a fresh install of Win 10.

    Now when I boot, the network drives do not reconnect. I get the pop up (bottom right corner of the screen on boot with the yellow warning triangle) with the message "Could not reconnect all network drives. Click here to check the status of your network
    drives. Windows Explorer"

    The drives appear mapped, but with a red cross on their icon. Attempting to access them gives the message: "Restoring network connections. An error occurred while reconnecting X: to \\192.168.0.3\Shared-files. Microsoft Windows Network: A specified logon
    session does not exist. It may already have been terminated. This connection has not been restored."

    At the moment, I have written a small command file to drop and re-create the network drive mappings

    net use x: /d

    net use x: \\192.168.0.3\Shared-files /user:***** ******

    net use y: /d

    net use y: \\192.168.0.2\share /user:***** ******

    exit

    Surely there must be a proper fix for this issue?
     
    strinjf, Jul 31, 2016
    #2
  3. ledsd Win User
    windows 10 pro ver 1511 build 10586.3 lost all local network pc's

    share between homegroup not working

    have to reset to read/write

    computers and NAS not showing in network

    but do show when map drive

    confirmed able to map share and share

    confirmed had to go thru all homegroup share and reset to read/write

    still only 2 of 4 computers showing in network

    hmmm was not getting Authenticated when mapped share????

    smoke break
     
    ledsd, Jul 31, 2016
    #3
  4. Samuria Win User

    Mapping network shares on boot

    If you run it as admin it won't show in explorer as that's not running as admin if it's a mapping you use all the time add persistent to the car so it's mapped all the time. Running via a script can depending on how it's run can mean it runs as system not the user running via at cmd has always done that
     
    Samuria, Jul 31, 2016
    #4
  5. kosta Win User
    Does the running of script as a User which is part of the Administrators group make the script run as Administrator? I don't think so.

    I'll try adding persistent:yes.

    I can assign the script to a computer policy, but that doesn't run anything, funny enough. Usually it should... especially after gpupdate and reboot.

    So what should I do really?
     
    kosta, Jul 31, 2016
    #5
  6. kosta Win User
    Well, funny enough I managed to solve this.

    From what I read, MS is going away from GPO scripts. There is an article out there about that.
    So, as suggested I tried with Scheduler, and low and behold, it is mapped, BUT: only with persistent:yes. Weird.

    And additionally, the logoff script which does couple of cleaning tasks, is running fine from GPO.
     
    kosta, Apr 5, 2018
    #6
Thema:

Mapping network shares on boot

Loading...
  1. Mapping network shares on boot - Similar Threads - Mapping network shares

  2. Network Shares mapped to DFS namespace. On boot PC cant see the path

    in Windows 10 Gaming
    Network Shares mapped to DFS namespace. On boot PC cant see the path: OK i have been scouring the internet to find the issue but i cant seem to figure this out. About 2 weeks or so we started to have an issue where on boot user drives wont map correctly. We have the user drives mapped to a folder in the \\domain\Public namespace but for some...
  3. Network Shares mapped to DFS namespace. On boot PC cant see the path

    in Windows 10 Software and Apps
    Network Shares mapped to DFS namespace. On boot PC cant see the path: OK i have been scouring the internet to find the issue but i cant seem to figure this out. About 2 weeks or so we started to have an issue where on boot user drives wont map correctly. We have the user drives mapped to a folder in the \\domain\Public namespace but for some...
  4. Network Shares mapped to DFS namespace. On boot PC cant see the path

    in Windows 10 Network and Sharing
    Network Shares mapped to DFS namespace. On boot PC cant see the path: OK i have been scouring the internet to find the issue but i cant seem to figure this out. About 2 weeks or so we started to have an issue where on boot user drives wont map correctly. We have the user drives mapped to a folder in the \\domain\Public namespace but for some...
  5. Network Share folder vs Mapping drives

    in Windows 10 Software and Apps
    Network Share folder vs Mapping drives: Difference between network shared and mapping a drive ? An explanation would be much appreciated https://answers.microsoft.com/en-us/windows/forum/all/network-share-folder-vs-mapping-drives/bf3c629b-63e9-4a45-bff6-db7e656fd84e
  6. Network Share folder vs Mapping drives

    in Windows 10 Gaming
    Network Share folder vs Mapping drives: Difference between network shared and mapping a drive ? An explanation would be much appreciated https://answers.microsoft.com/en-us/windows/forum/all/network-share-folder-vs-mapping-drives/bf3c629b-63e9-4a45-bff6-db7e656fd84e
  7. Network Share folder vs Mapping drives

    in Windows 10 Drivers and Hardware
    Network Share folder vs Mapping drives: Difference between network shared and mapping a drive ? An explanation would be much appreciated https://answers.microsoft.com/en-us/windows/forum/all/network-share-folder-vs-mapping-drives/bf3c629b-63e9-4a45-bff6-db7e656fd84e
  8. Unable to map network share suddenly

    in Windows 10 Ask Insider
    Unable to map network share suddenly: Hi all, Just been accessing my network share on a linux box through a self served vpn server (on router) with no problems, when suddenly I'm getting no joy. Tried to remap (and deleted credentials) and firstly it comes back a second time with the password box, and then fails...
  9. Cannot map shared network drive

    in Windows 10 Network and Sharing
    Cannot map shared network drive: I have just upgraded from Win7 Pro to Win10 Pro and have a problem with a shared network drive. Under Win7 and 8.1 I had no difficulty mapping this drive which is attached directly to my access point. However, since upgrade, I can log into the drive using a browser but cannot...
  10. Unable to map Network Shares Windows 10

    in Windows 10 Network and Sharing
    Unable to map Network Shares Windows 10: Hi, I've got 2 Western Digital Network drives hard wired on my network, a My Book World and an EX2. Since upgrading to Windows 10 I've had intermittent problems viewing and setting network drives. I've read a lot of other posts and tried a number of things suggested...

Users found this page by searching for:

  1. yellow trianglecould not reconnect all network drivesclick here to check the status of your network drives.windows explorer.