DON'T Install WINDOWS Without Watching This FIRST!

Memory's Tech Tips
18 Jun 202411:11

Summary

TLDRThis video explains how to create a streamlined and de-bloated Windows installation using an answer file. By adding an answer file to a Windows ISO, you can customize various settings, remove bloatware, and enhance performance. The process involves downloading the official Windows ISO, creating the answer file with preferred settings, and integrating it into the installation media. The video demonstrates how this setup results in a cleaner, faster, and more privacy-focused Windows experience, saving time on every fresh install. Additionally, it provides resources and tips for further customization.

Takeaways

  • 😃 A clean Windows install using an official ISO can be customized to be free of pre-installed apps and have a lower process count.
  • 🔧 Microsoft allows the use of answer files to modify Windows settings during the setup process, enhancing customization and efficiency.
  • 🛠 Answer files are safe as they allow for transparent inspection of changes before they are applied to the Windows image.
  • 📚 No need to download custom ISOs from unofficial sources; answer files can be added to the official Windows ISOs.
  • 🏢 Answer files are an official Microsoft feature, commonly used for mass deployments in corporate environments.
  • 🌐 A website is mentioned to generate an unattended answer file with a variety of settings and tweaks available.
  • 🔄 The shared answer file automates tweaks from projects like Chris Titus Tech and Tiny 11, working for both Windows 10 and 11 Pro versions.
  • 🚫 The creator's goal is to provide an experience similar to LTSC without needing an LTSC license, and to improve the Windows 11 experience post-Windows 10 support.
  • ✂️ The answer file removes bloatware and customizes settings, requiring no additional scripts or programs post-installation.
  • 🛑 The file provided is a starting point and can be edited to include or exclude specific tweaks according to user preference.
  • 🔄 The UnattendedWinstall GitHub page offers the autounattend.xml file for download to be used with Windows installation media.
  • 🔧 Multiple methods are described to include the answer file with the Windows installation media, including using AnyBurn to create a custom ISO.
  • 💻 The script execution process is detailed, explaining the phases where different settings and tweaks are applied.
  • 🛡️ The final installation provides a customized Windows experience with many default settings disabled, offering a blank canvas for users to personalize.
  • 🖥️ For users uncomfortable with the extensive customization, the script leaves the option to manually add back features or use the provided utility for Internet access and further setup.

Q & A

  • What is the main purpose of using answer files or unattended files in Windows installation?

    -The main purpose is to modify various Windows settings during the setup process to create a streamlined, customized, and bloat-free Windows installation.

  • How do answer files benefit users compared to stock Windows installations?

    -Answer files can remove pre-installed bloatware, disable unnecessary features, and optimize system performance, making Windows faster and more responsive.

  • What tools can be used to create Windows installation media with answer files?

    -Tools like Rufus and AnyBurn can be used to create Windows installation media with answer files.

  • Why is it preferable to use official Windows ISO files from Microsoft with answer files?

    -Using official ISO files ensures the installation is safe, secure, and free from potential malware that might come with unofficial sources.

  • What is the role of the 'specialized phase' during the Windows setup process?

    -The specialized phase is where most of the customizations and tweaks defined in the answer file are applied, such as de-bloating Windows and running specific PowerShell scripts.

  • Can users customize the provided answer file to suit their own preferences?

    -Yes, users can edit the answer file to remove unwanted tweaks or add new customizations according to their needs.

  • What should users do if they face difficulties editing the answer file?

    -Users can use a code editor with AI capabilities, such as Cursor, to assist in editing the answer file by providing suggestions and highlighting relevant entries.

  • What is the recommended method to include the answer file in the Windows installation media?

    -The answer file can be included by copying it to the root of a bootable USB drive created with tools like the media creation tool from Microsoft or Rufus.

  • What steps should users follow to install Windows using a custom ISO file with the answer file embedded?

    -Users need to download a Windows ISO file, edit it with AnyBurn to include the answer file, create a bootable USB flash drive with the modified ISO, and then proceed with the installation.

  • How does the answer file affect the privacy settings and overall performance of Windows?

    -The answer file disables many privacy-invasive settings and unnecessary background processes, leading to a more secure and efficient Windows installation.

Outlines

00:00

🚀 Customizing Windows Installation with Answer Files

