1. Home
  2. Computing & Technology
  3. Delphi Programming
Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming

How to Shut Down / Reboot Windows 2000 / XP / NT from Delphi code

Monday November 17, 2008
TIPS :: Under NT-based platforms, there are TOKEN PRIVILEGES. In these privileges, you have one for Shutdown allowance ("SeShutDownPrivilege"). So, the reason why you can't shutdown or reboot Win 2K by code (EWX_SHUTDOWN) is that this privilege isn't enabled. Here is a short snippet that shutdowns Win2K...

Read the full article to learn how to Programmatically Shut Down / Reboot Windows 2000 / XP / NT from Delphi code

Related:

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Delphi Programming
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2010 About.com, a part of The New York Times Company.

All rights reserved.