-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Advanced Features
Sysprep Mode in Win11Debloat lets you modify the default user profile of your Windows installation. This ensures that any new user accounts created after running the script will automatically inherit all of the changes made by the script.
To use Sysprep Mode, run Win11Debloat with the -Sysprep parameter.
Example:
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -Sysprep
Note
Some changes made with Sysprep Mode are only applied after the user has logged in for the first time. These will be visible the next time the system is booted, or after the user signs out and back in.
With Sysprep Mode, Win11Debloat can also make changes to a Windows image even before any accounts are created. This can be done by entering Windows Audit Mode from the OOBE (Out-Of-Box-Experience) screen and running the script with the -Sysprep parameter. After that, any new user accounts will automatically have the selected changes applied to them.
Please refer to this guide from Microsoft for information about Windows Audit Mode, and how to boot into it.
Win11Debloat can apply changes to a different user profile instead of the currently logged-in user. This allows you to quickly apply changes to multiple users, without having the switch accounts. It also makes it possible to run the script for users that do not have administrator rights.
To run Win11Debloat as another user, simply execute the script with the -User parameter, followed by the name of the user account.
Important
The specified user must have logged on atleast once, and cannot be logged in at the time the script is run.
Example:
& ([scriptblock]::Create((irm "https://debloat.raphi.re/"))) -User jack