From 5ab621e64c030d9e7ba85e4a530f40c52bf98fcb Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 18 Oct 2016 12:14:53 +0200 Subject: [PATCH] Remove and uncomment some stuff --- cleanW10.ps1 | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/cleanW10.ps1 b/cleanW10.ps1 index 7af648b..96d98fe 100644 --- a/cleanW10.ps1 +++ b/cleanW10.ps1 @@ -162,9 +162,9 @@ Write-Output "I's time to kick ass and chew bubble gum" Write-Output "________________________________________" write-Output "" -#$shittyFeatures | foreach { disableShitty $_ } -#$shittyServices | Foreach { disableShittyService $_ } -#$shittyModernApp | Foreach { disableModernShitty $_ } +$shittyFeatures | foreach { disableShitty $_ } +$shittyServices | Foreach { disableShittyService $_ } +$shittyModernApp | Foreach { disableModernShitty $_ } $shittyHosts | Foreach { blockShittyHost $HOST_FILE $HOST_IP $_ } remove_shittyTasks $shittyTasks @@ -190,8 +190,4 @@ modifyShittyRegValue "HKLM:\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\feature modifyShittyRegValue "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" "SpynetReporting" "0" "Dword" # Windows Defender Sample Submission -modifyShittyRegValue "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" "SubmitSamplesConsent" "2" "Dword" - -#Désinstallation des applications "métro" inutiles -#Get-AppxPackage -AllUsers | Remove-AppxPackage -#Get-AppXProvisionedPackage -online | remove-appxprovisionedpackage -online +modifyShittyRegValue "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" "SubmitSamplesConsent" "2" "Dword" \ No newline at end of file