#2
|
|||
|
|||
Searching on google for
computer management automate shared folders disconnect all sessions The cached link for the second result http://209.85.173.132/search?q=cache...=us&lr=lang_en Suggests two possibilities. VBScript (from a Run Script action): Code:
Set objConnection = GetObject("WinNT://computername/LanmanServer") Set colSessions = objConnection.Sessions For Each objSession in colSessions colSessions.Remove(objSession.Name) Next net session \\computername /delete /y http://www.ss64.com/nt/net_share.html |
|
|