Cameyo PowerTags are arbitrary meta tags that can be bound to Cameyo apps, servers, clusters, users, user groups and/or the entire account. These tags are injected as Windows environment variables during Cameyo sessions. Additionally, a set of config tags allow defining Cameyo sessions' behavior in a flexible way.
Multiple tags can be defined on each line, e.g:
MY_VAR2=Some other value
These values get injected into Cameyo sessions as environment variables:
'!' Config Tags
A set of predefined tags allow you to control certain aspects of Cameyo sessions. These configuration tags start with an exclamation mark ('!') Below is a list of the most commonly-used such tags:
- !STARTUP_BEFORE_xxxx: controls session scripting.
- !TASKBAR_QUICKLAUNCH: controls Cameyo's Task Bar.
- !STORAGEFILEDIALOG, !STORAGEFILEDIALOGPATHS, !FILEDIALOG_EXTRA, !FILEDIALOG_MYFILES: control Cameyo's File Dialog.
- !UPCS_INCLUDE, !UPCS_EXCLUDE: controls Session Sync data persistence and its include / exclude filters.
- !UPCS_MINSPACE: defines the minimum hard-drive space when caching data persistence locally (C:\UserData). See Session Sync data persistence.
- !EXTRATOOLBTNS: controls extra toolbar buttons.
- !STOPFILES: blocking access to specific files and executables.
- !CLOUDTUNNEL=1/0: forces Cloud Tunneling on / off.
- !CLIENTNAME, !USERNAME, !COMPUTERNAME: client, user and machine name virtualization.
- !CHROME=1: sets Chrome as the default browser instead of IEXPLORE.
- !USERPROFILE_DRIVE=X: virtual drive letter for user profile.
- !PUBLIC_DRIVE=P: virtual drive letter for the Public dir.
- !STARTINGDIR: defines the starting directory for the session app's execution.
- !EXECREDIR=org.exe=c:\new\new.exe: substitutes the execution of org.exe anywhere on the disk with that of c:\new\new.exe.
- !CONNECT_RESOLUTION=800x600: defines a fixed session width and height.
- !NATIVE=1: launches session using the native player (Windows clients only).
- !SHELL_LOCKDOWN=1 or 0: blocks hard-disk Explorer navigation and basic system commands. Must be combined with the !USERPROFILE_DRIVE tag.
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). When multiple tags exist for a given session (i.e. cluster + server + user + app), the session will be started with the combination of all relevant tags. The order of precedence, from the most prioritary to the least is:
- User group
For example, if user has 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'.
As another example, 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'.
As yet another example, 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'.
'+' PowerTags: server-wide environment variables
PowerTags are defined per-sessions, allowing high flexibility. If you need tags or environment variables to be defined globally for the entire server (including system processes for example), you can do so by prefixing your PowerTags with a plus sign ('+'). In this case the PowerTag will be defined globally on relevant servers, even outside of Cameyo sessions. For example, setting "+MY_GLOBAL_VAR=Some value" will result in the affected servers having a global system variable "MY_GLOBAL_VAR" with the value "Some value". Sticky tags can only be set for servers, clusters and whole accounts. They only take effect upon server's service start. Removing a sticky server tag that has been added requires setting it to an empty value, i.e: "+MY_GLOBAL_VAR=". It will then be removed upon the next Cameyo service restart and a consequent system reboot (a Windows limitation).
The '+' must always comes first. i.e. to define a config tag such as "!REBOOTDAYS=1" as sticky, specify "+!REBOOTDAYS=1".
Sticky Config Tags:
- +!REBOOTDAYS=7: server uptime reboot frequency in days (0=never).