Loading...
Portfolio
AutoWinScripts April 26, 2024

Automated Setup and Debloat Script

A personal automated group of powershell scripts to download and install packages, disable services and debloat a new Windows 11 installation.

Description

I wanted a small, minimal set of scripts to setup a new Windows 11 installation that is 'hands free'. The purpose is to enable a few features and tweaks, download and install the latest software using Chocolatey as well the capability to update them in as quickly as possible with little to no input from the user. There are two templates to choose from, Minimal & Default. I listed a few authors' work below that I viewed to learn so all rights goes to them. Please note if you are going to use this script, I don't take any responsibility if something breaks and you are prepared to use this at your own risk! It is always good practice to view the source, to better understand what the script does. More notes and descriptions will be added in due time. More details about AutoWinScript can be viewed here.

Features

  • Enable Remote Desktop automatically.
  • Download, install and update Chocolatey along with packages defined from a config file.
  • Disable or changes the start type for services defined from a config file.
  • Enable options such as 'Show File Extensions' among others automatically as well as disabling telemetry from a config file.
  • Set the Windows Update feature to download updates after a year and security updates after 4 days from release.
  • Remove bloatware apps including Edge

Getting Started

Installation

  • Simply open PowerShell as Administrator and run the following commands
  • Set-ExecutionPolicy RemoteSigned
    $ScriptFromGitHub = Invoke-WebRequest https://raw.githubusercontent.com/michaelkeates/AutoWinScripts/main/run.ps1
    Invoke-Expression $($ScriptFromGitHub.Content)

Mentions

Author



Profile image

Michael Keates

I am a dedicated, hardworking individual with a robust background in all things related to computing and technology. Diligent, enthusiastic, and a team player, I possess a passion for learning and developing new skills, a strong attention to detail, and excellent verbal and written communication abilities. I am reliable and constantly seeking new challenges to broaden my knowledge and experience, while also enhancing my capacity to develop efficient and effective solutions for diverse requirements.

© 2025 Michael Keates. All Rights Reserved.