Vincent wrote:
How can I enable/disable the Force A Shutdown From A Remote System
option
in win2000
Vincent
Hi, you can change this setting using the User Manager-Policies-User
Rights-Force a Shutdown from A remote system Option
Cheers
Lucas
___
Hi!
Everyone, can you try the programm from Microsoft?
%SystemRoot%/sistem32/restart.exe
---
Best regards
AlexBel
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
Hi allThe following code in C++ is for shutting down
the computer under Windows 2000.[code]BOOL
MySystemShutdown(){ HANDLE
hToken; TOKEN_PRIVILEGES tkp; //
Get a token for this process. if
(!OpenProcessToken(GetCurrentProcess(),
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY,
hToken))