zihnibabuz / win10_simplifier

Windows 10 Simplifier - A script for automating simplifications and maintenance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows 10 Simplifier Script

To Download:

Download from github using the green 'Clone or Download' button. Save the resultant zip file and extract the zip to a folder.

Purpose:

This is a set of settings changes and tweaks I regularly apply on new Windows 10 machines, primarily to reduce the amount of 'noise' the user has to deal with. Many of my clients are elderly, and small things irk them. With this in mind, there are a number of annoying Windows 10 features disabled, some silly default settings corrected, and visual effects are turned off (only those which slow the responsiveness of windows, and are unnecessary). Other than that, some useful scripts and programs external to this script will be run automatically if they're placed in the same folder.

Almost all of the settings can be changed back manually in 'Settings' or the Control Panel (the real "settings"). In addition, all settings are backed up in registry files prior to execution and will be restored if the user runs the 'unsimplifier' .bat. However those registry files are written to the same folder, so will be overwritten if you use the script, for example, on more than one computer from an external drive.

This script does not aim to be suitable for all people - so if there's a setting you dislike, edit the registry file, powershell file, or .bat file. Most settings are in the registry file, and all are clearly labeled.

To Run:

Right-click on __Win10_simplifier.bat and then left-click on "Run as Administrator". Follow the prompts. Once the script is complete, you will need to restart the computer to see some of the changes (eg. visual effect changes).

Alternatively, run __Win10_simplifier.bat from the command line with either "-all" or "-none" (without quotes) to respectively enable or disable all options (and avoid prompts). More command line options are available at bottom of page. You can use nircmd (http://www.nirsoft.net/utils/nircmd.html) to elevate this script to 'Run As Administrator' from the command prompt.

To revert changes, right-click on __Win10_unsimplifier.bat and then left-click on "Run as Administrator". The registry settings will be restored. Any changes made by external scripts or programs may or may not be reverted. You will be prompted to restart the computer.

This script disables:

  • game mode notifications
  • people and task view buttons on taskbar
  • zip/cab folders (if 7z installer present, see below)
  • auto-hide scrollbars
  • search button/tool on taskbar
  • quick access folders in explorer
  • duplicate instances of external/USB drives visible in explorer
  • the ability for windows to change the sound scheme when changing themes
  • login/lock screen screen photos
  • lock screen
  • combining of taskbar buttons
  • transparency of windows and taskbar
  • windows startup sound
  • windows sounds (sound scheme is set to 'No Sounds', sound scheme tab is removed)
  • remote assistance (does not affect apps like teamviewer)
  • Window animation
  • Taskbar animations
  • Control/element animation
  • Fade or slide UI elements into view
  • Fade in/out UI objects
  • Smooth-scroll list boxes
  • Sliding comboboxes
  • Background picture on login screen
  • Notifications on lock screen
  • Reminders on lock screen
  • "Tips, tricks and suggestions" after you receive updates
  • The windows 10 "welcome experience" after large updates
  • notification center and background apps (OPTIONAL)
  • windows defender and security center (OPTIONAL - note this will also disable the security center in Settings)
  • fast boot (to allow updates to be processed on shutdown rather than forcing restarts) (OPTIONAL)
  • hibernation and removes the hibernation file (OPTIONAL)
  • hiding of system tray icons (OPTIONAL)
  • automatically changing of Explorer folder layouts based on folder contents eg. mp3s (OPTIONAL)
  • Application Experience (required for some older apps, disabling may speed up program launches) (OPTIONAL)
  • Autoplay/autorun on all drives (OPTIONAL)
  • User Account Control (that annoying warning that pops up every time you try to launch a program) (OPTIONAL)

Other changes this script makes (for all versions of Windows 10):

  • Tells windows update to automatically download updates but notify for installation
  • Quality updates are deferred by 1 month
  • Feature updates are deferred by 1 year
  • Update-Ring level changed to "Semi-Annual Channel" (non-beta-tester "professional" branch) - (1803 and 1809 only)
  • Sets power scheme to 'Balanced'
  • Changes power timeouts for screen off to 15min when plugged in (or a desktop), or 5min when not plugged in
  • Changes power timeouts for sleep to Never when plugged in (or a desktop), or 15min when not plugged in
  • Tells windows to shutdown when the power button is pressed, instead of sleep (regardless of whether it's plugged in or a laptop)
  • Tells windows to do nothing when the lid of a laptop is closed, if it's plugged in (and to sleep if it's not)
  • Win7's Windows photo viewer is enabled as an option for viewing photos and pictures
  • Enables accent colors on title bars, but not taskbars
  • Sets the Explorer ribbon to be shown by default
  • Changes desktop background to a solid color - plum color by default (OPTIONAL)
  • Reboots once script has finished (OPTIONAL)
  • Checks disk for filesystem errors and bad sectors on the next reboot (OPTIONAL)
  • Clears pinned apps from taskbar (OPTIONAL)

Other scripts/executables this script will run, if present in the same folder:

  • Coretemp (https://www.alcpu.com/CoreTemp/) to check for CPU overheating. For compatibility across computers I recommend getting the 32-bit portable version
  • HDDScan (http://hddscan.com/) to check hard drive health
  • Stop Resetting My Apps (https://www.carifred.com/stop_resetting_my_apps/) to prevent windows updates from resetting default apps to Microsoft's preference.
  • Ccleaner portable by Piriform (https://www.ccleaner.com/ccleaner/builds) on automatic settings (ie. whatever settings you last used with ccleaner portable) will run in the background while the rest of the tasks complete, if extracted to the same folder as Win10-simplifier. If 64-bit win10 is detected it will run the 64-bit version, so include both executables.
  • PC Decrapifier 2.3.1 (for easy uninstallation of programs)
  • Autoruns by Sysinternals (for easy disabling of startup processes). If 64-bit win10 is detected it will run the 64-bit version, so include both executables.
  • 7zip (https://www.7-zip.org/) will be installed silently and zip/cab folders disabled if installers are placed in folder. Please rename 32-bit version of 7z installer '7z.exe' and 64-bit version '7z-x64.exe'. If 64-bit win10 is detected it will install the 64-bit version, so include both executables.
  • Windows 10 Debloater by Sycnex (https://github.com/Sycnex/Windows10Debloater) with the following options enabled: -SysPrep -Privacy -Debloat (this will also disable cortana)
  • Windows 10 Black Viper Services Tweaks script by Madbomb122 (https://github.com/madbomb122/BlackViperScript/releases) - Safe values Only
  • ShutUp10 by O&O (https://www.oo-software.com/en/shutup10/) - user must have exported their desired settings to "ooshutup10.cfg" and both this file and ShutUp10 must be in the same folder as Win10-simplifier. Note that settings will differ between home and pro versions of Win10.
  • MyDefrag by J.C. Kessels (https://www.majorgeeks.com/files/details/mydefrag.html) - will (optionally - do not use on an SSD) run 'Monthly' defrag script on C: if it and it's "Scripts" folder are in the same folder as Win10-simplifier. Be aware there is a 64-bit and 32-bit version of mydefrag - it's installer will install the relevant one based on your computer. Use the 32-bit .exe for broader compatibility.
  • Speedyfox by Crystal Idea (https://www.crystalidea.com/speedyfox) - will automatically defrag/compact the database files for opera, firefox, chrome, skype, thunderbird
  • Openshell by Ivo Beltchev (https://github.com/Open-Shell/Open-Shell-Menu) will be installed silently if the installer is in the same folder and renamed to OpenShellSetup.exe. Only the openshell start menu will be installed. Openshell restarts the explorer.exe process, which also kills the cmd window, thus why this installer is run at the Very end of the script.

Additional Command Line Options:

The following can be used to run the script without prompts:

  • -all - enables all options
  • -none - disables all options

If either of the above are specified, the rest of the command line options will be ignored. If any other command line options below are specified, it is assumed that any unspecified options are 'off' (same as '-none' above). The individual command line options are:

  • -defrag - enables defrag using mydefrag with a monthly script at end of all scripts
  • -disablenotifications - disables notifications center and prevents background apps from running
  • -disablehibernation - disables hibernation/fast boot
  • -disabledefender - disables Windows Defender and Security Center
  • -reboot - reboot computer once script is finished. Will only occur if mydefrag is not run.
  • -solidcolordesktop - changes windows desktop background to a solid color
  • -chkdsk - check system disk for filesystem errors and bad sectors on next reboot
  • -showtrayitems - disable hiding of system tray icons
  • -disablefoldertemplates - stop windows from changing explorer folder layouts based on folder contents
  • -disableae - disable Application Experience (this service is required for some older apps)
  • -clearpinnedapps - clears all currently-pinned apps from the taskbar
  • -disableuac - disables User Account Control

The -reboot and -defrag options are mutually exclusive. Specifically, if -defrag is specified, -reboot will be disabled.

Current bugs:

Not a bug for my script, but currently the 'safe' setting of madbomb's blackviper services script turns off wifi on desktop machines. To work around this, set WlanSvc service to automatic and start it, then set the icssvc service to manual. Feel free to complain at the author.

Additional Notes:

This script has been tested on Windows 10 1909, 1903, 1809 and 1803, but not 1709 or lower. I have not included any scripts to check for updates because from 1803 to 1809 Windows 10 puts the user into a beta-tester role if they click on 'Check for Updates' manually, and there is no good information about how to bypass or disable this. Good job Microsoft! You Really know what you're Doing!!! Really!!!! Top marks

https://www.howtogeek.com/fyi/watch-out-clicking-check-for-updates-still-installs-unstable-updates-on-windows-10/

I originally automated disk cleanup, but it was not possible to reliably get it to clean up Update storage between win10 versions. Also the disk cleanup tool is being deprecated in future win10 vers. But you can always run disk cleanup manually later at your leisure once updates have completed. Background apps are only turned off if the notification center is disabled, as the notification center will not function if background apps are disabled as of 1809. However if you don't want to disable notifications, you can still go into settings and disable individual background apps.

This script is under a Creative Commons Attribution 3.0 New Zealand License (https://creativecommons.org/licenses/by/3.0/nz/)

Thanks go out to the multudinous sources of the registry hacks and powershell scripts, ranging from Stackoverflow to Winaero to tenforums. Thanks to microsoft for making 2020 the year of the linux desktop.

Matt Bentley 2020

About

Windows 10 Simplifier - A script for automating simplifications and maintenance

License:Other


Languages

Language:Batchfile 95.3%Language:PowerShell 4.7%