Jump to content

Shutdown per Batch Datei


Der letzte Beitrag zu diesem Thema ist mehr als 180 Tage alt. Bitte erstelle einen neuen Beitrag zu Deiner Anfrage!

Empfohlene Beiträge

hi,

 

hantiere gerade mit dem psshutdown tool von sysinternals

 

will damit , wenn ich mit der fernwartung auf best rechnern fertig bin, diese per icon klick vom server aus runterfahren , neustarten

 

frage mich , ob es da nicht was komfortableres als psshutdown gibt

 

ala prog mit gui wo ich den pc anhake den ich neustarten oder runterfahren will

Link zu diesem Kommentar

http://users.pandora.be/jbosman/applications.html

 

das tool hab ich probiert mag aber aus irgendeinem grund nicht funzen

 

D:\Drivers\Psshutdown\psshutdown.exe \\maier -u master -p lanze10 -c -k

 

was ist daran falsch der remote pc "maier" fährt nicht runter

 

master/lanze10 user pass meines admin acc

 

-----------------------------------------------------------------------------

usage: psshutdown [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t nn|h:m] [-n s] [-m "message"]

-? Displays the supported options.

computer Perform the command on the remote computer or computers specified. If you omit the computer name the command runs on the local system, and if you specify a wildcard (\\*), the command runs on all computers in the current domain.

@file Run the command on each computer listed in the text file specified.

-u Specifies optional user name for login to remote computer.

-p Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.

-a Aborts a shutdown (only possible while a countdown is in progress)

-c Allow the shutdown to be aborted by the interactive user

-d Suspend the computer

-f Forces all running applications to exit during the shutdown instead of giving them a chance to gracefully save their data

-h Hibernate the computer

-k Poweroff the computer (reboot if poweroff is not supported)

-l Lock the computer

-m This option lets you specify a message to display to logged-on users when a shutdown countdown commences

-n Specifies timeout in seconds connecting to remote computers

-o Logoff the console user

-r Reboot after shutdown

-s Shutdown without poweroff

-t Specifies the countdown in seconds until the shutdown (default: 20 seconds) or the time of shutdown (in 24 hour notation)

Link zu diesem Kommentar

Hallo,

 

ich mache das so:

 

cd\
net view > c:\shutdown.txt
type c:\shutdown.txt
pause
for /F %%e in ('findstr "\\R" c:\shutdown.txt') do c:\winnt\psshutdown.exe %%e -u administrator -p passwort

for /F %%e in ('findstr "\\S" c:\shutdown.txt') do c:\winnt\psshutdown.exe %%e -u administrator -p passwort
pause

 

 

Die Charaktere P und S sind je der Anfang der Rechnernamen. Die Rechnernamen sind bei nach Raumnummern, Benutzern und Funktionen geordnet.

R101-Sekretariat ist im Gebäude1, Raum 1. S300-PC01 ist ein Rechner im Schulraum 3.

 

Gruß

Edgar

Link zu diesem Kommentar

D:\Drivers\Psshutdown\psshutdown.exe \\Mueller -u Master -p baum -k

 

der befehl funzt bei den meisten rechnern bei uns, aber auf ein paar tut sich nichts , wenn ich diese ausführe

 

auf dem client steht folgendes im Ereignisprotokoll

 

 

 

Der Dienst "PsShutdown" wurde aufgrund folgenden Fehlers nicht gestartet:

Das System kann die angegebene Datei nicht finden.

Link zu diesem Kommentar
Der letzte Beitrag zu diesem Thema ist mehr als 180 Tage alt. Bitte erstelle einen neuen Beitrag zu Deiner Anfrage!

Schreibe einen Kommentar

Du kannst jetzt antworten und Dich später registrieren. Falls Du bereits ein Mitglied bist, logge Dich jetzt ein.

Gast
Auf dieses Thema antworten...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Editor-Fenster leeren

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...