<!--
{
  "availability" : [
    "macOS: 10.14.4 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/Disable-Remote-Desktop-Command",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rest:put:mdm#DisableRemoteDesktopCommand"
  },
  "title" : "Disable Remote Desktop"
}
-->

# Disable Remote Desktop

Disable Remote Desktop on a device.

## Discussion

This command disables Remote Desktop on the device, and prevents any further remote event processing. It removes any `PostEvent` Transparency Consent and Control (TCC) ability, unless the device already has an installed TCC configuration profile with that ability enabled.

Refer to the following sections to determine supported channels and requirements, and to see an example request and response.

### Command availability

|||
|--------------------------|-----|
|Device channel            |macOS|
|User channel              |N/A  |
|Requires supervision      |macOS|
|Allowed in user enrollment|N/A  |
|Required access right     |N/A  |

### Example request and response

**Request:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Command</key>
    <dict>
        <key>RequestType</key>
        <string>DisableRemoteDesktop</string>
    </dict>
    <key>CommandUUID</key>
    <string>0001_DisableRemoteDesktop</string>
</dict>
</plist>
```

**Response:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CommandUUID</key>
    <string>0001_DisableRemoteDesktop</string>
    <key>Status</key>
    <string>Acknowledged</string>
    <key>UDID</key>
    <string>E84CD517-CB37-52F7-988C-DB5137B604B8</string>
</dict>
</plist>
```

## Topics

### Commands and responses

[`DisableRemoteDesktopCommand`](/documentation/DeviceManagement/DisableRemoteDesktopCommand)

The command to disable Remote Desktop on a device.

[`DisableRemoteDesktopResponse`](/documentation/DeviceManagement/DisableRemoteDesktopResponse)

A response from the device after it processes the command to disable Remote Desktop on a device.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)