Customize your environment with PowerTags

PowerTags are a powerful feature for customizing virtualized application environments. PowerTags are metatags that can be assigned to various entities within a virtualized environment, including users, user groups, apps, servers, clusters, or the entire account (global). For example, you can use a PowerTag to define custom behavior for sessions or to inject environment variables directly into the Windows session.

Custom behavior with PowerTags

PowerTags offer granular control and can be applied at different levels:

  • Individual users
  • User groups
  • Individual apps
  • Sessions
  • Specific servers
  • Server clusters
  • Company account

How to use a PowerTag

To use a PowerTag to customize a feature or a component, you locate the relevant option on the Cameyo Admin console and add a line to the PowerTags input field.

In general:

  • PowerTags can be placed at application, server, cluster, user, usergroup or company-wide level.
  • If there's no value set, the PowerTag is not used (not enabled).

For example: Prevent accidental tab closure

During Cameyo sessions, users can accidentally close the tab they are working in, resulting in unexpected closure of the Cameyo session. This could potentially lead to a loss of work and require the user to relaunch the application session. 
  1. On the Cameyo Admin console, click Servers .
  2. To open the Details page of your chosen server, click the hyperlinked server name.
  3. Navigate to General > PowerTags.
  4. On a new line, enter !CLOSECONFIRM=1 to set a server-wide setting.
  5. At the bottom of the screen, click Save.
  6. Restart your Cameyo server for the new PowerTag value to take effect for apps running on that server.

Once !CLOSECONFIRM is switched on, every time a user closes a tab, a message displays prompting them to click Leave to confirm that they want to close the tab, or Cancel to return to the app.

Supported PowerTags and their functions

These are the supported PowerTags that you can use to control various aspects of the virtualized environment and user sessions.

Open all   |   Close all

Users and Cameyo portal
PowerTag Description
!ADMIN_ANALYTICS

Controls access to Analytics pages, usage metrics, and reports within the Cameyo Admin console. It allows organizations to restrict a delegated administrator's ability to view or interact with the environment's analytics data.

