Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Do 20.11.03 21:06 
wie starte oder herunterfahre ich einen netzwerk pc ???
ich kann die pc schon auflisten jetzt fehlt nur noch diese funktion
geht das mit shutdown ???
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Do 20.11.03 21:07 
ich habe es schon geschafft das er es auf meinem rechner macht aber wie geht das mit netzwerkrechnern ???
FloSch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 129



BeitragVerfasst: Do 20.11.03 21:29 
Hmm, einen PC über Netzwerk starten? WakeOnLan ... aber ich habe keine Ahnung, wie das anzusprechen ist...

Herunterfahren? Ich glaube mich zu erinnern, dass > 2000 eine Funktion zum Herunterfahren des PCs zur Verfügung steht.

Andernfalls eine einfache Client/Server Anwendung.

Gruß
Florian

_________________
Windows 200 Prof. - Debian Sarge
D5 Prof & D6 PE - Kylix 3 Professional - Free Pascal
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Do 20.11.03 21:35 
ich meine einen pc neu starten pber netzwerk
FloSch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 129



BeitragVerfasst: Do 20.11.03 21:36 
Auch für das Neustarten treffen obige Tipps ein.

_________________
Windows 200 Prof. - Debian Sarge
D5 Prof & D6 PE - Kylix 3 Professional - Free Pascal
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Fr 21.11.03 12:49 
Kannst du mir so einen code geben für wakeonloan ???
FloSch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 129



BeitragVerfasst: Fr 21.11.03 15:42 
Les dir nochmal meinen Topic durch. " ... aber ich habe keine Ahnung, wie das anzusprechen ist... "

_________________
Windows 200 Prof. - Debian Sarge
D5 Prof & D6 PE - Kylix 3 Professional - Free Pascal
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Sa 22.11.03 13:31 
welchen topic denn ?
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 05.02.04 22:46 
einen PC über das netzwerk neu zu starten ist nicht schwer.

Du hast das ja schon für deinen PC geschafft. Duch proggst einfach einer Server und einen Clienten.

Wenn du nun den Client-PC neu starten möchtest, dann schickst du eine Text-Kombination and den Clienten.

Wenn der Client diesen Text empfängt (die Textkombi.) dann wird die neustart Procedure ausgeführt.

Mit TextKombination meine ich zb. Rns --> Rechner neu starten und das mit einer If Anweisung überprüfen, fertig.

Ich hoffe das ich das einigermaßen verstaändlich ausgedrückt habe :wink:

MfG Hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 05.02.04 22:49 
hier übrigens wake on lan

ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
{
What's a Magic Packet?
Was ist ein Magic Packet?

DESTINATION SOURCE MISC. FF FF FF FF FF FF 11 22 33 44 55 66 11 22 33 44
55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44
55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44
55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44 55 66 11 22 33 44
55 66 11 22 33 44 55 66 11 22 33 44 55 66 MISC. CRC.

Note: Destination, Source, Misc and CRC are normally added by our Socket-Component
Beachte: Destination, Source, Mis und CRC werden normalerweise von deiner
Socket-Komponente hinzugefügt
}


procedure TForm1.Button1Click(Sender: TObject);
var
  Data, temp: string;
  k, n: integer;
begin
  Data := '';
  for k := 0 to 5 do
  begin
    Data := Data + Chr(StrToInt('$FF'));  // 6x add a FF / 6x ein FF hinzufügen
  end;
  temp := StringReplace(Edit1.Text, '-', '', [rfReplaceAll]);
  for k := 0 to 15 do
  begin
    temp := StringReplace(Edit1.Text, '-', '', [rfReplaceAll]);
    for n := 0 to 5 do
    begin
      // 16x add Target-Mac-Adress / 16x die Ziel-Macadresse hinzufügen
      Data := Data + Chr(StrToInt('$' + temp[1] + temp[2]));
      Delete(temp, 1, 2);
    end;
  end;
  
  //Example with TIdUDPClient of Indy
  //IdUDPClient1.Send('255.255.255.255', '80', Data);  // Send it / Verschick es
end;


gruß

ixtreme.de
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Fr 06.02.04 07:52 
Hier ist eine Prima Lösung.
Mit Meldung, CountDown etc.

swissdelphicenter.ch...showcode.php?id=1232

Du musst allerdings Adminrechte auf dem PC haben den du runterfahren willst..

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce