If we can not logon server, follow this step
1. net use IPaddressipc$ “password” /user:”UserID” (do not forget the “”)
2. qwinsta /server IPaddress (Check session ID, on server can use query session)
3. logoff sessionID/server:IPaddress (logoff User)
4. net use IPaddressipc$ /delete (delete ipc$)
Or we can use
query session