Service NetControl

[Service NetControl]
:AskStringId=0
:TabNames=TabWindowClass;MozillaUIWindowClass;MozillaWindowClass;Chrome_WidgetWin_1
CloseWindow=1
:LogonApplications=

AskStringId

The AskStringId parameter tells the string ID in the language table that contains the confirmation text:
"Confirm close of web-browser".

[Service NetControl]
AskStringId=1501
[Language en_US]
1501=[p]The application below have opened a secure session, it is recommended that this session is ended.[/p][p][b]{name}[/b][/p][p]Do you want to close the application now?[/p]

CloseWindow

The CloseWindow parameter is used to send VM_CLOSE or immediately terminate the process.

Values

0

Terminate process, skips VM_CLOSE.

1

Send VM_CLOSE to process main window, if fails then terminate the process.

Send VM_CLOSE can take time to find main window. Consider terminate the process immediately instead to speed up shutdown of the process.

LogonApplications

The LogonApplications parameter contains a list of applications that are considered to be logon applications.

[Service NetControl]
LogonApplications=firefox

TabNames

The TabNames parameter tells the tab names that are searched when trying to close the web browser.

[Service NetControl]
TabNames=TabWindowClass;MozillaUIWindowClass;MozillaWindowClass;Chrome_WidgetWin_1