This paragraph introduces a method to customize a Windows installation by using official ISO files and answer files to modify settings. It explains that a clean install can be achieved without bloatware, with fewer processes running, and with all privacy settings disabled. The speaker shares their experience and provides a guide on how to use answer files, which are safe as they allow for transparent inspection of changes and do not require unofficial downloads. The paragraph also mentions the use of Rufus and a website for generating unattended answer files, and the speaker's own answer file that automates tweaks from projects like Chris Titus Tech Windows utility and Tiny 11.

05:02

🛠 Methods for Integrating Answer Files into Windows Installation

The second paragraph outlines two methods for incorporating answer files into the Windows installation process. The first method involves creating a bootable USB with the Windows installation files and then copying the answer file to the root of the USB. The second method describes how to create a custom Windows ISO with the answer file embedded using AnyBurn software. The paragraph also provides a step-by-step guide on installing Windows using these methods, including the automated execution of scripts during the Windows pre-installation environment and specialized phase, which apply the desired tweaks and settings.

10:03

🔧 Post-Installation Customization and Utility Usage

The final paragraph discusses post-installation steps for a customized Windows experience. It mentions the absence of a browser and the need to connect to the Internet to download necessary applications. The speaker provides a utility, 'Launch CTT WinUtil,' to facilitate the downloading of a preferred browser and other applications. The paragraph also touches on the possibility of further customizing the answer file using a code editor and the AI capabilities of Cursor, an editor with built-in AI assistance. The speaker concludes by expressing hope that the video was valuable and invites feedback in the comments section.

Mindmap

Keywords

💡Clean install

A clean install refers to the process of completely erasing all data and applications from a computer and installing a new operating system from scratch. In the context of the video, a clean install of Windows 10 or 11 is performed using the official ISO file from Microsoft, resulting in a system without any pre-installed bloatware or unnecessary applications, which contributes to a faster and more responsive user experience.

💡Microsoft Edge

Microsoft Edge is a web browser developed by Microsoft, which is often pre-installed on new Windows installations. The video script mentions the absence of Microsoft Edge in a clean install, implying that the resulting system is free from default applications that some users may consider unnecessary or 'bloatware'.

💡OneDrive

OneDrive is a cloud storage service from Microsoft, typically pre-installed on Windows systems for users to sync and store their files. The script indicates that a clean install would not include OneDrive, which is part of the strategy to create a minimalist Windows environment.

💡Bloatware

Bloatware refers to the pre-installed software that comes with a device, often unnecessary for the user and consuming system resources. The video discusses the removal of bloatware apps like widgets and Copilot, aiming for a leaner, more efficient Windows installation.

💡Task Manager

Task Manager is a system utility in Windows that provides a detailed view of running applications and background services. The script mentions checking the Task Manager for a lower process count as an indicator of a cleaner, more efficient Windows installation.

💡Privacy settings

Privacy settings in Windows allow users to control how their data is collected and used by the operating system. The video emphasizes that in a clean install, these settings are all disabled by default, providing a more private and secure system out of the box.

💡Answer file

An answer file is a script used to automate the Windows setup process by pre-configuring system settings. The video explains that answer files can modify various Windows settings during installation, allowing for a customized and streamlined setup experience without manual intervention.

💡Unattended file

An unattended file, synonymous with an answer file, is used to automate the Windows installation process. The script describes using unattended files to execute commands during different phases of the Windows setup, enabling a customized and efficient installation.

💡Rufus

Rufus is a utility used for creating bootable USB drives. The video mentions Rufus as an example of a tool that can be used to create Windows installation media, and it also cautions against using certain Rufus features that might conflict with custom answer files.

💡Windows ISO file

A Windows ISO file is a disk image file containing the entire contents of a Windows installation disc. The script discusses adding answer files to the official Windows 10 or 11 ISO files to customize the installation process, ensuring the use of genuine Microsoft sources.

💡Customization

Customization refers to the process of tailoring a system or application to meet specific user preferences or requirements. The video's main theme revolves around customizing Windows installations using answer files to create a lean, efficient, and privacy-focused operating system.

Highlights

Performing a clean install of Windows 10 or 11 using the official ISO file results in a desktop without pre-installed apps like Microsoft Edge or OneDrive.

A clean Windows install has a lower process count compared to a stock install, offering a fast and responsive system.

Microsoft allows the use of answer files to modify Windows settings during the setup process.

Answer files are safe as they allow inspection of changes before execution and do not require unofficial ISOs.

Answer files are an official Microsoft feature, aiding in mass deployments like in corporate environments.

A website is available to generate custom unattended answer files with various settings and tweaks.

