RDP ISSUE in windows server 2012 R2 standard edition

Krishnapriya Neema 1 Reputation point
2020-11-17T16:18:38.04+00:00

Hello,

We have a dedicated windows server 2012 r2, we are facing an issue regarding RDP after every 30 minutes RDP option get disabled in a remote setting, and when I select to allow and again RDP start working currently RDP is not working also check

http://prntscr.com/v4l2bk << Screenshot

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,579 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,504 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. SethWH 436 Reputation points
    2020-11-17T16:33:49.817+00:00

    If have not seen this where the settings are not greyed out due to AD Group Policy. Can you run rsop.msc to see what policies are applied to the machine? I guess you could try to apply the policy locally in regedit:

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

    fDenyTSConnections = 0

    but I think the Control Panel > System > Remote setting does this same thing.


  2. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,746 Reputation points Microsoft Vendor
    2020-11-18T03:56:08.15+00:00

    Hi,

    Have you installed any third-party antivirus or security software? Could you please do a clean boot on the server and check if the issue persists?

    https://support.microsoft.com/en-us/help/929135/how-to-perform-a-clean-boot-in-windows

    Thanks,

    Eleven

    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.


  3. SethWH 436 Reputation points
    2020-11-18T20:43:51.497+00:00

    Yes, as a work around, you could create a task in the Task Scheduler to run this Powershell script every 15 min (or more frequently) (Run with highest privileges).

    $KeyValue = Get-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections"
    if($KeyValue.fDenyTSConnections -ne 0)
    {
     set-itemproperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -value 0
    }
    

    If you need help configuring the Task Scheduler check here or reply to this if you have issues:
    38580.windows-task-scheduler-configure-to-run-a-powershell-script.aspx

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.