palserv
asked on
Windows Batch File To Reset Remote Desktop Connection
Hello,
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??
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
pause
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.