i have this command to reset desktop connection , i want this script to be run if i got msg max user exeded , the problem is the session got different ID each time .
so i need batch .BAT , to run this script and only put the ID # to reset
can anybody help??
net use /user:user\\server\share
query session /server:server
reset session # /server:server