How to enable RDP terminal service in Windows ?
Just follow the below given commands
sc config TermService start= auto
sc config TermService obj= "NT AUTHORITY\NETWORKSERVICE"
sc config UmRdpService start= auto
sc config UmRdpService obj= ".\LOCALSYSTEM"
sc config MSDTC start= auto
net stop UmRdpService
net stop TermService
net start TermService
net start UmRdpService
net start MSDTC
c:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe "set-itemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -name "fDenyTSConnections" -value 0"
c:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe "set-itemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "SecurityLayer" -value 0"
c:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe "set-itemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -value 0"