Kill process Service Remote Desktop

Hướng dẫn restart service Remote Desktop trên CMD

Stop Terminal Services

C:\>net stop termservice

Start Terminal Services

C:\>net start termservice

Tìm kiếm process_id của service

1. Tìm process_id

C:\>tasklist /svc | findstr /C:TermService
svchost.exe                 1708 DcomLaunch, TermService

2. Kill process

taskkill /F /PID  process_id

Disable terminal services.

sc config TermService start= disabled

Enable Terminal Services

sc config TermService start= auto

Hoặc

sc config TermService start= demand

Chúc các bạn thành công.

Bình luận