Message

Explanation and/or corrective action

Level

 

 

 

 

Keyboard hook loaded OK

The keyboard hook dll exists and loaded successfully.

LOG_EX

 

 

 

 

L after Ctrl

Processing the backdoor entry.

LOG_EX

 

 

 

 

Loading keyboard hook

When AppLock first loads, it loads a dll that contains the keyboard hook processing. This message is logged

LOG_PROC-

prior to the load attempt.

ESSING

 

 

 

 

 

Open failure

The status information is being saved to a file and the file open has failed. This could occur if the file is write pro-

LOG_ERROR

tected. If the file does not exist, it is created.

 

 

 

 

 

 

 

Open registry failure

If the Administration registry key does not exist, the switch to user mode fails because the AppName value in

LOG_ERROR

the Administration key is not available.

 

 

 

 

 

 

 

Opened status file

The status information is being saved to a file and the file has been opened successfully.

LOG_EX

 

 

 

 

Out of memory for

Not enough memory to encrypt the password.

LOG_ERROR

encrypted pwd

 

 

 

 

 

 

 

pRealTaskbarWndProc

The taskbar control has already been installed.

LOG_EX

already set

 

 

 

 

 

 

 

Pwd cancelled or invalid-

The password prompt was cancelled by the user or the maximum number of failed attempts to enter a pass-

LOG_EX

remain in user mode

word was exceeded.

 

 

 

 

 

 

Read registry error-hot

The hotkey registry entry is missing or empty. This is not considered an error. The keyboard hook uses an

LOG_ERROR

key

embedded default if the value is not set in the registry.

 

 

 

 

 

 

Read registry failure-app

AppName registry value does not exist or is empty. This constitutes a failure for switching into user mode.

LOG_ERROR

name

 

 

 

 

 

 

 

Read registry failure-Cmd

AppCommandLine registry entry is missing or empty. This is not considered an error since command line infor-

LOG_ERROR

Line

mation is not necessary to launch and lock the application.

 

 

Read registry failure-Inter-

The Internet registry entry is missing or empty. This is not considered an error since the Internet value is not

LOG_ERROR

net

necessary to launch and lock the application.

 

 

 

 

 

 

Registering Backdoor

The AppLock system communicates with the keyboard hook via a user defined message. Both AppLock.exe

LOG_PROC-

MSG

and Kbdhook.dll register the message at initialization.

ESSING

 

 

 

 

Registering Hotkey MSG

The AppLock system communicates with the keyboard hook via a user defined message. Both Applock.exe

LOG_PROC-

and Kbdhook.dll register the message at initialization.

ESSING

 

 

 

 

 

Registry read failure at

The registry has to be read when entering user mode is the AppName is missing. This user mode entry is

 

 

attempted at boot and after a hotkey switch when the administrator has closed the application being locked or

LOG_ERROR

reenter user mode

has changed the application name or command line.

 

 

 

 

 

 

 

 

 

Registry read failure at

The registry has to be read when switching into user mode. This is because the administrator can change the

 

 

settings during administration mode. The read of the registry failed which means the Administration key was

LOG_ERROR

reenter user mode

not found or the AppName value was missing or empty.

 

 

 

 

 

 

 

 

 

 

The registry read failed. The registry information read when this message is logged is the application infor-

 

 

Registry read failure

mation. It the Administration key cannot be opened or if the AppName value is missing or empty, this error is

LOG_ERROR

logged. The other application information is not required. If the AppName value is not available, AppLock can-

 

 

 

 

not switch into user mode.

 

 

 

 

 

 

Reset system work area

The system work area is adjusted when in user mode to cover the taskbar area. The system work area has to

LOG_ERROR

failure

be adjusted to exclude the taskbar area in administration mode. AppLock was unable to adjust this area.

 

 

 

 

 

 

Shift pressed

The Shift key has been pressed and trapped by the HotKey processing.

LOG_EX

 

 

 

 

Shift

Processing the hotkey and backdoor entry

LOG_EX

 

 

 

 

Show taskbar

The taskbar is now being made visible and enabled.

LOG_PROC-

ESSING

 

 

 

 

 

 

Switching to admin-back-

The system is currently in user mode and is now switching to admin mode. The switch occurred because of the

LOG_PROC-

door

backdoor key presses were entered by the administrator.

ESSING

 

 

 

 

Switching to admin-hotkey

The system is currently in user mode and is now switching to admin mode. The switch occurred because of a

LOG_PROC-

press

hotkey press by the administrator.

ESSING

 

 

 

 

 

 

 

 

4-49