Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Custom ISO Windows10

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Custom ISO windows10.

https://christitus.com/Windows-10-Optimization-Guide/
Removing Windows 10 Components and Optimizing Windows 10 Settings.
MSMG Toolkit
https://msmgtoolkit.in/
The whole purpose of a custom ISO is to make the initial install as slim as possible. You don’t have to uninstall bloat
if it never gets installed to begin with!
Easiest Method NTLite ($30) - https://www.ntlite.com/
Free Method MSMG Toolkit - https://msmgtoolkit.in/
How to Make a Custom Windows 10 ISO with MSMG Toolkit Video
Microsoft Method for Custom ISO (Advanced Users Only)
Downloading in Installing ADK (Microsoft Image Tools) https://docs.microsoft.com/en-us/windows-hardware/get-
started/adk-install Using sysprep from
Microsoft https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--generalize--a-
windows-installation
I highly recommend a video by Craft Computing going over Windows Deployment Services if you are interested in
this method - https://youtu.be/PdKMiFKGQuc
Installing Windows 10 and Removing Components
The Full AME Experience. Most people will NOT want to do this as it will remove functionality from Windows 10,
that you CAN NOT put back in. Some of the components can be taken out in the Custom ISO phase, but this takes it
to another level.
Note: I do NOT recommend this for MOST machines
Components Removed
 Windows Update
 Windows Store
 Media Player Functions
 Telemetry
 Windows Activation (YOU MUST Activate Windows Before this Tweak!) If you fail to do this, you will have
a watermark you can’t get rid of
 DirectX 12
Source files for Tweaks https://ameliorated.info/ or my GitHub mirror https://github.com/ChrisTitusTech/windows-
lite-2004

Installation Overview
 Install Windows 10 (Stock or Custom ISO)
 Activate Windows 10 and Disconnect from Internet afterwards
 Run amelioration_2004.bat as Admin and Pre-Amelioration
 Reboot to Linux (I recommend Linux Mint)
 Run sudo ./ameliorate_2004.sh in Terminal on Live Linux USB
 Reboot back to Windows
 Run amelioration_2004.bat as Admin and Post-Amelioration
Driver Installation
Recommend using the Offline Snappy Driver Installer https://sdi-tool.org/. This is about 50 GB, but has every driver
you need.
AME Step-by-Step Documentation
https://wiki.ameliorated.info/doku.php?id=documentation_2004
Running Updates
 Download Latest Servicing Stack Update (Check Month - Windows verison- Architecture
x64) https://www.catalog.update.microsoft.com/Search.aspx?q=Servicing%20Stack%20Update%20Windows
%2010
 Download Cumulative Update (Check Month/Version/Arch AND Run After rebooting
above) https://www.catalog.update.microsoft.com/Search.aspx?q=Cumulative%20Update%20Windows
%2010
Extract Updates
expand -F:* .\Windows10SSU.msu C:\Update1
dism /online /add-package /packagepath=C:\1\Windows10.0-SSU.cab
Reboot
expand -F:* .\Windows10Cumulative.msu C:\Update2
dism /online /add-package /packagepath=C:\2\Windows10.0-Cumulative.cab
Reboot and Run
dism /online /Cleanup-Image /StartComponentCleanup
Note: File Names change and will be different from above!
Optimizing Windows 10 Settings
To finish things off we do some custom tweaks with the Official CTT Windows 10 Toolbox. This is something I have
been customizing for years and refining every single month to work on any Windows 10 Installation.
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JJ8R4'))
What this script can do
 Installs Chocolatey, Notepad++, Irfanview, VLC, Java, and asks if you want Adobe Reader or Brave.
 Removes all Windows Store Apps EXCEPT office, xbox, and WSL.
 Removed Telemetry
 Disables Cortana
 Deletes various schedules tasks that rebloat the system
 Removes Other Bloatware (Candy Crush, etc.)
 Fixes problems that other scripts causes (lock screen and personalization options restricted)
Based on User feedback, this no longer uninstalls OneDrive or Office.
Toolbox Walkthrough Video
The Best Windows 10 Toolbox.mp4
4 Des 2020
Chris Titus Tech
Timestamps:
00:00 Intro
00:59 Instructions and How to Get
01:39 Program Installations
02:12 System Tweaks
05:00 Windows Security
05:42 Windows Updates .
Making Windows Faster without Tools

Windows Services to Disable


1. Windows Defender & Firewall
2. Windows Mobile Hotspot Service
3. Bluetooth Support Service
4. Print Spooler (Required for Printing)
5. Fax
6. Remote Desktop Configuration and Remote Desktop Services
7. Windows Insider Service
8. Secondary Logon
9. Downloaded Maps Manager
10. Touch Keyboard and Handwriting Panel Service
11. Offline Files
12. Windows Connect Now
13. Remote Registry
14. Application Layer Gateway Service
15. Smart Card
16. Windows Image Acquisition
17. Security Center
18. Connected User Experiences and Telemetry
19. Retail Demo Service
20. Windows Media Player Network Sharing Service
21. AllJoyn Router Service
22. Geolocation Service
23. Windows Biometric Service (Required for Fingerprint logon)
24. Program Compatibility Assistant Service
25. Enterprise App Management Service

