Remote machine control

I am concerned with shutting down a personal computer running on Windows 98 from another personal computer. These two computers form a part of a Novell Netware 4.11 network.
I am particularly interested in doing this using Visual basic ver 5.0 as a programming tool.
I know the IP address of the computer to be shutdown.
Please send me the reply at the earliest.
Thank you!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Windows 98 has no facility for receiving a shutdown command from another computer but it's not hard to program one.

You need to write two programs using VB:

1) On the computer(s) to be shutdown, write an application that will run as a service without a window displayed and have it startup when the machine is booted. Have it listen on some TCPIP port (of your choice) and wait for some command you are going to send it.  If it received the proper command (and probably you should include some authentication as well) it will issue the ExitWindowsEx() to cause Windows to exit and shutdown.

2) On the "master" computer, you just make an app that will open a connection to the port on the remote computer and tell it to shutdown.  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You want source code or the program that can do this ?
Go to, there are many Trojan Horse and their source code (VB, C, Delphi...).
You can use any of this to do.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.