For example, if !ADMIN_ANALYTICS=0, it explicitly revokes the administrator's access to analytics-scoped endpoints and UI pages. Because the backend dynamically evaluates this tag against the Analytics authorization requirement, attempting to access these pages will cause the portal's authentication pipeline to short-circuit and redirect the user to an unauthorized access error page. Otherwise, standard authorization logic (based on the user's role and entity assignments) applies.

By default, this PowerTag is not set. When left unconfigured, the system permits standard authorization logic to apply, guaranteeing access to Analytics pages for all standard Entity Administrators and SubAdmins.

!AD_ADMIN_GROUPS

Allows specified Active Directory (AD) user groups to become Cameyo admins. When configured at the company level, users belonging to the specified AD groups are automatically granted Admin privileges in the Cameyo portal. For more details, see Cameyo user roles.

Related tags include:

  • !AD_SUBADMIN_GROUPS for SubAdmin mapping 
  • !AD_POWERTAGS for AD group-based PowerTag assignment
!ADMIN_POLICY Controls access to security and general Policy pages within the Cameyo Admin console. It allows organizations to restrict a delegated administrator's ability to view, modify, or interact with policy configurations.
For example, if !ADMIN_POLICY=0, it explicitly revokes the administrator's access to policy-scoped endpoints and UI pages. If the user attempts to access these pages, the portal's authentication pipeline will short-circuit and redirect them to an unauthorized access error page. Otherwise, standard authorization logic (based on the user's role and entity assignments) applies.
By default, this PowerTag is not set. When left unconfigured, the system permits standard authorization logic to apply, guaranteeing access to Policy pages for all standard Entity Administrators and SubAdmins.
!ADMIN_SERVERS

This PowerTag serves as a granular administrative permission flag that controls a delegated administrator's access to the Servers page and server management operations within the Cameyo Admin console.

For example, if !ADMIN_SERVERS=0, this explicitly revokes administrative access server and cluster management.

!ADMIN_SETTINGS

This user-level PowerTag allows you to revoke Admin-level privileges of a Cameyo user.

For example, if !ADMIN_SETTINGS=0, this explicitly revokes administrative access. Otherwise, assigned user role privileges apply. For more details, see Cameyo user roles.

By default, this PowerTag is not set.

!ADMIN_POWERADMIN

This user-level PowerTag allows you to grant Admin-level privileges to a Cameyo user.

For example, if !ADMIN_POWERADMIN=1,  this explicitly assigns administrative access. Otherwise, assigned user role privileges apply. For more details, see Cameyo user roles.

By default, this PowerTag is not set.

!AUTHTTL=[minutes]

Company-level PowerTag for setting the authentication cache cookie duration after which the user is logged off and re-authentication is necessary (by default 10 days).

Note: This takes effect after a sign-in (so if you're already signed in, sign out and sign in again after applying this PowerTag).

delete_days

delete_days is a parameter used within the company-level !INACTIVEUSERS PowerTag. It defines the number of inactivity days after which Cameyo automatically deletes users. Minimum number of days of inactivity allowed is 14. If set 0, users are never deleted.

!FAVICON

Changes browser icon from Cameyo icon to an online ICO file, for example, !FAVICON=https://someurl.com/favicon.ico, allowing customization of portal favicon.

!GFX

Activates an optimized rendering mode designed to significantly enhance performance for video and graphics-intensive applications. By enabling !GFX, the server configures the session to prioritize the H.264/AVC 444 hardware-encoded graphics pipeline, providing a substantially smoother user experience for media consumption such as YouTube or other streaming platforms. To utilize this mode, the Play Server must be provisioned with a dedicated GPU and sufficient CPU resources (a minimum of 4 CPUs, with 8 recommended, per GPU).
For example, if !GFX=1, the session activates the GPU-accelerated graphics pipeline. Additionally, setting this flag modifies the HTML5 client connection parameters to use a reconnect resize method to preserve rendering integrity.
By default, this PowerTag is not set (0), meaning the standard rendering pipeline is used. This default state is generally recommended for standard productivity applications (such as office suites, web browsing, and text editors), as forcing !GFX=1 on non-graphics workloads can lead to increased CPU consumption, lossy image compression, and additional input latency.

!INACTIVEUSERS

Delete or report inactive users (company-level PowerTag only).

For example, in the format !INACTIVEUSERS=[delete_days/
report_days]
:

  • !INACTIVEUSERS=60/45: Sends a report for users who have been inactive for 45 days, and automatically deletes users who have been inactive for 60 days.

See also, report_days and delete_days ​​​​​.

!ISINTERNAL Allows administrators to explicitly override whether a user's session connection is treated as originating from the internal network. This flag directly controls whether the session generation logic assigns the server's internal hostname/IP address or its external public address for the client's connection routing.
For example, if !ISINTERNAL=1, it forces the system to treat the client's connection as internal, causing the session to connect using the server's internal address. If !ISINTERNAL=0, it explicitly treats the connection as external, ensuring the session routes through the public-facing URL or IP address.
By default, this PowerTag is not set. When left unconfigured, the system automatically determines if the connection is internal by checking if the user's requesting IP address matches the assigned machine's IP address or falls within recognized internal network ranges.

!PWDEXPIRE

Cameyo logins only passwords expire after X number of days, after which they must be changed.

For example, if!PWDEXPIRE=30, a user's password expires every 30 days.

!PWDREGEX=regex

This is a Cameyo regular expression for password strength validation. 

The !PWDREGEX PowerTag allows administrators to define custom password strength and complexity rules for Cameyo user accounts by supplying a regular expression (regex) PWDREGEX=regex.

If your users authenticate through an external Single Sign-On (SSO) provider like Google Workspace or Azure AD, the password complexity is handled entirely by the Identity Provider (IdP) and this tag is ignored.

report_days

report_days is a parameter used within the company-level !INACTIVEUSERS PowerTag. It defines the number of days a user must remain inactive before the system generates and sends an inactivity report.

Report is submitted by email, or 0 for never.

!SORTAPPS This PowerTag enables the application Sort menu and custom application ordering in the Cameyo Portal App Library (/library.aspx).
 
For example, if !SORTAPPS=1, the Portal displays a Sort button that lets users sort applications by Name, Latest, Popularity, or Default (custom drag-and-drop order), and allows administrators to apply their arrangement to all users. For non-admin users to sort or rearrange applications, the Company > Settings > Allow users to rearrange apps must also be enabled.
 
The default setting for this PowerTag is not set (0), meaning the Sort menu and custom user app ordering are disabled in the Portal library.

!UKRAINE=1

Ukraine-supportive theme and colors for the portal, to be applied at the company level.

!USERSETTINGS=0

Disables the ability for end users to access My Profile.

File dialogs and storage for user groups
PowerTag Description

!FILEDIALOG_EXTRA
!FILEDIALOG_MYFILES

 

Controls the Cameyo File Dialog. Set to either !FILEDIALOG_EXTRA=1 (enable) or !FILEDIALOG_EXTRA=0 (disable).

Adds extra folders or drive mappings to the Cameyo custom file dialog. Controls the Cameyo File Dialog and allows administrators to make additional local directories or drives visible to users within the custom Open and Save file dialog.

!FILEDIALOG_SHOW_REPARSE_POINTS

This PowerTag controls whether NTFS reparse points (such as symbolic links, directory junctions, and mounted folders) are displayed in the custom Cameyo File Dialog (Open/Save).

For example, if !FILEDIALOG_SHOW_REPARSE_POINTS=1 (enabled), the custom Cameyo File Dialog displays directories and files that have the Windows ReparsePoint attribute, allowing users to browse symbolic links and directory junctions. If !FILEDIALOG_SHOW_REPARSE_POINTS=0 (disabled), reparse points are filtered out of the dialog listing.

By default, this PowerTag is not set (0), meaning reparse points (such as legacy Windows shell junctions like My Music, My Pictures, and My Videos inside Documents) are hidden in the custom Cameyo File Dialog.

!STORAGEFILEDIALOG 
!STORAGEFILEDIALOGPATHS
This PowerTag controls the custom Cameyo File Dialog (Open/Save) and accepts a bitmask of flags to customize how cloud storage, WebFS, and virtual files are displayed.
 
For example, !STORAGEFILEDIALOG=0 disables the custom Cameyo dialog and restores the native Windows file dialog. Non-zero bitmask values enable the custom dialog with specific options: 1 enables the dialog with all virtual files visible, 2 hides virtual converted files, 8 adds a button allowing users to switch to the native Windows file dialog, and 32 hides virtual cloud storage folders (values can be combined, such as 10 for 2 + 8).
 
When the "Replace file open / save dialog box" policy setting is enabled (the default), Cameyo initializes this setting to 2.
!EXPLORER 

Controls access to built-in Windows Explorer alongside their Cameyo app. Set to either !EXPLORER=1 (enable) or !EXPLORER=0 (disable).

When enabled, users can launch and interact with the Windows Explorer (explorer.exe) inside their virtual session, providing built-in file browsing and management capabilities alongside the virtualized application.

!PUBLIC_DRIVE=P

Virtual drive letter for the Public directory.

!UPCS_ENABLED=0/1

Configures fine-grained directory and file inclusion/exclusion rules for User Profile Cloud Sync (UPCS / Session Sync / Data Persistence). Allows administrators to define which files and folders are synchronized to cloud storage between sessions. Controls the data persistence include and exclude filters for user profile synchronization.

Related tags:

  • !UPCS_FILTERS
  • !UPCS_INCLUDE
  • !UPCS_EXCLUDE
  • !UPCS_MINSPACE

See also, !UPCS_FILTERS.

!UPCS_FILTERS

!UPCS_INCLUDE

!UPCS_EXCLUDE

This PowerTag configures pipe-separated (|) directory and file inclusion (+) and exclusion (-) rules (relative to the user profile folder) for User Profile Cloud Sync (UPCS), defining which files and folders are synchronized between sessions.

For more details, see data persistence and include and exclude filters.

!UPCS_MINSPACE

Defines the minimum hard-drive space when caching data persistence locally (C:\UserData). See Session Sync data persistence.

!USERPROFILE_DRIVE=X

Virtual drive letter for user profile.

Windows and app behavior
PowerTag Description
!AUDIO

Controls server-to-client audio playback delivery for virtualized Windows HTML5 sessions, allowing administrators to control the availability and redirection of audio output.

For example, if !AUDIO=0, it explicitly disables audio transmission to the client device. Otherwise, audio output remains enabled. Note that this PowerTag is ignored entirely by Linux Play Servers and Windows Native Play.

By default, this PowerTag is not set, meaning the system allows server-to-client audio output for all Windows HTML5 sessions.

!AUDIOIN

Configures whether client-side audio input devices, such as microphones, are captured and redirected into the remote Cameyo user session.

For example, if !AUDIOIN=1, Cameyo sets the enable-audio-input connection parameter to true and enables microphone redirection into the remote session. If !AUDIOIN=0 (or any value other than 1), it sets enable-audio-input to false and disables microphone redirection.

By default, this PowerTag is not set (0), meaning enable-audio-input is set to false and client-side microphone redirection is disabled.

!CLIENTNAME

!COMPUTERNAME

!USERNAME

Client, user, and machine name virtualization.

!CHROME=1

Sets Chrome as the default browser.

!DPAPI

Configures application-level Win32 Data Protection API (DPAPI) redirects to secure and port sensitive user application data across disjoint server instances. By encrypting application data using portable session keys instead of relying on the underlying Windows user profile, it enables the transparent portability and restoration of protected application states (like saved passwords and session cookies) across different Cameyo server instances.

For example, if !DPAPI=1, it forces the installation of the virtual DPAPI hooks and enforcement logic regardless of automated session condition evaluation. If !DPAPI=0, it explicitly disables all virtual DPAPI hooking operations, reverting the session environment to the native Windows OS-level DPAPI subsystem for all executed applications.

By default, this PowerTag is not set (empty). However, for standard, non-administrative user sessions, the system automatically defaults this policy setting to "1", engaging the API hooks. For administrative sessions, Persistent User deployments, or Windows Domain authenticated sessions, the setting remains unset, preserving the native Windows OS DPAPI subsystem behavior.

!EXECREDIR

Substitutes the execution of an app from a specified directory path. For example, if you want to specify to run org.exe only from this directory path c:\new\new.exe.
!EXECREDIR=org.exe=c:\new\new.exe
or
!EXECREDIR=[app-name={dir}\appname]

!FILEEXT=1

File handling using PWA's (File Association)

!IMEMODE

Enhances session localization by allowing administrators to repurpose the HTML5 toolbar Keyboard button to toggle language and Input Method Editor (IME) modes, rather than launching the standard Windows On-Screen Keyboard.

For example, if !ImeMode=1, the Cameyo session intercepts the Keyboard button command and injects the Alt + Shift keystrokes to switch active input languages. If !ImeMode=2, the Cameyo session injects Alt + Backtick to toggle IME states. Note that this PowerTag only works when the Admin Portal Policy setting KeyboardMode is configured to Windows OSK.

By default, this PowerTag is not set, meaning the system bypasses the interception logic and simply spawns the standard physical Windows On-Screen Keyboard process (osk.exe).

!STARTINGDIR

Defines the starting directory for the session app's execution.

!STOPFILES

Block access to specific files and executables.

For example: 
!STOPFILES=file1.ext;file2.ext;fullpath\file.ext

!UPCS_SILO

See Configure data persistence filters using PowerTags.

!URLREDIR=1 or [url_prefix]

URLs launched by the session's app will be redirected directly as a new tab within the user's browser, outside the session itself. The url_prefix is in the form:
https://example.com/example

!WEBFS=1

Controls whether Cameyo allows file system integration.
Possible values:
!WEBFS=1, this means file system integration is allowed. (Default)
!WEBFS=0, this means file system integration is not allowed.
For more details, see Integrate with a local file system.

!WEBFS_TOOLBTN

Adds a WebFS (Web File System) button to the Cameyo HTML5 WebPlay toolbar. When set to 1, a dedicated button appears in the toolbar allowing users to mount their local browser file system into the remote session via the File System Access API.

This is a sub-feature of the main !WEBFS PowerTag, which must also be enabled for !WEBFS_TOOLBTN functionality to work.

!WEBUSB=1

USB redirection using WebUSB.

Session behavior and appearance
PowerTag Description

!ALWAYSSHOWDESKTOP

This PowerTag forces the Windows Desktop shell (explorer.exe) to launch alongside published applications, which is required by certain applications that depend on Windows shell components or Microsoft Web Account Manager (WAM) for sign-in.

For example, if !ALWAYSSHOWDESKTOP=1, Cameyo starts explorer.exe when the session initializes and keeps Microsoft Office WAM authentication plugins enabled (it is often paired with !UNEXPLORER=1 to keep the desktop UI hidden).

The default setting for this PowerTag is not set (0), meaning explorer.exe is not started for standard seamless application sessions.

!CLIPBOARD

Enables or disables clipboard support (from session to client - client to session is always permitted)

!CLIPBOARD_MAX_LEN

Controls the maximum byte-size threshold for data payloads transmitted over the virtual application clipboard synchronization channel, communicating configuration limits to the Apache Guacamole proxy daemon to bound memory allocations. Note that this setting is intended for HTML5 WebPlay sessions and is ignored by Native Windows Play configurations.

For example, setting !CLIPBOARD_MAX_LEN=2097152 specifies a 2 MB payload limit for the active user session clipboard pipeline. If the tag is set to 0 or an invalid non-integer string (for example, abc), the system disregards the input and reverts to the default compile-time parameter.

By default, this PowerTag is undefined, meaning the system relies on a hardcoded compile-time configuration of 512 KB (524288 bytes) to size and allocate processing buffers for clipboard synchronization requests.

!CONNECT_
RESOLUTION

Defines a fixed session width and height in px.

For example,!CONNECT_RESOLUTION = 800x600

!CLOSECONFIRM

Controls accidental tab closure.

For example, once switched on (!CLOSECONFIRM=1), every time a user closes a tab, a message displays prompting them to click Leave to confirm that they want to close the tab, or Cancel to return to the app.

!CLOUDDRIVE

Controls user's cloud drives virtualization, if configured.

For example, !CLOUDDRIVE=1 or 0.

!DOWNLOAD

When !DOWNLOAD=0, this blocks the user downloading files from the session to the user's device, including using the Cameyo file dialog, drag and drop, or saving to an outbound directory.

!EXTRATOOLBTNS

Controls extra tool bar buttons. 

Adds custom buttons to the Cameyo HTML5 WebPlay toolbar. For example:

!EXTRATOOLBTNS=Name|Action|Icon

To add multiple buttons, use a semicolon-separated list.

  • Name is the hover text.
  • Action can be a URL (opens in browser), a Cameyo app execution (#msg-app-AppID), or a keypress emulation (#msg-keybd-KeyCombo).
  • Icon can be a URL to an image or a Material Design icon keyword.

!GRACEFULDISCOSEC
!STARTUP_
GRACEFULDISCO_PS1

See Graceful application closing.

!KEYLOCK=1

When in full screen mode, session will capture all system keyboard keys including the Windows key, Alt-Tab as well as certain reserved control keys.

!KBLAYOUT

This PowerTag overrides the server-side RDP keyboard layout used during HTML5 (browser) Cameyo sessions by setting the server-layout parameter in the session's connection configuration.
 
For example, if !KBLAYOUT=de-de-qwertz the session enforces that keyboard layout on the remote Play Server.

Other supported layout identifiers include:

  • en-us-qwerty

  • en-gb-qwerty

  • fr-fr-azerty

  • es-es-qwerty

  • ja-jp-qwerty

  • failsafe

The default setting for this PowerTag is not set, meaning Cameyo uses the default automatic keyboard layout negotiation.

For more details, see Understanding the Cameyo keyboard layout.

!PRINTER

Allows administrators to enable or disable the ability for virtual applications hosted on the Play Server to route print output streams to the user's local endpoint device.
For example, if !PRINTER=0, it disables virtual printing redirection, explicitly assigning "false" to the HTML5 client's enable-printing parameter. If set to !PRINTER=1, it enables virtual printing redirection.

Note that this primarily dictates printing availability for HTML5 client connections, as Native Player clients rely strictly on the presence of the "printers" string inside their redirection parameters and may not be blocked by !PRINTER=0 alone.
By default, this PowerTag is not configured, and the system defaults to enabling virtual printing. The API automatically assigns "true" to the enable_printing parameter for HTML5, while the device redirection configuration defaults to including "printers".

!RICHCLIPBOARD

Allows advanced clipboard interactions—such as copying and pasting images, large data, or formatted text (for example, spreadsheet cells or rich text documents)—between the user's local device and the remote Cameyo session.
For example, if !RICHCLIPBOARD=1, the rich clipboard synchronization is automatically enabled for the user's session. If !RICHCLIPBOARD=2, it adds a dedicated button to the HTML5 WebPlay toolbar, allowing the user to manually start or stop the rich clipboard synchronization process. Otherwise, the standard clipboard pipeline is used.
By default, this PowerTag is not set (undefined), meaning the Rich Clipboard feature is disabled and the system relies on the standard virtual clipboard synchronization channel.

!SKIP_CREATING
_MACHINES

This PowerTag instructs Cameyo's session routing and load-balancing logic to exclude Play Servers that are currently in the Creating (provisioning) state when selecting an available server for a user session.
 
For example, if !SKIP_CREATING_MACHINES=1, user session requests will only be routed to servers that are already provisioned, avoiding long user wait times while a new cloud VM is still being created.
 
The default setting for this PowerTag is not set (0), meaning servers in the Creating state remain eligible candidates during session routing.

!STARTUP_AFTER
_xxxx

Controls session scripting.

!STARTUP_BEFORE
_BAT

Executes a Windows batch (.bat) script before the session's main application launches.

The script runs asynchronously (does not block session startup). For example, if the session launches WordPad.exe, the script writes the current time to a log file in the user's profile directory just before the app starts.

!STARTUP_BEFORE_BAT=@echo off^|echo %TIME% >> %USERPROFILE%\test.log

Use inline scripting with ^| as newline delimiter. Maps to CAMEYO_STARTUP_BEFORE_BAT environment variable.

!STARTUP_BEFORE
_SYNC_xxx

Controls session scripting.

!STARTUP_BEFORE
_SYNC_BAT

If you need the session to wait for your .bat script to completely finish executing before the application is allowed to launch, you can use the synchronous version of the tag instead: !STARTUP_BEFORE_SYNC_BAT.

Useful for setup tasks that must finish before the app starts For example, mapping network drives, or copying files.

!STARTUP_BEFORE_SYNC_BAT=
@echo off^|net use Z: \\server\SharedFolderName password /user:domain\Username

Use ^| as newline delimiter in inline scripts.

!STARTUP_BEFORE
_SYNC_CMD

Executes a custom Windows command (.cmd) script before the session's main application launches.

Functionally similar to !STARTUP_BEFORE_SYNC_BAT.

Use ^| as newline delimiter in inline scripts.

!STARTUP_SYSTEM
_PS1

Executes an inline PowerShell (.ps1) script with elevated administrative privileges under the Windows SYSTEM account (NT AUTHORITY\SYSTEM).

Functionally similar to !STARTUP_BEFORE_SYNC_BAT, but only recommended for cases where the script requires administrator privileges. 

The script runs during session initialization.

!STARTUP_GLOBAL

Controls session scripting.

!TASKBARMODE

This PowerTag controls the display mode of the Cameyo taskbar in sessions. For more details, see Cameyo's taskbar.

Possible values:

0 = Reserved mode (taskbar reserves OS desktop space, pushing app windows above it)

1 = Overlap mode (taskbar overlays application windows without resizing the desktop work area)

2 = Auto-hide mode (taskbar hides automatically and shows on hover/activity).

!TASKBAR
_QUICKLAUNCH

Cameyo's taskbar allows quick launching and switching between applications. 

For example, setting !TASKBAR_QUICKLAUNCH=Explorer|explorer.exe;Notepad|notepad.exe populates the taskbar with clickable shortcuts for Windows Explorer and Notepad. The syntax expects a semicolon-separated list mapped in the format:
[name] | [command] | [arguments(optional)]
Administrators can also pass the %APPS% wildcard to dynamically generate shortcuts for all the published applications assigned to the user. If you want the taskbar enabled but completely empty without icons, you can pass a hyphen (!TASKBAR_QUICKLAUNCH=-).
By default, this PowerTag is not set (undefined). However, if the Cameyo taskbar is actively enabled using !TASKBAR=1, the default for !TASKBAR_QUICKLAUNCH is "-" (hyphen), which safely initializes the taskbar with no predefined application shortcuts.

For more details, see Cameyo's taskbar.

!UNEXPLORER

This PowerTag hides the desktop interface and taskbar when the full desktop shell is running. It is commonly paired with !ALWAYSSHOWDESKTOP to load necessary desktop background components silently without exposing the Windows UI to the end-user.

For example, if !UNEXPLORER=1, it starts an integrated unexplorer background script to hide the desktop elements from the active screen.

The default setting for this PowerTag is not set (0).

!UPLOAD

When !UPLOAD=0, this blocks the user uploading files from the user's device to the Cameyo remote session, including using the Cameyo file dialog, drag and drop, or saving to an outbound directory.

!USER_SHORTID

This session variable (referenced as %USER_SHORTID% rather than assigned with a ! prefix) is automatically populated by Cameyo during session launch with the username portion of the authenticated user's email address before the @ symbol (for example, john for john@example.com).
 
For example, if an administrator sets !USERNAME=%USER_SHORTID% or !CLIENTNAME=%USER_SHORTID%, Cameyo substitutes %USER_SHORTID% with the user's short identifier to virtualize the Windows session username or client name.
 
The value of USER_SHORTID is automatically generated by the system for every authenticated user session based on their email address.

!WNDGRACEFIRST

When all windows are closed within the session, this PowerTag defines the timeout in milliseconds after which a message will appear to the user saying Application was closed. Session will end in X seconds, where X is defined by !WNDGRACESECOND.

!WNDGRACESECOND

See also !WndGraceFirst. This tag defines the time in milliseconds remaining for the user to see the Application was closed message before the session is closed. The default value is 10000 milliseconds or 10 seconds.

Session connectivity and initiation

PowerTag

Description

!ADMINMAIL=1

Sends a notification email to the technical contacts every time an Admin session is initiated on a Cameyo server, for increased account security.

!ALLOW_COUNTRY=[2-letter country code]

This is an allow-list of countries (a comma separated list of 2-letter ISO country codes) from which sessions can be requested, at a company-wide, application, server, cluster, user, or usergroup level.

For example, !ALLOW_COUNTRY=FR,PT will allow access to users connecting from France and Portugal. An error code will appear for a user attempting to connect from an unauthorized country. 

!ALLOW_IP=[list of IP addresses, separated by semicolon]

This is an allow-list of IP addresses, separated by semicolon, from which sessions can be requested.

This allow-list takes precedence over !ALLOW_COUNTRY values, so you can use the two PowerTags together to allow specific IP addresses from blocked countries.

!ALLOWDELETE

Protects specific Play Server instances from being deleted. It serves as a safeguard against both manual administrator actions in the Cameyo Portal (UI and API) and automated cloud elasticity scale-down cycles.
For example, if !ALLOWDELETE=0 (or any value other than "1"), it explicitly blocks the deletion of the server. In the Cameyo Admin console, the Delete button for the server is hidden. API deletion requests are rejected with a "Not Acceptable" HTTP status code, and automated cloud elasticity processes will simply skip the machine when scaling down the cluster. If !ALLOWDELETE=1, the server can be deleted normally.
By default, this PowerTag is not set. When left unconfigured, the system treats it as functionally equivalent to "1", meaning the server is allowed to be deleted by standard manual or automated elasticity operations.

!CLOUDTUNNEL

Switches Cloud Tunneling on or off.

Configures HTML5 session routing behavior through Cameyo's CloudTunnel infrastructure, allowing administrators to explicitly force sessions through standard, OS-specific public CloudTunnel servers, or disable the CloudTunnel transport mediation entirely to enforce direct connections.
For example, if !CLOUDTUNNEL=1, this enables CloudTunnel mediation for HTML5 sessions and forcibly overrides database and geographic group rules to assign the public or default operating system Tunnel Group. If !CLOUDTUNNEL=0, it disables CloudTunnel mediation entirely and explicitly clears the assigned Tunnel Group ID to force direct client connections. Otherwise, pre-configured geographic and entity server group defaults apply.
By default, this PowerTag is not set (undefined). When not explicitly assigned, the system defers to the standard Tunnel Group ID stored in the database or the pre-configured geographic and entity server group defaults.

Session token security
PowerTag Description

!TOKENHIDE=1

Hides the session token out of the URL bar. In some cases, users like to hide the token ID, for example, when they project or share their screens.

Note:

When the session token is hidden, page refresh (F5) cannot reconnect to the session.

!TOKEN_MULTI_AUTH=0

Revokes a session's token a few seconds after session authentication.

!TOKEN_MULTI_IP=0

Prevents a session's token from being used from an IP different than the initial one.

Notes:

  1. !TOKEN_MULTI_IP=0 neutralizes connection resiliency if the user's IP changes during session time.
  2. !TOKEN_MULTI_IP=0 prevents a session's token from being used from an IP different than the initial one when the Cameyo server uses direct connections, not cloud tunneling.

!TOKEN_TTL

Timeout in seconds after which a session's token can no longer be used. Note that this also neutralizes connection resiliency after the timeout expires.

Server properties
PowerTag Description
!ADMIN_ADMINCONNECT

Controls access for triggering administrative connection routines to assigned Play Server instances. It allows organizations to restrict an administrator's ability to launch and connect to server sessions in administrative mode (AdminUser mode).
For example, if !ADMIN_ADMINCONNECT=0, it explicitly revokes the administrator's ability to connect to a server as an admin. Any attempt to start an admin session will fail with an "Admin permissions required" error. Otherwise, standard authorization logic (based on the user's role and entity assignments) applies.
By default, this PowerTag is not set. When left unconfigured, the system permits standard authorization logic to apply, guaranteeing access to "AdminConnect" operations for all standard Entity Administrators and SubAdmins.

!CHANNEL

Allows administrators to manage software update channels (such as Stable vs. Canary) hierarchically across their Cameyo deployment, replacing legacy database-level channel assignments.

With this PowerTag, you can control which update channel a server uses at three different levels, resolved in the following order of precedence:

Server (Machine) level: Specific to an individual VM. 
Cluster (Server Group) level: Applies to all servers within a group. 
Company (Entity) level: Applies organization-wide. 

Supported Values: 
!CHANNEL=cur: Maps the target to the Stable (Current) channel, receiving fully tested and rolled-out versions. 
!CHANNEL=next: Maps the target to the Canary/Next channel, receiving upcoming releases early for pilot testing. 

If the PowerTag is not configured at any level, the system falls back to the default database-defined channel assignment.

!CLOUDINSTANCE

Specifies a custom machine type. You can define the CPU and RAM for the instance using the following syntax: !CLOUDINSTANCE=CPU:[cpu_count],RAM:[ram_gb].

For example, to create an instance with 2 CPUs and 12GB of RAM, you would use: !CLOUDINSTANCE=CPU:2,RAM:12. 

Note: This PowerTag cannot be used in conjunction with !CLOUDCPUGEN. If both are present, !CLOUDINSTANCE will take precedence.

For more information, see Google Cloud's General-purpose machine family for Compute Engine. 

!CLOUDCPUGEN

Specifies the CPU generation for the instance, such as 'n2'. This will create a machine type of <GEN>-standard-<CPU>.

For example, !CLOUDCPUGEN=n2 results in an n2-standard-8 machine type for a level 8 instance.

!CLOUDLABELS

!CLOUDSUBNETS

!CLOUDTAGS

!CLOUDVPC 

Custom cloud tags and labels, VPC and subnets for created instances.

These PowerTags allow you to configure custom network descriptive names on Google Cloud Platform (GCP) virtual machines when they are provisioned. It allows administrators to attach custom network tags for network routing and firewall policies, or remove default tags.

For example, to add custom-tag and remove the default HTTP and RDP tags:

!CLOUDTAGS=custom-tag;-http-server;-rdp-server

For more details, see Set up BYO-GCP.

!CLOUDSECUREBOOT=1

(For GCP only)

Forces Secure Boot to be enabled on newly-created instances.

By default, this PowerTag has no value assigned, which means that Secure Boot is not enabled.

!CLOUDIP

(For GCP only)

!CLOUDIP=0 prevents newly-created servers from obtaining a public IP.

  • This applies to servers created after !CLOUDIP is defined at cluster level or at company level.

  • New servers should be created without a public IP. To verify server settings, check your Google Cloud console.
 !CLOUDREGION 

(For GCP only)

Allows you to pin Cameyo virtual machine groups to a specific Google Cloud Platform (GCP) zone, overriding the default zone assigned to that region. You must use a valid string for GCP zone. For more details, see Set up BYO-GCP.

For example: 

!CLOUDREGION=us-central1-a  

!CLOUDSERIES

Specifies the CPU series type for the instance, such as highmem. This can be used with !CLOUDCPUGEN to create a machine type of <GEN>-<SERIES>-<CPU>.

For example, !CLOUDSERIES=highmem combined with !CLOUDCPUGEN=n2 would result in an n2-highmem-8 machine type for a level 8 instance.

C4D VMs are available as predefined configurations in standard, highcpu, and highmem sizes ranging from 2 vCPU to 384 vCPUs and up to 3,024 GB of memory.

!ENABLE_SCALEDOWN_LIMIT Cameyo uses safety limits to prevent accidental mass deletions of server clusters during down-scaling events (for example, due to configuration errors or backend issues). Admins contol this feature using two PowerTags: !ENABLE_SCALEDOWN_LIMIT and !SCALEDOWN_LIMIT_PERCENT. 
For example, setting !ENABLE_SCALEDOWN_LIMIT=1 actively enforces the scale-down safety limit during cloud elasticity cycles. When enabled, it works in conjunction with the !SCALEDOWN_LIMIT_PERCENT PowerTag to cap the maximum percentage of active servers that can be decommissioned in a single cycle.
!ENABLE_SCALEDOWN_LIMIT: Enforces the scale-down safety limit feature for the target environment. (This may be automatically enabled by default as part of Cameyo's progressive feature rollouts).

!MAXDISCONNECT

Time, in seconds, to keep sessions alive in case of disconnection. Equivalent to Windows RDS MaxDisconnectionTime parameter. Cameyo's default is 120.

!MAXIDLETIME

Maximum idle time in minutes. Overrides the session policy settings. Requires service restart.

!MAXUSERS

(Currently not used.)

Controls the maximum number of concurrent remote user profiles (directories) initialized by the RemoteAppPilot (RAP) service on a Play Server.

By default, the system hardcodes the maximum user capacity to 50, meaning 50 RemoteUser profiles are initialized per server. The !MAXUSERS PowerTag itself is not set.

!REBOOTDAYS

This PowerTag specifies the maximum number of consecutive days a Cameyo Play Server can run without a reboot before the RemoteAppPilot service forces a system restart for maintenance.

For example, if !REBOOTDAYS=14, it forces a reboot every 14 days. If set to 0, it completely disables the automated maintenance reboots.

The default setting for this PowerTag is 7 days, mapped dynamically during startup if the parameter is omitted.

!RDS_fSingleSessionPerUser

Controls the Windows Remote Desktop Services (RDS) policy that restricts users to a single concurrent session. By defining this tag, it bypasses Cameyo's automated session limits and directly sets the underlying Windows fSingleSessionPerUser registry policy on the Play Server.
For example, if !RDS_fSingleSessionPerUser=1, it forces Windows to restrict each user to a single active session (internally translating to a registry DWORD value of 1 under Software\Policies\Microsoft\Windows NT\Terminal Services). If !RDS_fSingleSessionPerUser=0, it disables this restriction, allowing a user to maintain multiple concurrent sessions.
By default, this PowerTag is not set. When left unconfigured, Cameyo automatically enforces the behavior based on the server's authentication mode (AuthMode): for ephemeral Temporary Users (TempUsers), it defaults to enforcing a single session per user, whereas for Windows Authentication (WinAuth) or Persistent Users, it defaults to allowing multiple connections per user.

!RDS_SHADOW

!RDS_SHADOW=1 allows admins to shadow sessions with full control, after permission is granted by the user.
Once enabled, to shadow a user session, navigate to the server's page and click the animated progress circle for the session you want to shadow.

!RDS_SHADOW is defined at server or cluster level. Possible values include:
0: No remote control allowed (default).
1: Full control with user’s permission.
3: View session with user’s permission.

!RDSGRACE_RESET

The RDS (Remote Desktop Services) grace period is typically 120 days. Cameyo's RemoteAppPilot (RAP) service continuously monitors the remaining days on the server's RDS grace period, to prevent servers from expiring and locking users out. !RDSGRACE_RESET=0 disables the automatic reset behavior, preventing RAP from clearing the registry key or initiating a related reboot.

!RDSGRACE_RESET is defined at server or cluster level.

!RDSGRACE_THRESHOLD_DAYS

When the grace period falls below the default 90 day threshold, RAP attempts to automatically reset the counter.

Admins can adjust this threshold using the !RDSGRACE_THRESHOLD_DAYS  PowerTag. 

!RDSGRACE_THRESHOLD_DAYS  is defined at server or cluster level.

!SCALEDOWN_LIMIT_PERCENT

See description for !ENABLE_SCALEDOWN_LIMIT.

Controls the maximum percentage of the current active server pool that can be decommissioned in a single elasticity cycle (cycles typically run every 15–30 minutes).

Default value: 50 (limits deletions to 50% of active servers per cycle, resulting in a safe, gradual reduction).

Accepted range: 0 to 100. 
For example, setting !SCALEDOWN_LIMIT_PERCENT=100 acts as an emergency bypass to the safety limit, allowing Cameyo to delete 100% of the redundant servers immediately. This is recommended when an administrator needs to intentionally decommission a large pool of servers quickly.
By default, this PowerTag is set to 50, which limits deletions to a maximum of 50% of active servers per cycle, resulting in a safe and gradual reduction of capacity. The accepted range for this configuration is 0 to 100.

!SECONDARY_ZONE

This PowerTag specifies a fallback Google Cloud Platform (GCP) Compute Engine zone within the same region for a Server Group (cluster) or company. If Play Server VM creation or startup in the primary zone fails due to a zone resource exhaustion (stockout) or if the primary zone is in an active stockout cooldown window, Cameyo automatically provisions VMs in the secondary zone. Once the primary zone recovers, elasticity scale-down prioritizes removing instances from the secondary zone first.

For example, if a cluster's primary zone is us-central1-b and !SECONDARY_ZONE=us-central1-c is set, Cameyo automatically fails over new VM creation to us-central1-c during a stockout in us-central1-b.

By default, this PowerTag is not set, meaning Play Server VMs are provisioned only in the primary zone without automatic secondary-zone failback.

!SHELL_LOCKDOWN

Blocks hard-disk Windows Explorer navigation and basic system commands.

Requires !USERPROFILE_DRIVE to be set (for example, !USERPROFILE_DRIVE=X). This PowerTag controls Windows Explorer shell lockdown policies within non-admin user sessions to prevent users from browsing the local C: drive or opening the Windows Run dialog.
 
For example, setting !SHELL_LOCKDOWN=1 enforces drive C: hiding and Run dialog restrictions for the session, whereas setting !SHELL_LOCKDOWN=0 lifts these Explorer policy restrictions (for instance, when a specific application requires direct access to the C: drive).
 
By default, shell lockdown is automatically enabled for sessions using User Profile Cloud Sync (UPCS / Data Persistence) and disabled otherwise, unless overridden by !SHELL_LOCKDOWN=1 or !SHELL_LOCKDOWN=0.

Has to be set at the server level (or cluster or company) but cannot be on a single app or user, as it's a server-global security feature and not per-session.

Requires service restart to be applied, for the same reason.

!SUPPORT

Blocks server access to Cameyo's support team.

  • !SUPPORT=0 blocks admin access
  • !SUPPORT=-1 blocks admin and regular app sessions.

!WARN_TMCNOTRUNNING

!WARN_TMCNOTRUNNING=0 allows admins to disable warnings, such as: Tomcat not running.

When using self-hosted Cameyo servers with Cloud Tunneling, the Tomcat web server is not required. You can disable or uninstall Tomcat. In cases where Tomcat is not required, this PowerTag allows you to turn off alerts about Tomcat not running every time the Play server starts. For more details, see Cloud Tunneling on Cameyo.

!WARN_CANTCONNECT
HTTPLOCALHOST

!WARN_CANTCONNECTHTTPLOCALHOST=0 allows admins to disable warnings, such as: CantConnectHttpLocalHost (Unable to connect to the remote server).

When using self-hosted Cameyo servers with Cloud Tunneling, the Tomcat web server is not required. You can disable or uninstall Tomcat or run a different HTTP local server, for example, Microsoft's Internet Information Services (IIS). In cases where Tomcat is not required, this PowerTag allows you to turn off alerts about Tomcat not running every time the Play server starts. For more details, see Cloud Tunneling on Cameyo.

Configuration and order of precedence

PowerTags are dynamic, meaning they can vary from one session to another and take effect immediately, without requiring service nor server restart (except server-level PowerTags).

The order of precedence, from highest priority to least, is:

  • User
  • User group
  • App
  • Server
  • Cluster
  • Company (Account)

Example 1:

If a user has the tag 'MY_NAME=John' defined while the server has 'MY_NAME=Server' defined, a session run by this user on that server will have 'MY_NAME' defined as 'John'.

Example 2:

If the server has tag 'MY_NAME=SERVER' defined while the server's cluster has 'MY_NAME=CLUSTER' defined, sessions will run on this server with 'MY_NAME' defined as 'SERVER'.

Example 3:

If an application has tag 'MY_NAME=SomeApp' while the same global Cameyo account's PowerTag is defined as 'MY_NAME=CameyoAccount' then a session running this app will have 'MY_NAME' defined as 'SomeApp'.

Use multiple PowerTags

You can use multiple PowerTags at one time. When multiple PowerTags exist for a given session (for example, cluster + server + user + app), the session will be started with the combination of all relevant tags.

Multiple tags can be defined on each line, for example:

MY_VAR1=Some value
MY_VAR2=Some other value

Custom PowerTags

You use PowerTags to inject custom values into Cameyo sessions as environment variables. For more advanced control, sticky PowerTags can be used to create persistent, server-wide environment variables.

'+' sticky PowerTags: persistent server-wide environment variables (advanced): apply globally to an entire server, including system processes outside of a Cameyo session, and are defined by adding a + prefix.

  • Function: To create global system variables. For example, +MY_GLOBAL_VAR=Some value creates a system variable named "MY_GLOBAL_VAR" with the value "Some value" on the affected servers.
  • Scope: These tags can be set for servers, clusters, or entire accounts.
  • Activation: A sticky PowerTag only takes effect after the server's Cameyo service (re)starts.
  • Removal: To remove a sticky tag, you must set it to an empty value (for example, +MY_GLOBAL_VAR=). The removal takes effect after the Cameyo service restarts and the system is rebooted, which is a Windows requirement.
Search
Clear search
Close search
Google apps
Main menu
15889969266383246032
true
Search Help Center
false
true
true
true
false
false
false
false
false