post a link to your script somewhere
Comment on How to Actually Clean Install Windows 11
ichbinjasokreativ@lemmy.world 1 year ago
I’ve created a powershell script for fresh installations that removes all the unnecessary preinstalled garbage and copies a cleaned up startmenu layout file to the appdata subfolder of my user and the default user because in a professional setting, people shouldn’t see tiktok and Disney+ and shit like that. Fuck Microsoft. In private, I’ve switched to Linux and couldn’t be happier.
sturmblast@lemmy.world 1 year ago
ichbinjasokreativ@lemmy.world 1 year ago
See my other comment, it’s not worth posting a script for that. The garbage removal is also just using winget remove or remove-appxpackage to get rid of OneDrive, the preinstalled Teams, Xbox stuff and so on. You’ll write that yourself in 5 minutes.
stevedidWHAT@lemmy.world 1 year ago
Got a GitHub link fren?
ichbinjasokreativ@lemmy.world 1 year ago
No, sorry. But the line in question is just
copy-item start2.bin C:\users\default\AppData\Local\Packages\Microsoft.Windows.StartMenuExperiencehost_cw5n1h2txyewy\LocalState\
Replace default with your actual username. Default is the one that gets used for new users when they log in for the first time.
You need a clean start2.bin file ofc. To get that, just manually create a start menu you like and copy the file from the above location.
The old export-startmenulayout commands from windows 10 don’t work for windows 11.
stevedidWHAT@lemmy.world 1 year ago
Have you tried with the newest version of powershell (whatever they’re calling it now) think you still have to go out and download it but I’m not sure.
Thanks for the direct info share!
jsnfwlr@lemmy.world 1 year ago
I think it is still called PowerShell, but to differentiate the installation source, Microsoft seem to be referring to the cross-platform version you can download from GitHub or via WinGet as
PowerShell Core
and the version that ships with Windows asWindows PowerShell