Skip to content

Debloat and Optimization Script for machines running Windows 10

Notifications You must be signed in to change notification settings

juliofts/DNXDOScript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DNXDOScript image

Debloat and Optimization Script for machines running Windows 10

Download package DNXDOScript.zip

This Script help to gain performance on your system, in two main ways:

  • First one, debloat windows. For this, i based on the W4RH4WK work on their project https://github.com/W4RH4WK/Debloat-Windows-10
  • Second, i included many tweaks for improve performance on windows, focused on setup a gaming pc, or trying to get usable old machines such tablets, netbooks, old pcs, etc, that don´t have so much resources but can install windows 10.

As extra, there are some Utils included with the package that may be interesting for users to run on their system

This script will modify your windows 10 installation

image

How it works?

The main script will scan two main folders, looking for files (subscripts) that will execute.

These files can be .cmd, .bat, .reg, .ps1, etc, anything that can be launched from the main script (cmd)

There are two main folders:

  • Scripts: This contain all scripts that will be launched by the main script
  • Utils: This contain extra scripts considered as Util/Tool, because will not impact directly on the performance and most of them are accessory to the installation.

Inside each main folder, there are two subfolders

  • Enabled: Scripts that will be executed are included on this folder
  • Disabled: If you don´t want to run some script, instead of editing or deleting, move it from Enabled folder to this one. The main script will not execute any of the scripts on this folder.

Run modes

The script can be executed in two modes:

image

  • Safe: This mode is less invasive, because will not in-deep modify the system. This will not gain the same level of performance than Normal mode.
  • Normal: This will run all enabled scripts and utils. This will in-deep modify the system and cannot be undone.

The main script determine if a script is safe or not, simply checking if the file is named ".safe." example: Set SystemResponsiveness for Gaming.Safe.cmd This script will be considered safe, because their filename ends in ".Safe.", this case, ".Safe.cmd"

If you consider some script is safe to run on your system, simply add ".Safe" before the extension.

Main Screen Execution

The main screen of the Script will show the subscripts launched, and a little info about the kind of subscript (the first letter of the extension, to know if a Reg file, Cmd, Bat, Ps1, etc correspond to this script)

image

The "OK" text simply indicate that the script finalized. This will not be consider info about the result of the SubScript itself. The "." indicate that the subscript is not a file. Is part of the main script.

Window mode for SubScripts

The script will ask for window mode for running SubScripts. The modes can be:

image

  • Normal: Windows will open as normal, showing all the content of the SubScript excecution.
  • Min: Windows will open minimized, and you only will see the general script page.

image This case the subscripts are running in minimized mode.

image This case the subscripts are running in normal mode.

Note: On some windows subscripts may appear some errors/red text/etc. Don't worry, this is normal.

Note about Microsoft Store SubScript

This script will install Microsoft Store and related software on the system, and is based on the script "LTSC-Add-MicrosoftStore" by kkkgo. https://github.com/kkkgo/LTSC-Add-MicrosoftStore

My script simply download their package (https://github.com/lixuy/LTSC-Add-MicrosoftStore/archive/2019.zip) from their repository, unpack and copy on the main_script_folder\Extras, and process it (modify kkkgo script for remove pauses, and run it)

image

Take note that first time you run this script, most probablyl will need to download the file, so this may take few minutes because the tool for download from command line, maybe not fast as internet browser.

If the download fails, simply download the file and unpack on the following path: DNXDOScript_path\Extras\MicrosoftStore\

Windows Start Menu Entry

The script adds a new Windows Start Menu entry, for launch again the script when you want.

image

New feature: create restore point

Now, before running all the scripts, there is an option to create a restore point of the system The script will enable the service for creating and managing restore points, and then will create a restorepoint with the default settings.

Thanks to TuberViejuner for this suggestion.

Note about virtual memory

This script set the virtual memory of the device based on the installed RAM. Thinking on low powered devices, where usually don´t have so much RAM installed, is not the best to set a big ammount of virtual memory, because the system may get a downgrade in terms of performance (more virtual memory on low storage, then become the system slow and unresponsive), for this reason the script try to set a reasonable ammount of virtual memory depending on the RAM installed.

There are some software or games that can´t run with low ram resources, such Yuzu, that need near to 4 or 5GB of virtual memory to run. If the case, then set manually the virual memory on the system, to allow these programs to run.

Hope you found useful this script.

Deen0X

About

Debloat and Optimization Script for machines running Windows 10

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Batchfile 54.6%
  • PowerShell 45.4%