title: Delete Windows Driver Device Class in Registry
body: <p>I have a .INF with a security descriptor HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)".</p>
  
  <p>I changed this security descriptor to remove admin rights. So that any user can open the application. The descriptor I used is "D:P(A;;GA;;;WD)(A;;GA;;;BU)(A;;GA;;;S-1-1-0)"
  I uninstalled the driver in Device Manager and reinstalled the modified .INF file. However, it doesn't work unless I change the device "class" and "ClassGUID" in the INF file.</p>
  
  <p>I think previously installed security descriptor is not deleted even though I deleted the driver from device manager. I also used devcon to delete the driver. But it didn't delete the device class.</p>
  
  <p>Only way I can make it work is to modify "Class" and "ClassGUID" of the existing .INF file. </p>
  
  <p>How can I remove the device class of the previously installed driver in windows?
  I am using Windows 7. </p>