Re: Remote Log Off In Java
- From: "Greg R. Broderick" <usenet200709@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Oct 2007 13:32:18 -0500
christopher_board@xxxxxxxxxxx wrote in news:1193318701.711667.68540@
22g2000hsm.googlegroups.com:
Hi all, I am currently trying to develop a java application that
allows the user to shutdown or restart a room full of computers at a
time. I would also like the user to have the option to log off the
user on a computer or on multiple computers. The computers are being
shutdown and restarted by using the command prompt, for example,
shutdown -m \\computername -s -t 10 -f. what would be the simplest way
to allow the user to perform a remote log off on a computer.
Any help in this matter would be highly appreciated.
1. Java is multi-platform. What platform(s) are the computers that you are
wishing to shut down/log off? The steps necessary to shut down and/or log of
a Windows computer are going to be drastically different from the steps
necessary to shut down a Sun Sparcstation, a Mac, or a linux machine.
2. Google (Groups) is your friend. You should search this group's archives
for the dozens of queries similar to yours that have been posted within the
past several months.
3. Is there a particular reason that you're wanting to do this in Java?
Other languages which are more intimately connected to the Windows API (e.g.
C++, C) are probably much better-suited for this sort of a task, assuming
that all you're wanting to shut down are Windows boxes.
Cheers!
GRB
--
---------------------------------------------------------------------
Greg R. Broderick usenet200705@xxxxxxxxxxxxxxxxxxxxx
A. Top posters.
Q. What is the most annoying thing on Usenet?
---------------------------------------------------------------------
.
- References:
- Remote Log Off In Java
- From: christopher_board
- Remote Log Off In Java
- Prev by Date: Questions to ask
- Next by Date: Re: Questions to ask
- Previous by thread: Remote Log Off In Java
- Next by thread: Questions to ask
- Index(es):
Relevant Pages
|
|