Ultimate Windows Setup Guide


https://christitus.com/ultimate-windows-setup-guide/

One Command to Do Everything


powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://git.io/JJ8R4')"

GitHub Project for Debloating, Optimization, and Installing Programs


https://github.com/ChrisTitusTech/win10script/tree/master
This project was using many of the aspects of other debloat scripts, but I combined system admin scripts with it that
I use to configure workstations at businesses. I also added Chocolatey package manager to the script for easy
program installations.
The script will remove scheduled tasks, windows applications, install common applications (adobe reader,
notepad++, java, and more), while also disabling services, and removing windows components like Cortana that are
performance hogs.
What this script does
Main Programs and Tweaks
 Installs Chocolatey (Package Manager for Windows)
 Installs O&O Shutup 10 and Runs Recommended Settings
 Misc 3rd Party program installs (Adobe, 7-Zip, Notepad++, and Media Player Classic-HC)
 Removals all Bloatware in MS Store (Leaves Office, Snip Tool, Xbox and other Apps used for Gaming)
Privacy Tweaks
Disabled Services and Tasks
 Telemetry
 Wifi Sense
 Smart Screen and Web Search
 App Suggestions and Activity History
 Location Tracking and Maps
 Feedback and Tailored Experiences
 Error Reporting
 Cortana
 Advertising ID.
Security Tweaks
 UAC Set to Low
 Disable SMB version 1
 Set Network to Private
 Disable Controlled Folder Access
 Disable Microsoft Defender (Check customization if not using another AV)
 Disable Meltdown Flag (Big performance boost for Intel Users)
 Enables F8 Boot Menu
Service Tweaks
Services Disabled:
 Malware Removal Tool
 Driver Updates
 Home Groups
 Shared Experiences
 Remote Assistance
 Autoplay
 Storage Sense
 DeFragmentation
 Superfetch
 Indexing
 Hibernation
 Sleep Timeout
UI Tweaks
Windows 10’s user interface is a mess and has too many notifications. This removes the Action Center, LockScreen,
Sticky Keys, Task View, Expands File Transfer details by default, Show all tray icons, and various other tweaks.
Application Tweaks
This script will keep the core of Microsoft Office, but most other Microsoft products that are sideloaded are
removed. OneDrive is a big one that some use, so if you want that functionality check the customization section.
Most other features removed aren’t used, like Internet Explorer and Work Folders.
Customization
I encourage people to fork this project and comment out things they don’t like! Here are a list of normal things
people change:
 Uninstalling OneDrive (This is on in my script)
 Installing Adobe, Chocolatey, Notepad++, MPC-HC, and 7-Zip
Comment any thing you don’t want out… Example:
########## NOTE THE # SIGNS! These disable lines This example shows UACLow being set and Disabling SMB1
### Security Tweaks ###
"SetUACLow", # "SetUACHigh",
"DisableSMB1", # "EnableSMB1",

########## NOW LETS SWAP THESE VALUES AND ENABLE SMB1 and Set UAC to HIGH
### Security Tweaks ###
"SetUACHigh",
"EnableSMB1",

win10script
win10script-master.zip
winutil
winutil-main.zip
Usage
Winutil must be run in Admin mode because it performs system-wide tweaks. To achieve this, open PowerShell or
Windows Terminal as an administrator. Here are a few ways to do it:
1. Right-Click Method:
o Right-click on the start menu.
o Choose "Windows PowerShell (Admin)" (for Windows 10) or "Terminal (Admin)" (for Windows
11).
2. Search and Launch Method:
o Press the Windows key.
o Type "PowerShell" or "Terminal" (for Windows 11).
o Press Ctrl + Shift + Enter to launch it with administrator privileges
Launch Command
Simple way
irm https://christitus.com/win | iex
or by executing:
iwr -useb https://christitus.com/win | iex
if for some reason this site is not reachable from your country please try running it directly from github
(replace RELEASE_TAG with current release that you are interested in, for example v2024.06.05)
irm "https://github.com/ChrisTitusTech/winutil/releases/download/RELEASE_TAG/winutil.ps1" | iex
Automation
Some features are avaliable through automation. This allows you to save your config file pass it to Winutil walk away
and come back to a finished system. Here is how you can set it up currently with Winutil >24.01.15
1. On the Install Tab, click "Get Installed", this will get all installed apps supported by Winutil on the system

2. Click on the Settings cog in the upper right corner and chose Export, chose file file and location, this will
export the setting file.
3. Copy this file to a USB or somewhere you can use after Windows installation.
4. Use Microwin tab to create a custom Windows image.
5. Install the Windows image.
6. In the new Windows, Open PowerShell in the admin mode and run command to automatically apply tweaks
and install apps from the config file.
iex "& { $(irm christitus.com/win) } -Config [path-to-your-config] -Run"

Issues:
 If you are unable to resolve christitus.com/win and are getting errors launching the tool, it might be due to
