It’s constantly becoming unmapped (sometimes randomly in the middle of the day). File explorer pages close out by themselves somewhat frequently too. Just curious what might be going on in IT (they’re the ones who showed me how to re-map).

  • JesterRaiin@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    It’s either an attack on your IT infrastructure, updates breaking something, or your IT doing some suspicious bold things.

    Either way, create (if you didn’t already) a *.BAT file on your desktop containing these lines:

    net use * /delete
    
    net use letterofmappeddrive: \\pathtothesharedplace /persistent:Yes
    

    repeat the last line for each mapped drive and run the script every time something weird happens. You can also schedule it to run every an hour or so, until your IT provides a lasting solution to the problem.

    • ramble81@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      It could also be a misconfigured GPO that is blowing away the mappings. Or a script that is defined in the GPO. GPOs are usually scheduled to run every 90 minutes with up to a 15 minute variance in either direction. That would cause it to keep breaking throughout the day. The script above would get you fixed but until the root cause is discovered you’d have to keep running it.

      • JesterRaiin@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It could also be

        It can be great many deal of things swept under “IT doing something bold” rug. 😜

        The script above would get you fixed but until the root cause is discovered you’d have to keep running it.

        Yes, that’s what I wrote in the comment.

    • ReallyKinda@kbin.socialOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Excellent, this script is simple enough for me to understand what it’s doing and will improve my workflow:)