WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Netzwerke

Netzwerke Rat & Tat zu Netzwerkfragen und -problemen

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 14.08.2002, 08:24   #1
keop
Veteran
 
Registriert seit: 09.01.2001
Beiträge: 263


keop eine Nachricht über ICQ schicken
Standard Shutdown, Remote von der Befehlszeile?

Hallo zusammen!


Also ich habe jetzt einige Programme angeschaut, die es so im Netz gibt, die einen Computer im Netzwerk von der Ferne herunterfahren lassen.

Alle die ich gesehen habe, machen in der Taskleiste ein Icon und wenn das Programm aktive ist, kannst du entweder anhand des Computernamens oder anhand der Mac-Adresse den PC runterfahren.

So was passiert wenn der letzte der am PC gesessen ist dieses Programm deaktiviert hat. Rechte Maustaste "Beenden" oder so?
Musst du wiederum den PC aufsuchen.

Starten über die Macadresse ist keine Problem.

Denke mir mal, dass der Shutdown doch nur ein Befehl ist. Kann man den nicht irgenwie anders starten, von der Befehlszeile oder mit Telnet oder sonst irgendwie.

MfG und Danke für die Beiträge!
Keop
keop ist offline   Mit Zitat antworten
Alt 14.08.2002, 08:27   #2
renew
Inventar
 
Registriert seit: 22.10.2000
Alter: 41
Beiträge: 5.552


Standard

Es gibt im Win2k (Server?) ResourceKit, genau das was du willst.

Nämlich Remote von deiner Kiste einen Rechner herunterfahren, neu starten. Heißt glaub ich auch shut-down.

Ich schau dir nach, sobald ich wieder da bin, muss nämlich gleich weg.

Soweit ich mich erinnere brauchst Admin-Rechte für den Rechner den du remote runterfahren willst.
renew ist offline   Mit Zitat antworten
Alt 14.08.2002, 08:30   #3
keop
Veteran
 
Registriert seit: 09.01.2001
Beiträge: 263


keop eine Nachricht über ICQ schicken
Standard

Danke,

wäre echt super wenn du mir später nachsehen könntest wo das ding liegt!

MfG
Keop
keop ist offline   Mit Zitat antworten
Alt 14.08.2002, 09:00   #4
Atlan
Master
 
Registriert seit: 20.12.1999
Beiträge: 636


Standard

Windows 2000 Server Resource Kit Tools oder hier

HOW TO: Use the Remote Shutdown Tool (Shutdown.exe) [Q317371]
PSS ID Number: Q317371
Article last modified on 05-08-2002

:2000




================================================== ====================
-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
-------------------------------------------------------------------------------

IN THIS TASK
------------

- SUMMARY

- Description of the Shutdown.exe Tool
- Examples
- Troubleshooting

- REFERENCES

SUMMARY
=======

This article describes how to use the Remote Shutdown tool (Shutdown.exe) to
shut down and restart a local or remote Windows 2000-based or Microsoft Windows
NT 4.0-based computer.

Shutdown.exe is available in the Microsoft Windows 2000 Resource Kit. It is a
command-line tool that you can use to shut down or restart a local or remote
computer that is running Windows 2000 or Windows NT 4.0. If you want to schedule
a computer to shut down and restart at a specific time, use Shutdown.exe in
combination with the at command or Task Scheduler.

Description of the Shutdown.exe Tool
------------------------------------

Shutdown.exe uses the following syntax:

shutdown \\<computername> /l /a /r /t:<xx> "<msg>" /y /c

You can use the following switches with Shutdown.exe:

- <\\computername>: Use this switch to specify the remote computer to
shut down. If you omit this parameter, the local computer name is used.

- /l (Note that this is a lowercase "L" character): Use this switch to shut
down the local computer

- /a: Use this switch to quit a shutdown operation. You can do this only during
the time-out period. If you use this switch, all other parameters are
ignored.

- /r: Use this switch to restart the computer instead of fully shutting it
down.

- /t:<xx>: Use this switch to specify the time (in seconds) after which
the computer is shut down. The default is 20 seconds.

- "<msg>": Use this switch to specify a message during the shutdown
process. The maximum number of characters that the message can contain is
127.

- /y: Use this switch to force a "yes" answer to all queries from the computer.

- /c: Use this switch quit all running programs. If you use this switch,
Windows forces all programs that are running to quit. The option to save any
data that may have changed is ignored. This can result in data loss in any
programs for which data is not previously saved.

Examples
--------

- To shut down the local computer in two minutes and display a "The computer is
shutting down" message, use the following line in a batch file or type it at
a command prompt, and then press ENTER:

shutdown /l /t:120 "The computer is shutting down" /y /c

To cancel the shutdown process, type the following line at the command prompt,
and then press ENTER:

