The following knowledgebase explains how you can delete all the active connections on a local computer using Net Use command:
You can use the following command to delete Active Connections on a local computer:
Net Use * /delete.
The above command deletes all the active connections in local computer.
Please note this command can also be used on remote computer. Please see the Net help use for more options.