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):
SmlsTool.exe -unregister immediately after log collection is complete to prevent system instabilityMonitoring 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, open the log folder when stopped, 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.
When ASTT detects a high-priority data point, such as unsupported registry flags, it may display a message box to notify the user during troubleshooting. In Citrix HDX sessions, ASTT may also offer to run the CtxHook health-check workflow when Citrix hook-related problems are detected.
Log collection automatically stops under these conditions:
Important data such as Window/Message history logs and SessionProcessShellReport.txt may not be saved until collection stops gracefully. Do not kill SmlsTool.exe processes unless instructed for troubleshooting.
CrashedProcesses.txt is generated, review the incident and dump sections before collecting additional dataStartupPrograms.txt and ScheduledTasks.txt for third-party software or scheduled tasks that may interfere with session initializationSystemParametersInfo.txt, ThemeInfo.txt, and layered window entries in winhistorylog.txt
This documentation applies to ASTT version 1.5 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.
Some security software may block programs from launching early during user logon or session startup. If SmlsTool.exe -register does not start ASTT automatically on new session launch, use one of these workarounds:
SmlsTool.exe -s to the user's logon script if that startup method is allowed by the environment's security policy.SmlsTool.exe -s as a new published app, launch that published app first, and then launch the application being troubleshot in the same published session.SmlsTool.exe -unregister immediately after completing your troubleshooting sessionSafe 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, application startup issues, crash events, and application windowing problems.
Version 1.5 expands the original ASTT diagnostics with additional crash, startup, scheduled task, timezone, graphics, network, Citrix HDX, and hook-health investigation data while preserving the same command-line and GUI workflow used in version 1.
WS_EX_COMPOSITED, WS_EX_LAYERED, WS_EX_LAYOUTRTL, WS_EX_NOACTIVATE, WS_EX_NOINHERITLAYOUT, and WS_EX_NOREDIRECTIONBITMAP.TimezoneInfo.txt, ScheduledTasks.txt, StartupPrograms.txt, and conditional CrashedProcesses.txt.