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

33
modules.d/GPO_Motion.conf Normal file
View file

@ -0,0 +1,33 @@
{
"Name" : "Motion Sensor (GPO)",
"Description" : "This module desactivate Motion sensor 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" : "LetAppsAccessMotion",
"value" : "0"
},
{
"_comment" : "The 3 bottom k eys seems to be some kind of ACL for App right",
"action" : "AddRegKey",
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
"key" : "LetAppsAccessMotion_UserInControlOfTheseApps",
"type" : "MultiString"
},
{
"action" : "AddRegKey",
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
"key" : "LetAppsAccessMotion_ForceAllowTheseApps",
"type" : "MultiString"
},
{
"action" : "AddRegKey",
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppPrivacy",
"key" : "LetAppsAccessMotion_ForceDenyTheseApps",
"value" : "MultiString"
}
]
}