Announcement

Collapse
No announcement yet.

[help] clear mapped drive cache

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [help] clear mapped drive cache

    hey.

    so, we have moved our file repository to a new server. the drive gets mapped on everybody's pc via 'net use' in a batch file called via gpo. in order to make this as transparent to the users as possible, the new location is also mapped as the 'z' drive. (specifically, the old command is "net use z: \\pdpdcsm\datasm$" and the new command is "net use z:" \\motherbrain\datasm$").

    so, i made the change to the batch file pointing to the new share, but upon login, the old share is still getting mapped. as a test, i added a second mapping to the batch file to a completely unrelated share, and that works. so, apparently, the old 'z' mapping is cached locally.

    of course, i can give the new share a new mapping, but i really don't want to. everybody, all day long, is z-drive this and z-drive that. so...

    is there any way i can disconnect from z and let it remap to the new share without going to each client? or clear the mapping cache? or whatever it is that's keeping this from working....?

    thx, as always.

    ----------------
    Now playing: Cat Stevens - Bitterblue
    via FoxyTunes

  • #2
    Re: [help] clear mapped drive cache

    Put this as the first line in your logon script:

    Net Use z: /Delete

    Comment


    • #3
      Re: [help] clear mapped drive cache

      oh, wow, that's simple. so...
      Code:
      net use z: /delete
      net use z: \\motherbrain\datasm$
      like that?

      thx!

      ----------------
      Now playing: Hank Thompson & Brazos Valley Boys - Total Strangers
      via FoxyTunes

      Comment


      • #4
        Re: [help] clear mapped drive cache

        Yep. It's that simple.

        Comment

        Working...
        X