India blocking GitHub's content domain and preventing downloads. You may use a VPN or change your
DNS provider to Google/Cloudflare/etc.
Source: https://timesofindia.indiatimes.com/gadgets-news/github-content-domain-blocked-for-these-indian-users-
reports/articleshow/96687992.cms
 Windows Security (formerly Defender) and other anti-virus software are known to block the script. The
script gets flagged due to the fact that it requires administrator privileges & makes drastic system changes.
 If you are having TLS 1.2 issues, or are having trouble resolving christitus.com/win then run with the
following command:
[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12;iex(New-
Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/ChrisTitusTech/
winutil/main/winutil.ps1')
If you are still having issues try changing your DNS provider to 1.1.1.1 | 1.0.0.1 or 8.8.8.8 | 8.8.4.4
https://www.youtube.com/watch?v=6UQZ5oQg8XA

Overview
 Install
o Install Selection: Organize programs by category and facilitate installation by enabling users to
select programs and initiate the installation process with a single click.
o Upgrade All: Upgrade all existing programs to their latest versions, ensuring users have the most
up-to-date and feature-rich software.
o Uninstall Selection: Effortlessly uninstall selected programs, providing users with a streamlined
way to remove unwanted software from their system.
o Get Installed: Retrieve a comprehensive list of installed programs on the system, offering users
visibility into the software currently installed on their computer.
o Import / Export: Enable users to import or export the selection list of programs, allowing them to
save their preferred program configurations or share them with others. This feature promotes
convenience and flexibility in managing program selections across different systems.
 Tweaks
o Recommended Selection: Provides pre-defined templates tailored for desktop, laptop, and minimal
configurations, allowing users to select recommended settings and optimizations specific to their
system type.
o Essential Tweaks: Offers a collection of essential tweaks aimed at improving system performance,
privacy, and resource utilization. These tweaks include creating a system restore point, disabling
telemetry, Wi-Fi Sense, setting services to manual, disabling location tracking, and HomeGroup,
among others.
o Advanced Tweaks: Encompasses a range of various advanced power user tweaks to further
optimize the system. These tweaks include removing OneDrive and Edge, disabling User Account
Control (UAC), notification panel, among others.
o Toggles: Adds easy to use, one click shortcuts for toggling dark mode, NumLock on startup, file
extensions, sticky keys, among others.
o Additional Tweaks: Introduces various other tweaks such as enabling dark mode, changing DNS
settings, adding an Ultimate Performance mode, and creating shortcuts for WinUtil tools. These
tweaks provide users with additional customization options to tailor their system to their
preferences.
 Config
o Features: Allows users to easily install various essential components and features to enhance their
Windows experience. These features include installing .NET Frameworks, enabling Hyper-V
virtualization, enabling legacy media support for Windows Media Player and DirectPlay, enabling
NFS (Network File System) for network file sharing, and enabling Windows Subsystem for Linux
(WSL) for running Linux applications on Windows.
o Fixes: Provides a range of helpful fixes to address common issues and improve system stability.
This includes setting up autologon for seamless login experiences, resetting Windows updates to
resolve update-related problems, performing a system corruption scan to detect and repair
corrupted files, and resetting network settings to troubleshoot network connectivity issues.
o Legacy Windows Panels: Includes access to legacy Windows panels from Windows 7, allowing
users to access familiar and powerful tools. These panels include Control Panel for managing
system settings, Network Connections for configuring network adapters and connections, Power
Panel for adjusting power and sleep settings, Sound Settings for managing audio devices and
settings, System Properties for viewing and modifying system information, and User Accounts for
managing user profiles and account settings.
 Updates:
o Default (Out of Box) Settings: Provides the default settings that come with Windows for updates.
o Security (Recommended) Settings: Offers recommended settings, including a slight delay of
feature updates by 2 years and installation of security updates 4 days after release.
o Disable All Updates (Not Recommended!): Allows users to disable all Windows updates, but it's
not recommended due to potential security risks.
Video and Written Article walkthrough @ https://christitus.com/windows-tool/

Issues
If you encounter any challenges or problems with the script, I kindly request that you submit them via the "Issues"
tab on the GitHub repository. By filling out the provided template, you can provide specific details about the issue,
allowing me to promptly address any bugs or consider feature requests.

Contribute Code
Pull Requests are now handled directly on the MAIN branch. This was done since we can now select specific releases
to launch via releases in GitHub.
If doing a code change and you can submit a PR to main branch, but I am very selective about these. Do not use a
code formatter, massive amounts of line changes, and make multiple feature changes. EACH FEATURE CHANGE
SHOULD BE IT'S OWN Pull Request!
When creating pull requests, it is essential to thoroughly document all changes made. This includes documenting
any additions made to the tweaks section and ensuring that corresponding undo measures are in place to remove
the newly added tweaks if necessary. Failure to adhere to this format may result in denial of the pull request.
Additionally, comprehensive documentation is required for all code changes. Any code lacking sufficient
documentation may also be denied.
By following these guidelines, we can maintain a high standard of quality and ensure that the codebase remains
organized and well-documented.
NOTE: When creating a function please include "WPF" or "WinUtil" in the name so that it can be loaded into the
runspace.
https://github.com/ChrisTitusTech/winutil?tab=readme-ov-file

You might also like