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,716 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 Intune Security
Microsoft Intune Security
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
370 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,783 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
908 questions
Microsoft Intune Updates
Microsoft Intune Updates
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
90 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,657 questions
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 45,571 Reputation points Microsoft Vendor
    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