用于擦除OS X设备的MDM有效负载

时间:2013-09-03 22:17:29

标签: ios macos mdm

我正在寻找正确的有效负载来擦除通过MDM注册的OS X设备。此有效负载适用于iOS设备,MDM文档声明OS X设备也支持该负载:

> <?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>EraseDevice</string>
>         </dict>
>         <key>CommandUUID</key>
>         <string>2349d04b-d0ba-404b-afae-4863f85cbba6</string> 
>     </dict>
> </plist>

目前,如果我将此有效负载发送到OS X设备,我会在错误链中收到以下错误:

FindMyMac'EraseDevice'错误

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

为了锁定OS X设备,必须在有效负载中提供6位数的PIN。

<?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>EraseDevice</string>
               <key>PIN</key>
               <string>123456</string>
           </dict>
           <key>CommandUUID</key>
           <string>2349d04b-d0ba-404b-afae-4863f85cbba6</string> 
      </dict>
</plist>