Rewrite modules (untested)
This commit is contained in:
parent
b3d3ee6403
commit
eba57e6c8a
53 changed files with 1288 additions and 394 deletions
68
modules.d/GPO_Location.conf
Normal file
68
modules.d/GPO_Location.conf
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Reference in a new issue