Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of audit environment #31

Closed
LuCarhub opened this issue Feb 11, 2024 · 11 comments
Closed

Support of audit environment #31

LuCarhub opened this issue Feb 11, 2024 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@LuCarhub
Copy link

Hi Raphine,

very nice work your script. I've used it on 3 or 4 different new installation of windows 11 to create an image with sysprep. It seems that it works well removing unuseful ms store app, but it loses personalization of interface (position of start button, combining of button in the taskbar). Did you try to use it in audit mode?

@Raphire Raphire self-assigned this Feb 11, 2024
@Raphire
Copy link
Owner

Raphire commented Feb 11, 2024

Heya,

Just to avoid any miscommunication: From what I understand you're running the Win11Debloat script in audit mode to prep a Windows 11 image.

I have not personally used or tested audit mode, but I think the reason that certain changes are not applying when running the script in audit mode is because some changes only apply the user profile of the user that executes the script. The reason that app removal does work is because the apps are removed from the image itself.

Unfortunately the only (supported) way to apply many of the personalization changes on a global level is through GPO/intune.

@Raphire Raphire added the question Further information is requested label Feb 11, 2024
@LuCarhub
Copy link
Author

I understand, but I on windows 10 I was able to keep many configuration in the registry loading hive for default user.
If I have time I will try and let you know

@Raphire
Copy link
Owner

Raphire commented Feb 13, 2024

Ah I see! I was able to find more information, and it does seem like something worth implementing into Win11Debloat. I unfortunately also do not have much time right now, but I'll try keep this thread up to date of any developments.

@Raphire Raphire added the enhancement New feature or request label Mar 2, 2024
@loadstring1
Copy link
Contributor

loadstring1 commented Jun 1, 2024

Microsoft are not so naive as to not know about these Debloats, so my question is - is there a way for me to run a script or some program that checks for me if Microsoft didn't bring back these telemetries among other things that were disabled by this debloat?

if you disable windows updates thats enough to prevent microsoft from reinstalling bloat (such as ms edge) and re-enabling telemetry and spyware

@johnnyq
Copy link

johnnyq commented Jun 21, 2024

Hey checking in on this one as this can prove to be very useful and thank you for this great script

@Raphire
Copy link
Owner

Raphire commented Jun 23, 2024

Heya

I'm happy to report the sysprep feature is in the works. I have opened a new branch to open it up to testing. Please be advised that this may contain a few bugs. I have personally noticed that Windows doesn't respect the Search button setting here.

If you wish to test it out, you can find it here: https://github.com/Raphire/Win11Debloat/tree/Sysprep-experimental

@Raphire Raphire removed the question Further information is requested label Jun 23, 2024
@LuCarhub
Copy link
Author

LuCarhub commented Jun 27, 2024 via email

@Raphire
Copy link
Owner

Raphire commented Jun 27, 2024

Hi there,   I saw the link on GitHub - Raphire/Win11Debloat at Sysprep-experimental to master.zip is https://github.com/Raphire/Win11Debloat/archive/master.zip, the same of official page and I read also "Merge branch 'master' into Sysprep-experimental" So, master.zip has also the implementatio for sysprep, isn't it? Do I have to use master.zip for sysprep?  

-----Messaggio originale----- Da: Jeffrey @.> A: Raphire @.> Cc: Luca @.>; Author @.> data: domenica 23 giugno 2024 02:38 CEST Oggetto: Re: [Raphire/Win11Debloat] Support of audit environment (Issue #31)   Heya I'm happy to report the sysprep feature is in the works. I have opened a new branch to open it up to testing. Please be advised that this may contain a few bugs. I have personally noticed that Windows doesn't respect the Search button setting here. If you wish to test it out, you can find it here: https://github.com/Raphire/Win11Debloat/tree/Sysprep-experimental — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

@LuCarhub You can get the version with the Sysprep version from here: https://github.com/Raphire/Win11Debloat/archive/refs/heads/Sysprep-experimental.zip

The Sysprep feature has not yet made it into the master branch.

@Raphire
Copy link
Owner

Raphire commented Jun 27, 2024

This feature has been added as of 1d2c6ea.

To run the script in Sysprep mode simply use the -Sysprep parameter while executing the script. All changes will be applied to the Windows default user template, and affect all user accounts created thereafter.

@Raphire Raphire closed this as completed Jun 27, 2024
@johnnyq
Copy link

johnnyq commented Jun 27, 2024

Excellent Work @Raphire Will this also work if Im creating an initial admin user and apply the script with -Sysprep to that user will it affect all users created after that or do i have to use sysprep audit mode?

@Raphire
Copy link
Owner

Raphire commented Jun 27, 2024

Excellent Work @Raphire Will this also work if Im creating an initial admin user and apply the script with -Sysprep to that user will it affect all users created after that or do i have to use sysprep audit mode?

When you run the script with Sysprep the changes are applied to the default user template instead of the current user.

So ideally you would run the script in audit mode before creating the initial admin account. Alternatively you can run the script twice, once with and once without the Sysprep parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants
@johnnyq @Raphire @LuCarhub @loadstring1 and others