Initiating a program on another computer

Fornoth

Member
Jan 25, 2002
79
0
0
Ok,

I have a computer on my network. I want to be able to control it starting up and shutting down from my machine. Starting up isn't that big of a problem, since it has Wake on Lan. The problem is shutting down. I have Shutdown Now put there; but can't figure out how to run it on that machine from a command form my machine. Any ideas?
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
What OS?

If it were a *nix, then it's easy. But I expect it isn't a *nix! :p
 

Fornoth

Member
Jan 25, 2002
79
0
0
Sucky Windoze 98SE. If it helps this comp will be upgrading to XP, I need it to run the free version of Maya :)
 

Poof

Diamond Member
Jul 27, 2000
4,305
0
0
Well - you could install VNC on it (that's what I have on my windoze boxen), and then you can connect to it and run it through a normal shutdown remotely.

VNC :)
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
Hang on, Fornoth! When I get home, I'll send you the appropriate rundll32.exe command. :)

I believe I got it from BadThad's site, if you can find a link to it anywhere around here.
 

Fornoth

Member
Jan 25, 2002
79
0
0
Cool! Now problem 2 :) Anyone know if there is a program that lets you share an internet connection just using window's networking? I just want this machine to keep internet access - without a proxy server.

*keeps looking for another network card to make this soooo much easier.*
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Believe it or not, I use Sub7 to control some remote machines. I just change the port, then pasword lock it. Works great :) ( After AV is disabled :) )
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
I got the command!

C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 1

So what exactly is Sub7? (he says innocently)
 

Baldy18

Diamond Member
Oct 30, 2000
5,038
0
0
I use a program called Sygate to share my internet connection. I don't even have to leave it running it just has to be installed and everything works fine.

Sygate

They have changed it around abit I think it is now called Sygate Home Network.
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Sub7 is a backdoor virus believe it or not, but the Virus functions can be tuned off. ( hence the port re-numbering and passwording ) It works great. You can even control the mouse and get a streaming desktop, kind of like the XP remote desktop ( never tried that tho )
 

micron

Diamond Member
Oct 9, 1999
7,228
0
0


<< I use a program called Sygate to share my internet connection. I don't even have to leave it running it just has to be installed and everything works fine.

Sygate

They have changed it around abit I think it is now called Sygate Home Network.
>>

I use sygate home network to share my DirecPC connection... It's a very nice program! :)
 

geek167

Senior member
Aug 14, 2001
516
0
0
Definately VNC! I have it installed on 15 computers here in my computer lab and it makes everything so easy. I don't have to get out of my cumphy chair or move my chair and I can work with the computer like I was actually at it.


VNC!!!
 

SoulAssassin

Diamond Member
Feb 1, 2001
6,135
2
0
You can also use the shutdown command in the resource kit to remotely reboot/shutdown/ect. You can do time them as well, eg remotely set it to reboot in X hours and send a message to users stating it will be shutting down. Remote desktop is also built into XP and you can use ICS to share the internet connection. No need for any 3rd party software. Let me know if you need help setting any of this up.
 

Fornoth

Member
Jan 25, 2002
79
0
0
Sygate looks perfect! Thanks so much :) Lets hope this will work right and we'll have some routing going on :)
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
Hey, Fornoth, I just reread your original message, and it looks like I've been off base all along. :eek: I thought you wanted to shut down by time of day. As far as remote control, if the XP stuff doesn't pan out, I've just been looking at what cygwin offers, as far as Linux commands that run under Windows. The following files are in the /usr/sbin directory:

cron.exe
in.ftpd.exe
in.rexecd.exe
in.rlogind.exe
in.rshd.exe
in.talkd.exe
in.telnetd.exe
in.tftpd.exe
in.uucpd.exe
inetd.exe
makewhatis
sftp-server.exe
sshd.exe
ssmtp.exe
syslogd.exe

I've never set up Linux-style networking, so I wouldn't know what to do. Anyone else, who maybe actually has a LAN, want to give it a try? sshd seemed most likely to start.
 

Fornoth

Member
Jan 25, 2002
79
0
0
You don't need to worry about it anymore :) Sygate takes care of the IP conflicts that I was having - hopefully this box can stay on 24/7 :)
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Win98 has a Internet sharing capability by routing yourself through another system that has dial-up