The presenter shares a personal answer file automating tweaks from projects like Chris Titus Tech Windows utility.

The shared answer file works for both Windows 10 and 11, tested on Pro versions without issues.

The goal is to achieve an LTSC-like experience without needing an LTSC license for Pro and Home versions.

The answer file automates setup, removing the need to run multiple programs and scripts post-installation.

The provided answer file is a base that can be edited to include or remove tweaks as desired.

No support is provided for changes made to the answer file by users.

The UnattendedWinstall GitHub page provides the autounattend.xml file for download.

The answer file can be included in a Windows installation USB or embedded in a custom ISO file.

AnyBurn software can be used to create a custom Windows ISO with an embedded answer file.

The Windows pre-installation environment executes commands from the answer file to remove system requirements.

The specialized phase of the script executes most of the tweaks and registry entries for a customized Windows experience.

The OOBE phase of the script prompts for local account creation and runs final tweaks for the user profile.

The final Windows installation is a customized version with many default settings disabled.

Users can treat the installation as a blank canvas or edit the answer file to customize their Windows experience.

Cursor code editor with AI assistance is recommended for editing the answer file for those inexperienced with scripts.

After installation, the Chris Titus Tech Windows utility can be used to download a browser and other necessary programs.

The presenter plans to add more tweaks to the answer file and welcomes feedback and suggestions.

Transcripts

play00:00

Imagine you do a clean install of Windows using the official Windows 10 or 11 ISO file

play00:05

from Microsoft and once you get to the desktop it looks like this.

play00:09

There's no Microsoft Edge or OneDrive, no pre-installed bloatware apps like the widgets

play00:13

or Copilot for example, and the start menu is clean.

play00:17

On top of that, if you open the Task Manager and look at the process count, it's also

play00:21

way lower than a stock Windows install.

play00:24

And then, when you look at the privacy settings, it's all disabled and Windows is just fast,

play00:29

smooth and really responsive without you even having to do anything to get it to that point.

play00:35

So you might be wondering how that's even possible.

play00:37

Well, listen up and don't skip through this video because I'll show you exactly how you

play00:41

can do it too.

play00:42

Microsoft allows you to add answer files or unattended files to Windows images or also

play00:48

called Windows ISO files.

play00:50

Now these answer files can be used to modify various Windows settings in the Windows image

play00:55

and they are executed during different phases in the Windows setup process.

play00:59

So if you've ever used Rufus to create Windows installation media and you saw this screen

play01:04

with these options like remove the Windows 11 hardware requirements and disable privacy

play01:08

questions and so on, they achieve that by including an answer file in the installation

play01:13

media that executes those commands during the Windows setup.

play01:17

In my opinion, the best thing about an answer file is that it's very safe.

play01:21

First of all, you can see every single change it's going to make to the Windows image by

play01:25

inspecting the answer file.

play01:27

There's also no need to download custom ISO files from unofficial sources because you

play01:32

insert it on the official Windows 10 or 11 ISO file that you download directly from Microsoft.

play01:37

And then lastly, it's also not dependent on any third party tools and it's an official

play01:42

Microsoft feature that's normally used to make mass Windows deployments easier, like

play01:46

in corporate environments for example.

play01:49

Now you can create your own answer file with the customized Windows settings you want and

play01:53

this is one of the best places you can do it at.

play01:56

You can use this website here to generate an unattended answer file and as you can see

play02:00

there are a lot of settings and tweaks to choose from.

play02:03

Once you've selected your preferred tweaks and settings, you can just download the XML

play02:07

file and then add it to your Windows installation media and I'll show you exactly how you can

play02:11

do that later on in the video.

play02:13

Now I've created my own answer file that I've started using to automate and streamline my

play02:17

Windows installs and that's what I want to share here with you.

play02:20

It basically automates a lot of the tweaks and scripts created by projects like the Chris Titus

play02:24

Tech Windows utility and Tiny 11 for example.

play02:27

The answer file works on both Windows 10 and Windows 11 and I've tested it on the Pro version

play02:32

of Windows 10 22H2 and Windows 11 23H2 without any issues.

play02:38

My motivation for this project is to get an LTSC-like or even better experience on the

play02:43

Pro and Home versions of Windows 10 and 11 without having to worry about getting an LTSC

play02:48

license.

play02:49

Also, I have to start looking at making Windows 11 better since Microsoft announced that they

play02:54

won't be supporting Windows 10 anymore starting late 2025 and I hate the stock Windows 11.

play03:00

