FireDaemon Zero provides a command-line interface via the FDUI0Control command line program. This provides a variety of options to manage and configure FireDaemon Zero. Two variants of the command line program are installed in the FireDaemon Zero installation directory: FDUI0Control.com and FDUI0Control.exe. The FDUI0Control.com (command line) should always be used in preference to the .exe. Command-line options from the FDUI0Control.com version are "proxied" to FDUI0Control.exe.


FDUI0Control returns one of two ErrorLevels: 0 = success or 1 = failure. Under PowerShell these two return codes are True and False respectively and can be evaluated with $? and $LASTEXITCODE.


FireDaemon Zero Command Line


ParameterDescription
-v
--version
Displays the version of FireDaemon Zero installed on a system.
help
-?, -h, --help
Displays the FireDaemon Zero help message.

The help command also accepts a subcommand parameter, which then displays more detailed help about that specific subcommand.
control <action>Controls FireDaemon Zero and the UI0Detect service.

One of the following action arguments is required for this command:

start

stop

restart

kickout [option]Kicks out (disconnects) the user who currently controls Session 0.

To display the details of the currently connected Session 0 user, without forcing a disconnect, append an option argument as follows
kickout -q
kickout --query
session0 <action>Switch to Session 0, or perform other actions related to Session 0.

One of the following action arguments may optionally be specified:
switch - switch to Session 0 (default action)
kickout - kick out the current user (see above)
query [option]Displays status information about Session 0 and the current controller.

One of the following option arguments may be specified:
  • -0 or --connection-state: display details of the connection that currently controls Session 0.
  • --fdui0input-state: display the state and status of the FireDaemon ZeroInput driver. The State and Status of the driver are summarised below.


State will be one of the following:

  • Running: meaning the driver service is installed and the driver is running
  • Stopped: meaning the driver service is either not installed, the driver is not started or not running. 


Status is updated during machine boot and will be one of the following:

  • Booting: win32kfull.sys is loading
  • Patch applied: win32kfull.sys was patched
  • Patch not applied: win32kfull.sys was not patched
  • Awaiting desktop: waiting for the Session 0 desktop to become available
  • Desktop switched: Session 0 desktop is now active (i.e. the driver can activate Session 0's WinSta0\Default desktop
  • Desktop not switched: Session 0 is either not active and / or it’s not possible to activate the Session 0 desktop
  • HVCI enabled: not possible to patch or switch desktop
preferences <action>Displays or manages the FireDaemon Zero Global Preferences.

One of the following action arguments may optionally be specified:

  • dialog - display the Global Preferences dialog box (default)
  • set-defaults - resets the global preferences to their default values.
set-preferences [options]Sets FireDaemon Zero preferences.

options may be as follows:
--AuditOtherAccountLogon <0|1|false|true>
--AutoRevertOnInactivity <integer value >= 0 where 0 = disabled>
--LogSession0Switching <0|1|false|true>
--ShellBackgroundColor <hexadecimal RGB value e.g. FF00AA>
--VersionCheckInterval <0|1|2|3 [off,daily,weekly,monthly]>
--DisplayNotifications <0|1|false|true>
register "<serial number name>" "<serial number>" [options]Register FireDaemon Zero. 
  • <serial number name>: the serial number name as found on your Order Confirmation enclosed in double-quotes.
  • <serial Number>: the serial number as found on your Order Confirmation enclosed in double-quotes.
  • options: the option --enable may be specified to enable FireDaemon Zero after registration.
license <action>

Displays the FireDaemon Zero registration information. This command does nothing on FireDaemon Zero OEM.


If the product is not registered, the subcommand displays the Registration Information dialog box to enter the serial number name and serial number. 


One of the following action arguments may optionally be specified:

  • dialog - display the Registration Information dialog box (default)
  • print - print the license details. This will be one of the following:

    License: Trial (<n> Days left) - product is in trial mode with <n> days remaining
    License: Trial (0 Days left) - product is in trial mode and has expired
    License: <serial number name> - product is licensed with a non-expiring license
    License: <serial number name> (expired) - product was licensed but has expired
disable
or
stop_delete
Disables FireDaemon Zero.

This performs the following actions:
  • Restores the UI0Detect service ImagePath to the value %SystemRoot%\System32\UI0Detect.exe
  • Sets the UI0Detect service to Manual start
  • Stops the UI0Detect service

Note: use disable on all Windows versions prior to and including Windows 10 1709 or Windows Server 2016. Otherwise use stop_delete on Windows 10 1803 or later or Server 2019.

enable
or
create_start

Enables FireDaemon Zero and the UI0Detect service.


This performs the following actions:

  • Sets the registry value of NoInteractiveServices key to 0
  • Modifies the UI0Detect service ImagePath
  • Sets the UI0Detect service to Automatic start
  • Starts or restarts the UI0Detect service

Note: use enable on all Windows versions prior to and including Windows 10 1709 or Windows Server 2016. Otherwise use create_start on Windows 10 1803 or later or Server 2019.