Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
photo of Zarko Gajic

Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming since 1998

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>

Discuss

Community Forum

Explore Delphi Programming

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Delphi Programming

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

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

All rights reserved.