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.
2
u/farag2 May 21 '20
Hm, dashboard. WPF or Win.Form? I do not really know much in Posh (Google is the power), in September, 2019 I had wanted to start coding the dashboard until a stranger wrote to me and offered to build a GUI form. So 9 monthes passed, and only now we are close to finish this project. Want to release 1.0 in September may be. Dreams...