I am currently using the command "net use k: \\server\share" as a .bat login script in AD and am wondering if there is anyway that I can use a logoff script and unuse the shared drive mapping.
Windows BatchWindows Server 2003Scripting Languages
Last Comment
Brian Pierce
8/22/2022 - Mon
Brian Pierce
net use k: \\server\share /delete
sk_raja_raja
do you push this scrip through GPO ?
Brian Pierce
you can assign it as a logoff script with a GPO (in the same way as you can set a logon script with a GPO