title: How do you un-provision a device in order to set the Device Owner?
body: <p>'m trying to set up Device Owner using the sample apps downloadable from developer.android.com</p>
  
  <p><a href="https://developer.android.com/samples/NfcProvisioning/index.html" rel="nofollow">https://developer.android.com/samples/NfcProvisioning/index.html</a>
  <a href="https://developer.android.com/samples/DeviceOwner/index.html" rel="nofollow">https://developer.android.com/samples/DeviceOwner/index.html</a></p>
  
  <p>But when I NFC tap the devices in the logcat for the device I am trying to set the Device Owner for I see this:</p>
  
  <pre><code>/? E/ManagedProvisioning﹕ Device already provisioned.
  </code></pre>
  
  <p>However I am doing a factory reset just before attempting the provisioning, so how can I get the device into an unprovisioned state?</p>