WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Netzwerke (http://www.wcm.at/forum/forumdisplay.php?f=32)
-   -   Befehle auf anderen PC übers Netzwerk starten (http://www.wcm.at/forum/showthread.php?t=77212)

MUCH 15.11.2002 17:30

Befehle auf anderen PC übers Netzwerk starten
 
Liebe Gemeinde,


wie kann ich einen Befehl auf PC2 (win98SE) starten, indem ich am PC1 (win2000) am cmd-line irgendetwas eintippe?
Konkret: Ich möchte PC2 übermitteln, dass er runterfahren soll...
Geht dies vielleicht via irgendeinem "NET"-Befehl, bzw. wie sonst, oder geht dies überhaupt nicht?

Danke!

pc.net 15.11.2002 18:18

AFAIK kann man ein remote-shutdown nur mit win2k/xp-clients machen ...

rosi 15.11.2002 18:24

pc-anywer

MUCH 15.11.2002 18:25

@rosi: PC-Anywhere bzw. VNC sind schon klar...

@pc.net: wie funktioinert dies für 2000er-clients???

danke!

pc.net 15.11.2002 18:38

Zitat:

Original geschrieben von MUCH
@rosi: PC-Anywhere bzw. VNC sind schon klar...

@pc.net: wie funktioinert dies für 2000er-clients???

danke!

bei du nimmst die shutdown.exe (entweder von einem xp-system oder aus dem w2k-ressource-kit) und schaust dir am besten mal auf der command-line mittels 'shutdown /?' die optionen an ...

mit 'shutdown -i' wird sogar eine grafische oberfläche präsentiert ...

pc.net 15.11.2002 18:39

achja, hier noch der link zur ms-kb:
http://support.microsoft.com/default...;en-us;317371&

rosi 15.11.2002 18:45

ja kenn ma,aber bei mir nix netzwerkpc angezeigt.funkt net so richtig von microsoft.

pc.net 15.11.2002 18:56

hier zwei batch-dateien zur demonstration der shutdown.exe ...

[ RECHNERNAME ] durch den namen des jeweiligen rechners ändern ...

Christoph 15.11.2002 20:50

Hallo MUCH,
ich hab mir das Freeware-Progi VNC geholt und auf beiden PCs installiert, damit kannst Du auch den anderen (Server) runterfahren.
Geht einfach, es gibt aber auch andere sehr ähnliche Progis.
Siehe:
http://www.uk.research.att.com/vnc/
http://bbs1.biz-worms.de/rz/vnc/vnc.phtml

lG
Christoph

MUCH 16.11.2002 08:32

...das beste VNC ist m.E. esVNC - basiert auf tightVNC UND HAT FILETRANSFER!!! :)
normal ist deren homepage: http://perso.wanadoo.fr/samfd/esvnc/
- ist aber derzeit tot, darum ein anderer DL-link:
http://www.derfisch.de/modules.php?o...q=getit&lid=77

ABER: Ich wollte eigentlich wissen, ob ich im Netzwerk einen Befehl zum anderen PC "schicken" kann, der diesen veranlasst herunterzufahren, OHNE VNC oder andere Fernwartungs-tools zu installieren...

chrisne 16.11.2002 09:48

im reskit für nt und 2000 gibt es ein programm, mit den du übers netzwerk befehle starten kannst. ich habe das unter nt 4.0 und 2000 getestet.
ob das unter win98 geht weiss ich nicht.
wenn ich zeit habe, dann werde ich die cd einmal suchen und schauen wir das programm heisst.

gruss
chris

flocky 16.11.2002 10:37

aus der windows (XP) hilfe:

Code:

ShutdownAllows you to shut down or restart a local or remote computer. Used without parameters, shutdown will logoff the current user.

Syntax
shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

Parameters
-l
Logs off the current user, this is also the defualt. -m ComputerName takes precedence.

-s
Shuts down the local computer.

-r
Reboots after shutdown.

-a
Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.

-f
Forces running applications to close.

-m [\\ComputerName]
Specifies the computer that you want to shut down.

-t xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.

-c "message"
Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.

-d [u][p]:xx:yy
Lists the reason code for the shutdown. The following table lists the different values.
 
Value Description
 
u    Indicates a user code.
p    Indicates a planned shutdown code.
xx    Specifies the major reason code (0-255).
yy    Specifies the minor reason code (0-65536).

/?
Displays help at the command prompt.
Remarks
If you indicate a major and minor reason code, you must first define these reason codes on each computer for which you plan to use the particular reason. If the reason codes are not defined on the target computer, Event Viewer cannot log the correct reason text.
Examples
To shut down \\MyServer in 60 seconds, force running applications to close, restart the computer after shutdown, indicate a user code, indicate that the shutdown is planned, log major reason code 125, and log minor reason code 1, type:

shutdown -r -f -m \\MyServer -t 60 -d up:125:1

Formatting legend
Format Meaning
Italic Information that the user must supply
Bold Elements that the user must type exactly as shown
Ellipsis (...) Parameter that can be repeated several times in a command line
Between brackets ([]) Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
Courier font Code or program output


pc.net 16.11.2002 11:43

@flocky
da handelt es sich genau um shutdown.exe - und darauf hab ich oben schon hingewiesen ...

;)

Thunder 16.11.2002 13:35

EMCO Remote ShutDown 1.4
 
Vielleicht ist das http://www.emco.is/ das Richtige für dich...

flocky 16.11.2002 16:40

Zitat:

Original geschrieben von pc.net
@flocky
da handelt es sich genau um shutdown.exe - und darauf hab ich oben schon hingewiesen ...

;)

warum sollte er nicht wissen wies funktioniert? ;)


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:32 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag