question

KrishnapriyaNeema-0090 avatar image
0 Votes"
KrishnapriyaNeema-0090 asked SethWH edited

RDP ISSUE in windows server 2012 R2 standard edition

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

remote-desktop-serviceswindows-server-2012
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethWH avatar image
0 Votes"
SethWH answered KrishnapriyaNeema-0090 commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How value changes automatically after 30 min is there any script to set this value after setting a task schedular.

Also, there is no AD configured in the server.

0 Votes 0 ·
ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered ElevenYu-MSFT commented

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.



Hi,

Does this Process Make any type of data loss or cause service interruption? , because in server Plesk Panel is Installed and Also Sophos Antivirus is Running, We have Co-ordinated With Sophos Support and they say this issue is not related to Sophos, Please let us know if you need any log files or event log, we are in need to resolve this.

0 Votes 0 ·

Hi,

This process will prevent third party services from running when you restart your PC. By this way, we could figure out if the issue is related to third party.
Some third party antivrus will regularly check the system and network environment and automatically block some services for security.

0 Votes 0 ·
SethWH avatar image
0 Votes"
SethWH answered SethWH edited

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.