PowerShell scripts for Windows 10:
./scripts/Windows10_Privacy.ps1:
- Disable telemetry settings and stop sending data to Microsoft
- Disable various scheduled tasks
- Configure update delivery optimization
- Disable OneDrive for file sync
- Script checks the required execution level
- Complete rollback is possible
- More Information: https://blog.doenselmann.com/windows-10-datenschutz-mit-powershell-erhoehen/
./scripts/Windows10_Cleanup.ps1:
- Cleanup Microsoft Temp Data
- Options are configurable within the script
- Script checks the required execution level
- More Information: https://blog.doenselmann.com/windows-10-mit-powershell-aufraeumen/
Enable privacy protection:
powershell.exe -ExecutionPolicy Bypass "& '.\Windows10_Privacy.ps1 ' -enable:$true"
Disable privacy protection:
powershell.exe -ExecutionPolicy Bypass "& '.\Windows10_Privacy.ps1 ' -enable:$false"
powershell.exe -NoProfile -ExecutionPolicy Bypass "& '.\Windows10_Cleanup.ps1'"
Alternatively execute the batch File "Windows10_Cleanup.cmd" by doubleclick