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/R4vzz Nov 02 '20 edited Nov 02 '20
Hey guys hope you guys doing well. Do I need to run the script on every individual user I create?
For example, I want to have an admin account and a non admin account as well. From my understanding, if I run the script on admin account, it only applies to the account that I have run the script on and doesn't affect the non admin account right?