Debugging Windows Service

From Observer GigaFlow Support | VIAVI Solutions Inc.
Jump to: navigation, search


How to increase the timeout value for the service startup Edit The Windows Registry Key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Edit or add the ServicesPipeTimeout DWORD(32-bit)Value to the required timeout in milliseconds. Recommend 360000 (6 minutes)

How to increase the timeout value for the service stop time Edit The Windows Registry Key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\

Edit or add the WaitToKillServiceTimeoutDWORD(REG_SZ)Value to the required timeout in milliseconds. Recommend 360000 (6 minutes)