How to get/export report of devices whether each device remote access is disabled or enabled via Intune or any other way via script or GUI?

Vinod Survase 4,801 Reputation points
2023-09-14T17:53:13.9266667+00:00

How to get/export report of devices whether each device remote access is disabled or enabled via Intune or any other way via script or GUI?

Microsoft Security | Intune | Security
Microsoft Security | Intune | Configuration
Microsoft Security | Intune | Application management
Microsoft Security | Intune | Updates
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Crystal-MSFT 54,191 Reputation points Microsoft External Staff
    2023-09-15T02:19:25.0066667+00:00

    @Vinod Survase, Thanks for posting in Q&A. Based on my checking, I didn't find the report in Intune to get the device remote access status.

    But after researching, I find we can check the status via the registry key fDenyTSConnections under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server. If value is 0 means RDP is enabled. If value is 1, it means RDP is disabled.

    (Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections).fDenyTSConnections

    User's image

    You can use the above command to confirm the RDP status.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

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