Now the answer file automates many parts of the Windows setup and saves me a ton of time

play03:04

because I don't have to run a bunch of programs and scripts every time I do a fresh install

play03:09

of Windows.

play03:10

It's already de-bloated and customized with my preferred settings as soon as I get to

play03:13

the desktop.

play03:14

Now look, it would be impossible for me to create a single answer file that'll please

play03:18

everyone, so instead I'm supplying you with one that basically removes everything except

play03:23

Windows security and is over tweaked if you will, so you can just edit the file and remove

play03:29

the tweaks you don't want.

play03:31

Additionally, you can also add more tweaks or customizations if you have the know-how,

play03:35

but please note that I'll not provide any form of support for any changes you make to

play03:39

the file.

play03:40

So, you're probably wondering how to get it and how to use it, so let me show you.

play03:44

You need to go to the UnattendedWinstall GitHub page and I'll leave a link to that in

play03:48

the description of the video.

play03:49

Now once you're here, you need to find this autounattend.xml file and then click on it.

play03:55

It'll open this page here where you can inspect the file, but you need to download it and

play03:59

you can do that by clicking on this little arrow over here.

play04:02

That's the download button.

play04:03

It'll download the file and save it on your computer.

play04:06

Next, you need to include this auto unattended answer file on your Windows installation media

play04:11

so it can be read and executed during the Windows setup.

play04:14

Now I'm going to show you a few ways to do it and if you need any help with something

play04:17

I mention in this next section of the video, I'll leave some of my guides on these topics

play04:22

in the description of this video so you can go ahead and check out those videos if you're

play04:25

unsure on how to do any of these things that I mention here.

play04:28

Now the first method is to create a bootable Windows installation USB first and then just

play04:33

copy the answer file to the USB drive.

play04:36

So you'll need to create a Windows 10 or 11 bootable installation USB drive and you can

play04:40

do that with the media creation tool from Microsoft or Rufus for example.

play04:45

But please note, when you're using Rufus, don't select any of these checkboxes in the

play04:49

customize your Windows experience window you see here as it creates another answer file

play04:54

and we don't want that because we already have an answer file.

play04:57

Now once you've created the Windows installation USB, you can just copy the autounattend

play05:01

XML answer file to the root of the USB drive.

play05:05

Next, just boot from the USB drive, do a clean install of Windows as normal and the scripts

play05:10

will run automatically.

play05:11

Now for method two, you can create a custom Windows ISO file with the answer file embedded

play05:16

into it.

play05:17

So to do that, download the Windows 10 or Windows 11 ISO file depending on the version

play05:21

you want.

play05:22

Then next, download and install AnyBurn.

play05:25

Once that's done, in AnyBurn, select the edit image file option and then navigate to and

play05:31

select the official Windows ISO file you downloaded earlier.

play05:34

Click on the add button up here and then select the answer file you downloaded earlier or

play05:39

Alternatively, you can just click and drag the answer file into the AnyBurn window.

play05:43

You should then see it included as part of the files on the Windows ISO file.

play05:47

Now just click on next and then click on create now and then you should be prompted to overwrite

play05:52

the ISO file.

play05:53

Just click on yes and then once that's complete, you can just close AnyBurn.

play05:58

Now you can use this ISO file to install Windows on a virtual machine or you can use a program

play06:03

like a Ventoy to create a bootable USB flash drive and then just copy the edited Windows

play06:08

ISO file onto it.

play06:09

Then you can boot from the Windows installation USB, do a clean install of Windows as normal

play06:14

and the scripts will run automatically.

play06:16

Now as an example, I'll be installing Windows 11 23H2 on a virtual machine and take you

play06:21

through each part of the script as it executes.

play06:24

So once you boot from the Windows installation media, before you get to the first setup screen,

play06:28

you should notice some command prompt Windows flashing briefly and then closing.

play06:32

This part of the installation is called the Windows pre-installed environment and the

play06:35

commands that were executed there are these commands which removes the Windows 11 system

play06:40

requirements.

play06:41

From here, you can go through all of the normal installation prompts like you always do, select

play06:46

the drive where you want to install Windows and then just start the installation.

play06:50

Once the initial part of the Windows installation is complete, your computer will restart and

play06:54

then it enters into the specialized phase.

play06:57

Now you'll see a bunch of PowerShell and command prompt Windows appear and disappear and you

play07:01

just need to leave the computer to finish executing these scripts.

play07:04

Now the specialized phase is this part of the script and this is where most of the changes