shutdown /l /a /y

- To shut down and restart a remote computer named "Support," use the following
line in a batch file or type it at a command prompt, and then press ENTER:

shutdown \\support /r

- To schedule the local computer to shutdown and restart at 10:00 P.M., type
the following line at a command prompt, and then press ENTER:

at 22:00 shutdown /l /r /y /c

- To schedule the local computer to shutdown and restart at 6:00 P.M. every
weekday, type the following line at a command prompt, and then press ENTER:

at 18:00 /every:M,T,W,Th,F shutdown /l /r /y /c

Troubleshooting
---------------

The specified computer may not shut down when you use the Shutdown.exe tool to
shut it down. This behavior can occur if the Unlock Computer dialog box appears
on the desktop, or if the computer is locked. For additional information about
how to resolve this issue, click the article numbers below to view the articles
in the Microsoft Knowledge Base:

Q307635 Remote Shutdown Results in Logoff When Unlock Computer Dialog Box Is
Displayed

Q288180 The ExitWindowsEx() Function May Not Log Off the User or Shut Down
the Computer If the Computer is Locked

REFERENCES
==========

For more information about Shutdown.exe, type "shutdown /?" (without the
quotation marks) at the command prompt, and then press ENTER.

For additional information about how to use the AT command to schedule tasks in
Windows 2000, click the article number below to view the article in the
Microsoft Knowledge Base:

Q313565 HOW TO: Use the AT Command to Schedule Tasks

For additional information about how to use Task Scheduler to schedule a task in
Windows 2000, click the article number below to view the article in the
Microsoft Knowledge Base:

Q300160 HOW TO: Schedule a Server Process in Windows 2000

For more information about the Windows 2000 Resource Kit, visit the following
Microsoft Web site:

http://www.microsoft.com/windows2000...t.asp#section1
(http://www.microsoft.com/windows2000...t.asp#section1)

Additional query words:

================================================== ====================
Keywords : kbAudITPro kbHOWTOmaster
Technology : kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Serv kbwin2000ServSearch kbwin2000Search kbwin2000ProSearch kbwin2000Pro kbWinAdvServSearch
Version : :2000
Issue type : kbhowto
================================================== ===========================
Copyright Microsoft Corporation 2002.
Atlan ist offline   Mit Zitat antworten
Alt 14.08.2002, 09:08   #5
keop
Veteran
 
Registriert seit: 09.01.2001
Beiträge: 263


keop eine Nachricht über ICQ schicken
Standard

Danke!

Ist der Resource Kit eigentlich dabei, bei Windows 2000 Advanced Server?

MfG
Keop
keop ist offline   Mit Zitat antworten
Alt 14.08.2002, 09:33   #6
Atlan
Master
 
Registriert seit: 20.12.1999
Beiträge: 636


Standard

nein
ist nur in der TechNet enthalten
Atlan ist offline   Mit Zitat antworten
Alt 14.08.2002, 12:02   #7
renew
Inventar
 
Registriert seit: 22.10.2000
Alter: 41
Beiträge: 5.552


Standard

ok, ich schau nimmer nach.

@Atlan: du traust dir was - eine Reskit tool zum download anzubieten.
renew ist offline   Mit Zitat antworten
Alt 14.08.2002, 12:05   #8
Atlan
Master
 
Registriert seit: 20.12.1999
Beiträge: 636


Standard

was hab ich gemacht? Das ist doch nur ein toter Link
Atlan ist offline   Mit Zitat antworten
Alt 14.08.2002, 12:15   #9
keop
Veteran
 
Registriert seit: 09.01.2001
Beiträge: 263


keop eine Nachricht über ICQ schicken
Standard

Hallo! Danke mal!

Des darf man nicht so streng sehen.

Grüsse
Keop
keop ist offline   Mit Zitat antworten
Alt 14.08.2002, 13:25   #10
pc.net
Aussteiger
 
Benutzerbild von pc.net
 
Registriert seit: 07.10.2001
Ort: Nettistan
Beiträge: 12.997

Mein Computer

Standard

ich hab xp und 2k im eigenen kleine netzwerk

xp hat ja die shutdown.exe schon dabei und ich habs auch schon in verwendung ... was mich allerdings verwundert, ist folgendes: wenn man einen anderen rechner remote herunterfährt, schaltet er sich nicht automatisch aus sondern bleibt bei der "sie können den computer jetzt ausschalten"-meldung stehen. es sind alles atx-rechner und wenn man vor ort auf ausschalten geht, dann schalten sie sich auch aus. woran liegt das???
____________________________________
Praktizierender Eristiker

No hace falta ser un genio para saber quién dijo eso.
Der wirklich faule Mensch ist oft extrem fleißig, denn er will möglichst schnell wieder faul sein.
pc.net ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 05:12 Uhr.


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