SPECIAL OFFER        Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!

⤷ Restart windows

Use ExitWindowEx function. This function allows you to restart Windows as you wish.

procedure TForm1.Button1Click(Sender: TObject);
begin
  ExitWindowsEx(EWX_REBOOT,0);
end;
More for developers
Databases for Amazon Associates
Amazon Categories
Amazon Nodes