I have been trying to remotely logoff all the machines in network except the admin machine using java in my software but am not able to do that. is it possible?
And if not what i thought is to use a lanshutdown software in my software. Is it possible to connect two softwares?

i have been trying this for last two weeks kindly help me out.