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 mapping

    in Windows 10 Network and Sharing
    network mapping: How can I see device connections via routers and switches in Win10? https://answers.microsoft.com/en-us/windows/forum/all/network-mapping/a0a09ab4-3d73-4824-b9fb-75140cfd7992
  3. map networking

    in Windows 10 Network and Sharing
    map networking: how do I map network my music folder it says I don't have permission when I set it up https://answers.microsoft.com/en-us/windows/forum/all/map-networking/e24cbbc4-1c76-43dc-b225-072d4e0e682e
  4. Map Network drive

    in Windows 10 Network and Sharing
    Map Network drive: Having an issue with mapping network drive with my local Netgear device. The id/password for attaching to the netgear device is local to the device and is not joined to a domain. My windows 10 laptop is joined to a domain. When I try to map a drive, such as...
  5. Map Network Drive

    in Windows 10 Network and Sharing
    Map Network Drive: What to do with the following error: "The mapped network drive could not be created because the following error has occured: We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network...
  6. Map A Network Loction

    in Windows 10 Network and Sharing
    Map A Network Loction: I was mapping a network location I got as far up as the password because I put my password in but then it said "The specified network password is incorrect" when it is the correct password. Windows 10...
  7. Changing icons for network mapped folders and shares with no drive letters.

    in Windows 10 Customization
    Changing icons for network mapped folders and shares with no drive letters.: I am looking for how to change the icons for network mapped shared folders from a NAS or Server that don’t have or display drive letters. I am mapping to NAS and Server using Windows 10 Pro....
  8. 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...
  9. 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...
  10. have to map network shares but another win10 sees the network fine

    in Windows 10 Network and Sharing
    have to map network shares but another win10 sees the network fine: can we fix this win 10 pc to simply see network shares. both win 10 pc are plugged into same lan router. Example here are the shares appearing on a win10 pc called boat2pc, that sees the network fine. The other win 10 pc called LRPC sees none of these shares. 97369

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.