Click here to Skip to main content
15,910,211 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Script file to shut down server at a certain time Pin
Garth J Lancaster7-Jun-01 13:21
professionalGarth J Lancaster7-Jun-01 13:21 
GeneralRe: Script file to shut down server at a certain time Pin
7-Jun-01 21:35
suss7-Jun-01 21:35 
GeneralRe: Script file to shut down server at a certain time Pin
Garth J Lancaster7-Jun-01 21:51
professionalGarth J Lancaster7-Jun-01 21:51 
GeneralRe: Script file to shut down server at a certain time Pin
8-Jun-01 20:29
suss8-Jun-01 20:29 
GeneralRe: Script file to shut down server at a certain time Pin
Garth J Lancaster9-Jun-01 1:44
professionalGarth J Lancaster9-Jun-01 1:44 
GeneralRe: Script file to shut down server at a certain time Pin
20-Jun-01 2:56
suss20-Jun-01 2:56 
GeneralRe: Script file to shut down server at a certain time Pin
20-Jun-01 3:57
suss20-Jun-01 3:57 
GeneralWinNT service and system shutdown Pin
"Le Phuc Nguyen Tuan"25-May-01 19:17
"Le Phuc Nguyen Tuan"25-May-01 19:17 
Hi all,
I have a servive that laucnh a third party program. When the system shuts
down, I try to use my service control handler to process the
SERVICE_CONTROL_SHUTDOWN request from the system for terminating the
launched program (by using TerminateProcess func), but it doesn't work and
the system pop up some message that says "OleMainTreadWndName cannot respond
to End Task Request". It seems the third party program gets hang! I then try
to use SetConsoleCtrlHandler() to setup a handler routine to catch the
CTRL_SHUTDOWN_EVENT and terminate the process a bit ealier than the
SERVICE_CONTROL_SHUTDOWN request, but it doesn't work either. Now I try to
add up the CTRL_LOGOFF_EVENT and terminate the process at this event, then
there is no error message shows up. It seems to me that I need to terminate
the process ealier, at the time my service receive the CTRL_LOGOFF_EVENT.
But the problem is, if user just log off, but not shut down the system, the
process gets terminated! Anyone know some way so that at the time I receive
the CTRL_LOGOFF_EVENT, I also know whether the system is going to shut down
or not?
Thank you for your help,
Rocky Lee
Confused | :confused:
GeneralRe: WinNT service and system shutdown Pin
Kyui Oh20-Jun-01 17:11
Kyui Oh20-Jun-01 17:11 
GeneralReplacing Windows 95/98 logon Pin
Grzegorz Stelmaszek22-May-01 2:13
Grzegorz Stelmaszek22-May-01 2:13 
GeneralRe: Replacing Windows 95/98 logon Pin
Dhanush31-May-01 1:29
professionalDhanush31-May-01 1:29 
GeneralRe: Replacing Windows 95/98 logon Pin
Dhanush31-May-01 1:29
professionalDhanush31-May-01 1:29 
GeneralRe: Replacing Windows 95/98 logon Pin
Dhanush31-May-01 1:29
professionalDhanush31-May-01 1:29 
QuestionGetting the current CPU load ??? Pin
Brian van der Beek21-May-01 9:45
Brian van der Beek21-May-01 9:45 
AnswerHKEY_PERFOMANCE_DATA Pin
24-May-01 3:32
suss24-May-01 3:32 
GeneralRe: HKEY_PERFOMANCE_DATA Pin
Brian van der Beek25-May-01 20:26
Brian van der Beek25-May-01 20:26 
GeneralRe: HKEY_PERFOMANCE_DATA Pin
27-May-01 19:21
suss27-May-01 19:21 
GeneralWindows XP beta 2 Pin
BLaZe20-May-01 9:22
BLaZe20-May-01 9:22 
GeneralMonitoring Resources on Windows ME Pin
Bruce Diesel17-May-01 1:55
Bruce Diesel17-May-01 1:55 
GeneralRe: Monitoring Resources on Windows ME Pin
Tomasz Sowinski17-May-01 1:57
Tomasz Sowinski17-May-01 1:57 
GeneralRe: Monitoring Resources on Windows ME Pin
Dark Angel17-May-01 16:56
Dark Angel17-May-01 16:56 
GeneralRe: Monitoring Resources on Windows ME Pin
Ravi Bhavnani17-May-01 17:08
professionalRavi Bhavnani17-May-01 17:08 
GeneralRe: Monitoring Resources on Windows ME Pin
Stephen Kellett25-May-01 3:46
Stephen Kellett25-May-01 3:46 
GeneralRe: Monitoring Resources on Windows ME Pin
Stephen Kellett25-May-01 3:47
Stephen Kellett25-May-01 3:47 
GeneralI need a casl compiler Pin
risking13-May-01 3:29
risking13-May-01 3:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.