The Controller Window color indicates the current session type for quick visual identification:
Command-line operation is the recommended method for using ASTT due to its simplicity, reliability, and automation capabilities. This approach eliminates the need for GUI interaction and provides precise control over all diagnostic options.
ASTT supports extensive command-line operation for automated deployments and scripting:
SmlsTool.exe [options]
| Option | Description | Admin Required? |
| -? | Display help dialog with all available options | No |
| -s | Start logging immediately | No |
| -sPA | Start logging for Published App sessions only |
No |
| -sCtx | Start logging for any Citrix HDX session | No |
| -f:[path] | Specify output folder for logs (absolute path required) | No |
| -t:[minutes] | Set logging duration in minutes (max: system-defined limit) | No |
| -register | Register auto-start for logging with current settings | Yes |
| -unregister | remove auto-start configuration | Yes |
| -regdetail | Show current registration details | No |
| -dSaveScrn | disable screen recording\capture | No |
| -dExcess | Disable window events and attributes detection | No |
| -dSmlsFlags | Disable seamless registry flags checking | No |
| -dSShell | Disable session process and shell state checking | No |
| -dBProcess | Disable background process analysis | No |
| -dCWMLogs | Disable window and message history collection | No |
| -dToolTip | Disable tooltip information windows | No |
| -dStopBtn | Disable Controller Window display | No |
Regular User Commands (No Admin Required):
# Start logging immediately with default settings
SmlsTool.exe -s
# Log published apps only, custom folder, 10-minute timeout
SmlsTool.exe -sPA -f:"C:\tools\logs" -t:10
# Minimal logging (no video, no UI popups)
SmlsTool.exe -s -dSaveScrn -dStopBtn -dTooltip -t:10
Administrator Commands (Admin Required):
# Configure auto-start for any login (most common auto-start usage)
SmlsTool.exe -s -register
# Configure auto-start for Citrix sessions with screen recording disabled
SmlsTool.exe -sCtx -dSaveScrn -t:15 -register
# Register minimal logging (no UI, 5 minutes, published apps only)
SmlsTool.exe -sPA -dStopBtn -dTooltip -t:5 -register
# Remove auto-start configuration
SmlsTool.exe -unregister
For most troubleshooting scenarios, this single command is all you need:
SmlsTool.exe -s
This command starts logging immediately for any session type with all default settings enabled.
To configure automatic logging on any type of login (requires admin):
SmlsTool.exe -s -register
For Basic Logging (No Admin Required):
For Auto-Start Registration (Admin Required):
Alternative Method (GUI - Admin Required):
Monitoring Progress: Regardless of how logging is started (command line, GUI, or auto-run), you can monitor progress using the Controller Window (if enabled) to view status and take manual screenshots.
All logs are organized in a timestamped folder with the following naming convention:
ASTT_log__Session<sessionID>__<username>_<SessionType>_dd.mm.yyyy_HH-MM-SS
Generated Files and Folders:
Important: Log files may be incomplete if the tool is forcefully terminated. Always use the Controller Window "Stop" button or allow timeout completion for complete logs.
Log collection automatically stops under these conditions:
This documentation applies to ASTT and its associated components. Tool version information is displayed in the application title bar and included in generated log files.
⚠️ IMPORTANT SAFETY INFORMATION ⚠️
Auto-start registration configures ASTT to automatically begin log collection when specific session types are launched. While powerful for automated troubleshooting, improper use can cause system instability.
Critical Safety Rules:
Safe Auto-Start Workflow:
# 1. Register for specific troubleshooting session
SmlsTool.exe -sPA -t:10 -register
# 2. Reproduce the issue (auto-logging will start)
# 3. Wait for timeout or issue reproduction
# 4. IMMEDIATELY unregister when done
SmlsTool.exe -unregister
# 5. Verify removal
SmlsTool.exe -regdetail
These software applications are provided to you as is with no representations, warranties or conditions of any kind. You may use and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software application may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software application fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software application. In no event should the code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SOFTWARE APPLICATION, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.
ASTT (Automatic Seamless Troubleshooting Tool) is a comprehensive diagnostic tool for Windows environments that automates the collection of logs and troubleshooting data for session-related issues, window management problems, and application behavior analysis for seamless applications. While it includes many features designed specifically for Citrix environments, it is also useful for general Windows platform troubleshooting, helping engineers and advanced users rapidly identify session bottlenecks, misconfigurations, and application windowing problems.