Click here to Skip to main content
15,915,611 members
Home / Discussions / System Admin
   

System Admin

 
QuestionRecommended Filename/Path Length Pin
SSMERK00719-Mar-07 8:49
SSMERK00719-Mar-07 8:49 
AnswerRe: Recommended Filename/Path Length Pin
Mike Dimmick19-Mar-07 9:28
Mike Dimmick19-Mar-07 9:28 
AnswerRe: Recommended Filename/Path Length Pin
Sebastian Schneider22-Mar-07 2:42
Sebastian Schneider22-Mar-07 2:42 
GeneralRe: Recommended Filename/Path Length Pin
SSMERK00722-Mar-07 4:42
SSMERK00722-Mar-07 4:42 
AnswerRe: Recommended Filename/Path Length Pin
Vasudevan Deepak Kumar29-Mar-07 7:09
Vasudevan Deepak Kumar29-Mar-07 7:09 
QuestionWindows 2003 shuts down too quickly Pin
Soren Samgen19-Mar-07 3:19
Soren Samgen19-Mar-07 3:19 
AnswerRe: Windows 2003 shuts down too quickly Pin
Steve S19-Mar-07 8:21
Steve S19-Mar-07 8:21 
GeneralRe: Windows 2003 shuts down too quickly Pin
Soren Samgen20-Mar-07 4:24
Soren Samgen20-Mar-07 4:24 
I do handle SERVICE_CONTROL_INTERROGATE, but the handler function is never called with the SERVICE_CONTROL_INTERROGATE control code when the service is stopping. The handler function returns almost immediately, so the service control dispatcher is in control of this thread and my service would be able to respond to a SERVICE_CONTROL_INTERROGATE if it was issued. The only thing that the control handler function does before returning is setting the status of the service to SERVICE_STOP_PENDING and starting a thread that handles everything else needed to safely stop the service (including periodically updating the state of the service with updated wait hint and checkpoint).
I don't know if it is supposed to be possible to interrogate a service while it is shutting down. When I use SC.EXE to interrogate my service while it is shutting down, SC returns with the following error message:

[SC] ControlService FAILED 1061:
The service cannot accept control messages at this time.

As I already mentioned though, my service control handler function returns control to the service control dispatcher almost immediately after receiving SERVICE_CONTROL_STOP or SERVICE_CONTROL_SHUTDOWN, so my service would be able to handle interrogation requests if they were delivered. It is still possible to use the SC.EXE query command for the service, but that command doesn't interrogate the service, it just reports the latest updated status information from the service control manager.


GeneralRe: Windows 2003 shuts down too quickly Pin
Sebastian Schneider20-Mar-07 6:47
Sebastian Schneider20-Mar-07 6:47 
GeneralRe: Windows 2003 shuts down too quickly Pin
Soren Samgen28-Mar-07 2:11
Soren Samgen28-Mar-07 2:11 
GeneralRe: Windows 2003 shuts down too quickly Pin
Steve S21-Mar-07 2:47
Steve S21-Mar-07 2:47 
QuestionWindows Server 2003 Pin
al96818-Mar-07 7:57
al96818-Mar-07 7:57 
AnswerRe: Windows Server 2003 Pin
MatrixCoder18-Mar-07 9:12
MatrixCoder18-Mar-07 9:12 
AnswerRe: Windows Server 2003 Pin
pbraun19-Mar-07 9:01
pbraun19-Mar-07 9:01 
AnswerRe: Windows Server 2003 Pin
Vasudevan Deepak Kumar29-Mar-07 9:16
Vasudevan Deepak Kumar29-Mar-07 9:16 
QuestionAccess Remote Registery in a domain Pin
reza matinnejad17-Mar-07 0:25
reza matinnejad17-Mar-07 0:25 
AnswerRe: Access Remote Registery in a domain Pin
Vasudevan Deepak Kumar29-Mar-07 9:17
Vasudevan Deepak Kumar29-Mar-07 9:17 
QuestionNetwork Device Driver or something else... Pin
Member 391940116-Mar-07 10:07
Member 391940116-Mar-07 10:07 
QuestionDual Boot Pin
TheFoZ16-Mar-07 9:30
TheFoZ16-Mar-07 9:30 
AnswerRe: Dual Boot Pin
Mike Dimmick16-Mar-07 12:20
Mike Dimmick16-Mar-07 12:20 
GeneralRe: Dual Boot Pin
TheFoZ17-Mar-07 0:53
TheFoZ17-Mar-07 0:53 
QuestionWinXP/Win2K: Changing CapsLock behaviour to "non-sticky" [modified] Pin
Sebastian Schneider16-Mar-07 4:37
Sebastian Schneider16-Mar-07 4:37 
QuestionHow to Create Own KDE Theme using Linux ? Pin
A.Venkata ramana14-Mar-07 20:01
A.Venkata ramana14-Mar-07 20:01 
AnswerRe: How to Create Own KDE Theme using Linux ? Pin
Hari Om Prakash Sharma14-Mar-07 20:31
Hari Om Prakash Sharma14-Mar-07 20:31 
GeneralRe: How to Create Own KDE Theme using Linux ? Pin
A.Venkata ramana14-Mar-07 23:43
A.Venkata ramana14-Mar-07 23:43 

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.