Remote Desktop & Audio

The session.remoteDesktop node tailors the full-desktop experience — taskbar, icons, notifications, shell, wallpaper and shutdown control — and the session.audio node governs audio capture and how it is scoped.

Editor Advanced → Session JSON  ·  JSON session.remoteDesktop, session.audio

session.remoteDesktop

Applies only when the workspace type is Remote Desktop.

PropertyTypeDefaultNotes
showTaskbarbooleantrueShow the Windows taskbar.
showDesktopIconsbooleantrueShow desktop icons.
enableNotificationsbooleantrueAllow Windows notifications.
enableAudiobooleantrueLegacy audio toggle — superseded by session.audio (below).
startupShellstring"explorer.exe"Shell executable launched on session start.
wallpaperstringOptional custom wallpaper path.
allowUserDisconnectbooleantrueAllow the user to disconnect / log off.
blockSystemShutdownbooleantrueBlock shutdown/restart commands (log off only).

session.audio

PropertyTypeDefaultValuesNotes
enabledbooleantrueEnable audio streaming. Cannot exceed the app.config ceiling (see below).
captureModeenumautoauto, perApp, perSession, hostLoopbackHow audio is scoped (see modes below).
captureModeBehaviour
autoPick the best for the OS: perSession on Server 2022+/Win11, hostLoopback elsewhere.
perAppCapture only the launched app's process tree (Process Loopback).
perSessionCapture the streamer's process tree (all WebStream-launched apps).
hostLoopbackClassic default-render-endpoint capture (needs a virtual cable or real audio device on the host).

perApp and perSession require Windows 10 build 20348+ (Server 2022 / Win11); older OSes silently fall back to hostLoopback. When both session.audio.enabled and the legacy session.remoteDesktop.enableAudio are set, session.audio wins.

Sample

"remoteDesktop": {
  "showTaskbar": true,
  "showDesktopIcons": true,
  "enableNotifications": true,
  "enableAudio": false,
  "startupShell": "explorer.exe",
  "allowUserDisconnect": true,
  "blockSystemShutdown": true
},
"audio": {
  "enabled": true,
  "captureMode": "auto"
}
app.config.xml override

The remoteDesktop toggles each have a default in app.config.xml <remoteDesktopSettings> and policy wins. Audio is the exception: <remoteDesktopSettings><enableAudio> is a ceiling — a policy may disable audio, but if the app.config value is false (for example, no audio device on the host), the policy cannot enable it. captureMode takes its default from <audioCaptureMode>; policy wins when a valid value is supplied.