N/APosted on - 08/24/2012
I want to know how to kill remote connections using dos? I tried config/p command but it did not work.Does anyone know the exact command to achieve this. I would like to know commands in order.
How to kill remote connection using dos?
There are many ways to kill the remote connection in DOS, try any of the following:
1. Type query on the DOS prompt. This will show you the list of the connected sessions with Session ID. Search for the remote connection that you wish to kill and then type logoff [SessionID].
2. Or you can also type quser /server: [Server name] to kill the remote server.
3. You need to have an access to the target server if you are not under the same domain. Or you can have access by mapping a drive. Launch the DOS prompt and type qwinsta /server:[yourIPaddress].