Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Command to refresh mapped drives?

Does anyone know a way I can create a script within PDQ that could force a machine / user to do a net use * /delete then a gpupdate /force

I presume a bat file could do it but I'm a bit new to this!

0

Comments

2 comments
Date Votes
  • Map Drives Typically Requires a Log off and Log back on. So you'll get prompted to log off đŸ˜•

    0
  • All is same as you described, dont need any bat, just create Step as Command and under Options select run as Logged on User. Works like a charm

    net use * /D /Y
    gpupdate /force
    
    0