Rewrite modules (untested)

This commit is contained in:
Yorick Barbanneau 2018-03-25 16:15:10 +02:00
parent b3d3ee6403
commit eba57e6c8a
53 changed files with 1288 additions and 394 deletions

View file

@ -0,0 +1,68 @@
{
"Name" : "Location (GPO)",
"Description" : "This module desactivate Location access for third party Apps like GPO did.",
"actions" :
[
{
"_comment" : "This is the principal reg key controlled by GPO",
"action" : "AddRegKey",
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
"key" : "LetAppsAccessLocation",
"value" : "0"
},
{
"_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",
"value" : "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"
}
]
}