Re: shutdown under windows 2000

2003-08-01 Thread barbero_l
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 ___

Re: shutdown under windows 2000

2003-08-01 Thread Alexander Bel...
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!

shutdown under windows 2000

2003-07-30 Thread iRob
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))