A list of active network sessions is generated by entering the command “net use” in the windows cmd console.
C:\Users\id>net use New connections will not be remembered. Status Local Remote Network OK \\192.168.1.3\foo Windows Network The command completed successfully.
A connection can be deleted using the same command but specifying the details of the connection and adding the delete flag.
C:\Users\id>net use \\192.168.1.3\foo /delete \\192.168.1.3\foo was deleted successfully.