none
Reset Location Setting in Windows 7 RRS feed

  • Question

  • Hi,

    I have enabled location sensor from my Windows 7 application using RequestPermissions API. Windows opened up the location control panel asking the user permission to enable sensor. 

    And once enabled, is there a way to reset the permissions. 

    barani.

    Monday, September 21, 2009 5:34 AM

Answers

  • Delete the registry key “HKEY_CURRENT_USER\Software\Microsoft\Sensors\Enable Dialog” and its sub-keys. The enable dialog will show again.

    Tuesday, September 22, 2009 4:24 PM
  • Yes. If the customer goes to Start->Control Panel->Hardware and Sound->Location and Other Sensors (or just types "location" into the Start menu), they will see a list of enabled sensors and can disable them.
    Monday, September 21, 2009 4:41 PM

All replies

  • Yes. If the customer goes to Start->Control Panel->Hardware and Sound->Location and Other Sensors (or just types "location" into the Start menu), they will see a list of enabled sensors and can disable them.
    Monday, September 21, 2009 4:41 PM
  • Delete the registry key “HKEY_CURRENT_USER\Software\Microsoft\Sensors\Enable Dialog” and its sub-keys. The enable dialog will show again.

    Tuesday, September 22, 2009 4:24 PM
  • Thanks that worked.
    Wednesday, September 23, 2009 6:12 AM