68 lines
2.6 KiB
Text
68 lines
2.6 KiB
Text
{
|
|
"name" : "Location ans sensors (GPO)",
|
|
"description" : "This module desactivate Location access for third party Apps like GPO does.",
|
|
"actions" :
|
|
[
|
|
{
|
|
"_comment" : "This is the principal reg key controlled by GPO",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
|
|
"key" : "LetAppsAccessLocation",
|
|
"value" : "2"
|
|
},
|
|
{
|
|
"_comment" : "The 3 bottom keys seems to be some kind of ACL for App right",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
|
|
"key" : "LetAppsAccessLocation_UserInControlOfTheseApps",
|
|
"type" : "MultiString"
|
|
},
|
|
{
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
|
|
"key" : "LetAppsAccessLocation_ForceAllowTheseApps",
|
|
"type" : "MultiString"
|
|
},
|
|
{
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
|
|
"key" : "LetAppsAccessLocation_ForceDenyTheseApps",
|
|
"type" : "MultiString"
|
|
},
|
|
{
|
|
"_comment" : "Disable hardware location sensors",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
|
"key" : "DisableLocation",
|
|
"value" : "1"
|
|
},
|
|
{
|
|
"_comment" : "Disable location sensor",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
|
"key" : "DisableLocation",
|
|
"value" : "1"
|
|
},
|
|
{
|
|
"_comment" : "Disable Windows location service provider",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
|
"key" : "DisableWindowsLocationProvider",
|
|
"value" : "1"
|
|
},
|
|
{
|
|
"_comment" : "Disable location scripting",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
|
"key" : "DisableLocationScripting",
|
|
"value" : "1"
|
|
},
|
|
{
|
|
"_comment" : "Disable sensors (rotation will be disable in tablet PC)",
|
|
"action" : "AddRegKey",
|
|
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
|
"key" : "DisableSensors",
|
|
"value" : "1"
|
|
}
|
|
]
|
|
}
|