Jump to content
  • Advertisement
Sign in to follow this  
encom

Remote reboot windowsxp

This topic is 4558 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have a windows xp network and a linux serveur. How from linux server to reboot windows stations ? thanks

Share this post


Link to post
Share on other sites
Advertisement
I can't think of the name of the program in linux, but they do have a remote desktop client in linux that can connect to windows verisons that run terminal server/remote desktop. You can restart them that way. Else you might look for a program that can reboot the computer from a remote signal (wouldn't be that hard to program).

Share this post


Link to post
Share on other sites
Well you would have to actively access the remote desktop and then issue the reboot command. In XP you can click on the Windows Security button on the taskbar (which appears in remote desktop mode), or use taskmgr and choose reboot. I'm looking at a remote connected computer right now. I reboot them all the time. I know its possible.

And as far as a program, just write your own. Look up on creating service programs. Then lookup using Winsock2 for networking. And then you want how to get the security permissions to reboot the computer. All of this is avaialble in the MSDN library. Then you would just need to write a small linux program which uses berkeley sockets to send a message to the windows machine to reboot.

Share this post


Link to post
Share on other sites
hehe, i have done it. I have a service on NT to reboot the PC, BUT it doesnt work (i add the privilege to reboot). When nobody is loged, the reboot doesnt work (Error : device is not ready). That's why im searching a program.

Share this post


Link to post
Share on other sites
If this is a one-installation situation where you want it to work with just two specific machines, then just write a small windows service that listens on a certain port and waits for a certain packet, or something.

I could write one in a couple hours, fairly simple.

Dave

Share this post


Link to post
Share on other sites
Hmmmmm

My winservice do that. But the InitiateSystemShutdown function doesnt work when nobody is logged !!!!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!