AirServer Universal can be configured via a command-line tool called AirServerConsole after installation. This allows you to configure the software in more detail after mass-deploying it. 



How can I use it?

  • Open an elevated command prompt.
  • Go to: cd "%programfiles%/App Dynamic/AirServer/"
  • Enter your command.



Below you can find instructions on how you can use AirServerConsole commands.

AirServer is an AirPlay, Miracast and Google Cast receiver for PC.
It allows you to receive AirPlay feeds, such as mirroring, audio, video,
and photos, and Miracast and Google Cast mirroring.


Usage:
  AirServerConsole.exe [command [; command [; ...]]]


  Where a [command] is defined as follows:
  [command prefix][command argument] [optional argument [...]]


Running AirServerConsole.exe with no arguments will cause AirServer to
start with a console window. AirServer will print diagnostic messages into
the console window.


Command Prefix:
  You can prefix the command name with / or - or -- if you want. You do
  not have to specify a prefix.


Command Arguments:
  AirServerConsole.exe processes argument names character by character.
  This means that /version can be truncated to /ve. Specifying /v will
  cause confusion between /validate and /version. Such confusion will
  result in the appearance of this help text that you are reading.


  activate [activation code]


     Activates AirServer with the given activation code. If no activation
     code is specified then the activation code is removed. Removing the
     activation code does not deactivate the instance of AirServer on the.
     activation servers, it simply removes the activation information from
     the registry. Activation is also possible from the installer by using
     msiexec.exe and specifying the activation code as the named parameter
     PIDKEY. If you activate with the process running elevated then the
     activation information is wrote under the local machine registry hive
     otherwise it is written to the current user's registry hive.


     Example:
       airserverconsole activate 1U3LBCMMS78ZGIAG3


  activate everyone


     Activates everyone on the computer with the activation code of the
     current user. This command must be run elevated as it moves the
     activation code from the current user's registry hive to the local
     machine registry hive.


     Example:
       airserverconsole activate everyone


  authenticate [who] [using] PasswordType


     "who" defines who the authentication setting is applied to. Valid
     values are "me" and "everyone". The default is "everyone"
     "me" causes the setting to write the current users registry store.
     "everyone" causes the setting to write to the local machine registry
     store.
     "using" is an optional word for readability.
     "PasswordType" can have one the following values:


        ------------------------------------------------------------------
        | Password Type          | Notes                                 |
        |------------------------|---------------------------------------|
        | none                   | Turns authentication off.             |
        | password [string]      | The password specified as "string"    |
        |                        | is used to authenticate.              |
        | passcode               | A random password is displayed on the |
        |                        | computers monitor, when               |
        |                        | authentication occurs.                |
        | askme                  | A "yes"/"no" question is shown on     |
        |                        | the computers monitor, when           |
        |                        | authentication occurs.                |
        ------------------------------------------------------------------


     If the old or new settings apply to everyone then run this command
     from an elevated command prompt.
     See also "remove authentication"


     Examples:
       airserverconsole authenticate using password 1234
       airserverconsole authenticate using passcode
       airserverconsole authenticate using none


  deactivate


     Deactivates AirServer and removes the activation information from the
     registry. Deactivation will also attempt to remove the activation
     from the activation servers.


     Example:
       airserverconsole deactivate


  detached


     This options prevents AirServer from attaching to the parents console
     window, if one is present. This option only makes sense with other
     commands.


     Example:
       airserverconsole run;detached


  disable feature


     The disable option disables a feature of AirServer. Replace the text
     "feature" with the name of the feature to disable. Multiple features
     can be specified by placing a space between them. The following
     features can be disabled currently:


        ------------------------------------------------------------------
        | Feature Name           | Notes                                 |
        |------------------------|---------------------------------------|
        | CheckForUpdates        | The command must be run elevated.     |
        | RunAtStartup           | The command must be run elevated.     |
        | AllowNaming            | The command must be run elevated.     |
        | AirPlay                | The command must be run elevated.     |
        | Miracast               | The command must be run elevated.     |
        | GoogleCast             | The command must be run elevated.     |
        | ChangingFullScreen     | The command must be run elevated.     |
        | ContextMenus           | The command must be run elevated.     |
        ------------------------------------------------------------------


     Examples:
       airserverconsole disable CheckForUpdates
       airserverconsole disable RunAtStartup
       airserverconsole disable AllowNaming
       airserverconsole disable AirPlay
       airserverconsole disable Miracast
       airserverconsole disable GoogleCast
       airserverconsole disable ChangingFullScreen
       airserverconsole disable ContextMenus


  enable feature


     The enable option enables a feature of AirServer. Replace the text
     "feature" with the name of the feature to enable. Multiple features
     can be specified by placing a space between them. The following
     features can be enabled currently:


        ------------------------------------------------------------------
        | Feature Name           | Notes                                 |
        |------------------------|---------------------------------------|
        | CheckForUpdates        | The command must be run elevated.     |
        | RunAtStartup           | The command must be run elevated.     |
        | AllowNaming            | The command must be run elevated.     |
        | AirPlay                | The command must be run elevated.     |
        | Miracast               | The command must be run elevated.     |
        | GoogleCast             | The command must be run elevated.     |
        | ChangingFullScreen     | The command must be run elevated.     |
        | ContextMenus           | The command must be run elevated.     |
        ------------------------------------------------------------------


     Examples:
       airserverconsole enable CheckForUpdates
       airserverconsole enable RunAtStartup
       airserverconsole enable AllowNaming
       airserverconsole enable AirPlay
       airserverconsole enable Miracast
       airserverconsole enable GoogleCast
       airserverconsole enable ChangingFullScreen
       airserverconsole enable ContextMenus


  help|?


     Displays information about commands that this program supports.


     Examples:
       airserverconsole /?
       airserverconsole help
       airserverconsole -?


  remove activation


     The "remove activation" option removes the activation information
     from the registry. This does not deactivate AirServer on the
     activation servers.


     Example:
       airserverconsole remove activation


  remove authentication


     This option attempts to remove all authentication information from
     the registry. Run this command elevated if the authentication settings
     apply to everyone.


     Example:
       airserverconsole remove authentication


  restart


     This option finds any running AirServer instances and shuts them down.
     It then restarts AirServer. Useful for reloading options that require a
     restart.


     Example:
       airserverconsole restart


  run [log compact|detailed|full]


     The run option starts AirServer with a console window that displays
     diagnostic information. Use the "log" option to log to a file.
     The log file's default location is:
     "MP\AirServer\Logs"


     Example:
       airserverconsole run
       airserverconsole run log compact
       airserverconsole run log detailed
       airserverconsole run log full


  set [property] [value]


     Sets a property to the specified value.
 -------------------------------------------------------------------------
 | Property                      | Notes                                 |
 |-------------------------------|---------------------------------------|
 | name                          | Sets the name used by AirServer.      |
 |                               | Use a blank value to clear this.      |
 |                               | Implies that AllowNaming is disabled  |
 |                               | when set.                             |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | AirPlayVideoTCPPort           | Sets the TCP port used for AirPlay.   |
 |                               | Default value is 7000.                |
 |                               | If the port is not available then the |
 |                               | next available port will be used.     |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | AirPlayAudioUDPPort           | Sets the first of three UDP ports for |
 |                               | audio. This port must be even.        |
 |                               | If the port is not available then the |
 |                               | next available port will be used.     |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | AirPlayDynamicMirroringTCPPort| Sets the new TCP port for AirPlay     |
 |                               | mirroring. Default value is 49152.    |
 |                               | If the port is not available then the |
 |                               | next available port will be used.     |
 |                               | Port 7100 will also be availalbe for  |
 |                               | AirPlay mirroring with older devices. |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | AirPlayAudioEventTCPPort      | Sets the TCP port for AirPlay audio   |
 |                               | events. Default value is 5001.        |
 |                               | If the port is not available then the |
 |                               | next available port will be used.     |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | DefaultFullScreen             | 'value' can be 'TRUE','FALSE','ON',   |
 |                               | 'OFF','ENABLED', 'DISABLED', 'ENABLE',|
 |                               | 'DISABLE', 'YES', 'NO', '1' or '0' or |
 |                               | any integer value (0 is interpreted   |
 |                               | as false, any other value as true.    |
 |                               | Setting DefaultFullScreen to true     |
 |                               | sets the default windowed mode to     |
 |                               | full screen, and removes local user   |
 |                               | full screen override settings.        |
 |                               | If ChangingFullScreen is enabled then |
 |                               | a user can change their windowed mode.|
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | SingleUserMode                | 'value' can be 'TRUE','FALSE','ON',   |
 |                               | 'OFF','ENABLED', 'DISABLED', 'ENABLE',|
 |                               | 'DISABLE', 'YES', 'NO', '1' or '0' or |
 |                               | any integer value (0 is interpreted   |
 |                               | as false, any other value as true.    |
 |                               | Setting SingleUserMode to true        |
 |                               | restricts mirroring to one device at  |
 |                               | once (turns side-by-side mirroring    |
 |                               | off).                                 |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | AutoRestart                   | 'value' can be 'TRUE','FALSE','ON',   |
 |                               | 'OFF','ENABLED', 'DISABLED', 'ENABLE',|
 |                               | 'DISABLE', 'YES', 'NO', '1' or '0' or |
 |                               | any integer value (0 is interpreted   |
 |                               | as false, any other value as true.    |
 |                               | Setting AutoRestart to true will      |
 |                               | cause AirServer to restart if it      |
 |                               | encounters a fatal error.             |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | FirewallCheck                 | 'value' can be 'TRUE','FALSE','ON',   |
 |                               | 'OFF','ENABLED', 'DISABLED', 'ENABLE',|
 |                               | 'DISABLE', 'YES', 'NO', '1' or '0' or |
 |                               | any integer value (0 is interpreted   |
 |                               | as false, any other value as true.    |
 |                               | Setting FirewallCheck to false will   |
 |                               | cause AirServer to skip the firewall  |
 |                               | check when it starts.                 |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | LogLevel                      | Sets the amout of detail logged to    |
 |                               | file. 'value' can be 'full',          |
 |                               | 'detailed', 'compact' or 'none'.      |
 |                               | This setting applies to the current   |
 |                               | user.                                 |
 -------------------------------------------------------------------------
 | GlobalLogLevel                | Sets the amout of detail logged to    |
 |                               | file. 'value' can be 'full',          |
 |                               | 'detailed', 'compact' or 'none'.      |
 |                               | This setting applies to all users but |
 |                               | can be overridden using LogLevel      |
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------
 | TempFolder                    | Sets the temporary folder that will   |
 |                               | be used for storing the following     |
 |                               | folders: Logs, CrashDumps, PhotoCache,|
 |                               | Recording. This setting applies to    |
 |                               | all users. You can use environment    |
 |                               | strings in the folder name. For       |
 |                               | example "USERPROFILE\AirServer Temp"|
 |                               | This command must be run elevated.    |
 -------------------------------------------------------------------------


     Examples:
       airserverconsole set name Home Theater
       airserverconsole set name Room 121 B
       airserverconsole set AirPlayVideoTCPPort 16765
       airserverconsole set AirPlayAudioUDPPort 34982
       airserverconsole set AirPlayDynamicMirroringTCPPort 49152
       airserverconsole set AirPlayAudioEventTCPPort 49153
       airserverconsole set SingleUserMode ON
       airserverconsole set SingleUserMode OFF
       airserverconsole set AutoRestart ON
       airserverconsole set AutoRestart OFF
       airserverconsole set FirewallCheck ON
       airserverconsole set FirewallCheck OFF
       airserverconsole set TempFolder "USERPROFILE\AirServer\Temp\"
       airserverconsole set DefaultFullScreen ON


  settings


     The settings option displays the current settings in use by AirServer.


     Example:
       airserverconsole settings


  shutdown


     This option finds any running AirServer instances and shuts them down.


     Example:
       airserverconsole shutdown


  validate


     The validate option checks that the activation information in the
     registry is valid and that the product is activated. If the check
     is successful then 0 is returned from the process and 0 is printed
     to the console. If the check is not successful then 1 is returned
     from the process and 1 is printed. If an unexpected error occurs
     then that will be reported on the console also.


     Example:
       airserverconsole validate


  version


     Displays version information for AirServer.exe.


     Example:
       airserverconsole version