When installed in "service mode" (default for unattended access), RustDesk registers as a Windows service that starts automatically.
Configuration and ID/password are stored in %APPDATA%\RustDesk\config\RustDesk.toml — not in the registry.
To check the assigned RustDesk ID without opening the GUI, read the config TOML; there is no registry key for it.
# Check service statusGet-Service-Name"RustDesk"-ErrorActionSilentlyContinue|Select-ObjectName,Status,StartType# Disable auto-start serviceSet-Service-Name"RustDesk"-StartupTypeDisabled
🗑️ Cleanup
# Stop and remove the serviceStop-Service-Name"RustDesk"-ErrorActionSilentlyContinuesc.exedeleteRustDesk# Remove registry keysRemove-Item-Path"HKLM:\SOFTWARE\RustDesk"-Recurse-ErrorActionSilentlyContinueRemove-Item-Path"HKLM:\SYSTEM\CurrentControlSet\Services\RustDesk"-Recurse-ErrorActionSilentlyContinueRemove-ItemProperty-Path"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"`-Name"RustDesk"-ErrorActionSilentlyContinue