Caution
I only maintain a much more developed version of online-sxs
on AtlasOS (GPLv3):
For some context, this repo was made immediately after finding a method for installing custom CBS packages on a live install. It was only an initial implementation, unlike what Atlas has now.
Anything in this repository is completely unsupported and could break your system.
Installs Windows CBS packages on a live installation (using the /online
DISM argument) of Windows. See echnobas
/sxsc to generate packages.
The packages and configs included are personal configs and may or may not work.
Showcase.mp4
- Open Command Prompt as an administrator
- Run
dism /online /get-packages /format:table
- Find the package name you would like to remove (like
Z-he3als-NoDefender-Package~31bf3856ad364e35~amd64~~1.0.0.0
) - Run this command with the appropriate subsitution:
dism /image:C:\ /remove-package /packagename:"Package Name Here"
If you can't boot into Windows for any reason, follow this instead.
- Boot into Windows PE/Setup or another Windows installation
- Open Command Prompt (in Windows Setup this is
Shift
+F10
) - Find which drive letter your installation is (you can do this by going through each drive letter and running
dir
) - Run
dism /image:(drive letter here):\ /get-packages /format:table
- Find the package name you would like to remove (like
Z-he3als-NoDefender-Package~31bf3856ad364e35~amd64~~1.0.0.0
) - Run this command with the appropriate subsitution:
dism /image:(drive letter here):\ /remove-package /packagename:"Package Name Here"