play07:09

and tweaks are executed in my version of the answer file.

play07:12

These tweaks include a bunch of registry entries being created and PowerShell scripts being

play07:16

run including some of the Chris Titus Tech Windows utility scripts that de-bloats Windows

play07:21

and removes a lot of these apps and also lowers the process count in Windows.

play07:25

Now you can read through the answer file to see exactly what's being executed, but basically

play07:29

these run synchronous commands that you see here, they reference scripts that are located

play07:34

further down in the answer file.

play07:36

After this phase, your computer will restart again and then you'll be taken to the onboarding

play07:40

experience.

play07:41

This is also called the out of box experience or OOBE and it's this part of the script here.

play07:48

Now this is also straightforward and you need to go through all of the usual prompts and

play07:51

select your preferred settings, but you will be prompted to create a local account.

play07:55

You won't be able to log in with a Microsoft account here and I don't recommend that you

play07:59

use a Microsoft account anyway, but once you get to the desktop, it should take a few seconds

play08:04

and then you should see another window appear running a bunch of tweaks and then your computer

play08:08

will restart again.

play08:10

Those are the last commands that will run from the answer file and it just modifies

play08:14

the registry for the current user profile to ensure that all the values are properly

play08:18

set.

play08:19

I had to include this as some of the registry values that are created for the default user

play08:23

profile during the specialized phase are changed or reset when loading into a new user profile.

play08:28

So this just ensures that all of the registry values for the current user are correctly

play08:33

And this part of the script will also run once every time you create a new user account

play08:38

on the computer.

play08:39

Now finally, you'll be able to use this custom version of Windows.

play08:43

So as you can see, this answer file basically strips out everything from Windows and a lot

play08:47

of the Windows settings are disabled by default.

play08:50

I understand how this can be a bit too much for some people, but the way I see it is that

play08:55

you have two options.

play08:56

You can treat this installation like a blank canvas and just download and install what

play09:00

you need back into Windows.

play09:02

Or you can download a code editor like VS code, notepad plus plus or my favorite Cursor

play09:09

to edit the answer file before including it in your installation media.

play09:13

So the reason I like using cursor is because it has AI built in and I found it really helpful

play09:18

during the creation of this file, as I really don't have a lot of experience with scripts

play09:23

and programming.

play09:24

So if you want to edit the answer file, I suggest using cursor and then you can press

play09:28

Ctrl and F to search for a specific term.

play09:31

Like let's say you wanted to add notepad back into Windows, for example, then you can just

play09:36

search for notepad and remove any entries related to notepad and save the file again.

play09:41

Alternatively, you can press Ctrl and L or click on this icon up here to open the AI

play09:46

chat, change it to GPT-4o or whatever is the latest GPT version, and then just ask it a

play09:52

question.

play09:53

For example, you can ask it something like, show me all of the entries related to notepad

play09:58

or help me add notepad back into the Windows installation and the AI will help you figure

play10:03

it out and show you how to get it done.

play10:05

And in that way, you can customize the file to your liking.

play10:08

Then once you're happy, you can just save it and include it in your Windows installation

play10:12

media like I explained earlier.

play10:14

Now back to the Windows installation.

play10:16

Due to the fact that there is no browser installed, you'll have some trouble browsing the Internet.

play10:21

So first, make sure you're connected to the Internet.

play10:23

Then right click on this file on the desktop called Launch CTT WinUtil and then click on

play10:28

run with PowerShell.

play10:30

This will automatically launch the Chris Titus Tech Windows utility and then you can use it to

play10:34

download your browser of choice, even Edge if you want that and any other program that

play10:39

you might need for that matter.

play10:40

Now once you're done with the utility, you have the option to delete this file from the

play10:44

desktop or you can just keep it there for easy access.

play10:47

That's up to you.

play10:48

Now this answer file is not perfect by any means, but it does what I needed to do and

play10:53

saves me a lot of time during my Windows installs.

play10:55

I'm also planning on adding more tweaks to it as time goes on and if you have any feedback

play11:00

or suggestions for me, please feel free to leave them in the comments down below.

play11:04

But with that being said, I really hope you got some value out of this video.

play11:07

Please remember to give it a like and I'll talk to you guys soon.

Rate This

5.0 / 5 (0 votes)

Related Tags
Windows SetupClean InstallUnattended FileCustomizationPrivacy SettingsPerformance TweaksMicrosoft ISOSystem OptimizationScript AutomationUser Experience