Commit this day work
This commit is contained in:
parent
f897ca973c
commit
b221e5db4d
13 changed files with 370 additions and 60 deletions
4
modules.d/DisableFeatures/features.txt
Normal file
4
modules.d/DisableFeatures/features.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Internet-Explorer-Optional-amd64
|
||||
FaxServicesClientPackage
|
||||
WindowsMediaPlayer
|
||||
MediaPlayback
|
28
modules.d/DisableGeolocation.conf
Normal file
28
modules.d/DisableGeolocation.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name" : "Disable Geolocation",
|
||||
"description" : "Disable GeoLocation",
|
||||
"actions" : [
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
||||
"key" : "DisableLocation",
|
||||
"value" : "1",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
||||
"key" : "DisableLocationScripting",
|
||||
"value" : "1",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\LocationAndSensors",
|
||||
"key" : "DisableWindowsLocationProvider",
|
||||
"value" : "1",
|
||||
"type" : ""
|
||||
}
|
||||
]
|
||||
|
||||
}
|
4
modules.d/DisableServices/features.txt
Normal file
4
modules.d/DisableServices/features.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Internet-Explorer-Optional-amd64
|
||||
FaxServicesClientPackage
|
||||
WindowsMediaPlayer
|
||||
MediaPlayback
|
17
modules.d/DisableServices/services.txt
Normal file
17
modules.d/DisableServices/services.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
diagnosticshub.standardcollector.service
|
||||
DiagTrack
|
||||
dmwappushservice
|
||||
HomeGroupListener
|
||||
HomeGroupProvider
|
||||
lfsvc
|
||||
MapsBroker
|
||||
NetTcpPortSharing
|
||||
RemoteAccess
|
||||
RemoteRegistry
|
||||
SharedAccess
|
||||
TrkWks
|
||||
WbioSrvc
|
||||
WMPNetworkSvc
|
||||
XblAuthManager
|
||||
XblGameSave
|
||||
XboxNetApiSvc
|
22
modules.d/DisableSmartScreen.conf
Normal file
22
modules.d/DisableSmartScreen.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name" : "Disable Smartscreen",
|
||||
"description" : "Disable Smartscreen protection for Edge / IE",
|
||||
"actions" : [
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\AppHost",
|
||||
"key" : "EnableWebContentEvaluation",
|
||||
"value" : "0",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"_comment" : "EXPERIMENTAL Disable Smartscreen for new created Users",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKU:\\Default\\Microsoft\\Windows\\CurrentVersion\\AppHost",
|
||||
"key" : "EnableWebContentEvaluation",
|
||||
"value" : "0",
|
||||
"type" : ""
|
||||
}
|
||||
]
|
||||
|
||||
}
|
83
modules.d/UninstallOnedrive.conf
Normal file
83
modules.d/UninstallOnedrive.conf
Normal file
|
@ -0,0 +1,83 @@
|
|||
{
|
||||
"name" : "Uninstall One Drive",
|
||||
"description" : "This module Uninstall Onedrive",
|
||||
"actions" : [
|
||||
{
|
||||
"action" : "KillProcess",
|
||||
"name" : "onedrive"
|
||||
},
|
||||
{
|
||||
"action" : "KillProcess",
|
||||
"name" : "git"
|
||||
},
|
||||
{
|
||||
"_comment" : "OneDrive Uninstaller x64 version",
|
||||
"action" : "ExecCommand",
|
||||
"path" : "$env:systemroot\\SysWOW64\\OneDriveSetup.exe",
|
||||
"arguments" : "/uninstall"
|
||||
},
|
||||
{
|
||||
"_comment" : "OneDrive Uninstaller x86 version",
|
||||
"action" : "ExecCommand",
|
||||
"path" : "$env:systemroot\\System32\\OneDriveSetup.exe",
|
||||
"arguments" : "/uninstall"
|
||||
},
|
||||
{
|
||||
"action" : "DelFile",
|
||||
"path" : "$env:localappdata\\Microsoft\\OneDrive",
|
||||
"recurse" : "True"
|
||||
},
|
||||
{
|
||||
"action" : "DelFile",
|
||||
"path" : "$env:programdata\\Microsoft OneDrive",
|
||||
"recurse" : "True"
|
||||
},
|
||||
{
|
||||
"action" : "DelFile",
|
||||
"path" : "$env:systemdrive\\OneDriveTemp",
|
||||
"recurse" : "True"
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"value" : "1",
|
||||
"key" : "DisableFileSyncNGSC",
|
||||
"path" : "HKLM:\\Software\\Policies\\Microsoft\\Windows\\OneDrive",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"value" : "1",
|
||||
"key" : "DisableFileSync",
|
||||
"path" : "HKLM:\\Software\\Policies\\Microsoft\\Windows\\OneDrive",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"value" : "0300000021B9DEB396D7D001",
|
||||
"key" : "OneDrive",
|
||||
"path" : "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\StartupApproved\\Run",
|
||||
"type" : "Binary"
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"value" : "0",
|
||||
"key" : "System.IsPinnedToNameSpaceTree",
|
||||
"path" : "HKCR:\\Wow6432Node\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"action" : "AddRegKey",
|
||||
"value" : "0",
|
||||
"key" : "System.IsPinnedToNameSpaceTree",
|
||||
"path" : "HKCR:\\CLSID\\{018D5C66-4533-4307-9B53-224DE2ED1FE6}",
|
||||
"type" : ""
|
||||
},
|
||||
{
|
||||
"_comment" : "Prevent Onedrive installation for new created user",
|
||||
"action" : "DelRegKey",
|
||||
"key" : "OneDriveSetup",
|
||||
"path" : "HKU:\\Default\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
11
modules.d/disable/DisableFeatures.conf
Normal file
11
modules.d/disable/DisableFeatures.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name" : "Disable Features",
|
||||
"description" : "This module disable some useless Windows Features",
|
||||
"actions" : [
|
||||
{
|
||||
"action" : "DisableFeature",
|
||||
"file" : "features.txt",
|
||||
"name" : ""
|
||||
}
|
||||
]
|
||||
}
|
11
modules.d/disable/DisableServices.conf
Normal file
11
modules.d/disable/DisableServices.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name" : "Disable Service",
|
||||
"description" : "This module delete services known to send data to Microsoft",
|
||||
"actions" : [
|
||||
{
|
||||
"action" : "DisableService",
|
||||
"file" : "services.txt",
|
||||
"name" : ""
|
||||
}
|
||||
]
|
||||
}
|
Reference in a new issue