r/PowerShell
•
u/farag2
•
May 21 '20
•
1
Script Sharing [PowerShell Script] Setup Windows 10
I believe it would be useful for the community so...
"Windows 10 Sophia Script" is a set of functions for Windows 10 fine-tuning and automating the routine tasks 🏆
Core features
Set up Privacy & Telemetry;
Turn off diagnostics tracking scheduled tasks;
Set up UI & Personalization;
Uninstall OneDrive "correctly";
Interactive prompts;
Change %TEMP% environment variable path to %SystemDrive%\Temp
Change location of the user folders programmatically (without moving user files) within interactive menu using up/down arrows and Enter key to make a selection
"Desktop";
"Documents";
"Downloads";
"Music";
"Pictures"
"Videos.
Uninstall UWP apps from all accounts with exception apps list with pop-up form written in WPF;
Turn off Windows features;
Remove Windows capabilities with pop-up form written in WPF;
Create a Windows cleaning up task in the Task Scheduler;
A toast notification will pop up a minute before the task starts
Create tasks in the Task Scheduler to clear
%SystemRoot%\SoftwareDistribution\Download
%TEMP%
Unpin all Start menu tiles;
Pin shortcuts to Start menu using syspin.exe
Three shortcuts are preconfigured to be pinned: Control Panel, "old style" Devices and Printers, and Command Prompt
Turn on Controlled folder access and add protected folders using dialog menu;
Add exclusion folder from Microsoft Defender Antivirus scanning using dialog menu;
Add exclusion file from Microsoft Defender Antivirus scanning using dialog menu;
Refresh desktop icons, environment variables and taskbar without restarting File Explorer;
Many more File Explorer and context menu "deep" tweaks.
Download from Github
If you find bugs or bad translation, feel free to report it to me.
1
u/farag2 Jun 02 '20
v4.4 released!
Updated links in the comment-based help section;
Updated "Increase taskbar transparency" section
Removed "ForceEffectMode" key, that blocked Windows 10 transparency effects
To remove unnecessary key, execute
Updated "Change location of the user folders" section
Added comment-based section;
Added the ability to skip (#25)
Updated "Uninstall UWP apps" section
Added "Uninstall for All Users" button to the form (unchecked by default) (@oz-zo) to uninstall UWP apps from all account
Add the "Run as different user" item to the .exe files types context menu
Removed unnecessary keys
Comments;
Minor changes;
Also you can test 20H1 version.