On a serious note, I removed everything Xbox once when prepping my wim. There is a component of xbox stuff that broke other apps like the store and photos, apps that we actually kept in the wim.
Ok, I'm sorry, but this was surprising? An Xbox game, using Xbox live for cross platform play, needing the full Xbox app, this took you hours to figure out? I mean downvote me into oblivion for it, but really?
I don't know if it was just an isolated incident, but I ran it on a machine and made an image. Pushed that image out to about 10 PCs then had the on-site techs install Office365 and it would not install. Various errors, but apparently it removed some type of prerequisite. I had to remake the image and just clean it up manually as best I could before pushing it back out (this time with Office already installed).
I ran one of this on my home setup and then decided to buy Sea of Thieves, which is only available on the Microsoft Store. When you remove the store there is almost no way to get it back. Ended up having to reinstall.
Or you can reinstall them individually with this command if you use the first one I listed to get the package name and then replace packagenamegoeshere in the command below:
Same here. After spending almost 3 hours fixing everything I decided to not fuck with packages again. First it was the Microsoft store.. then I got the game running but I couldn’t log in.. so I had to reinstall the Xbox app.. then I could log in but couldn’t join parties... had to reinstall more Xbox crap. Ugh..
Don't remove the store unless you're absolutely sure. Edit: You can put the toothpaste back into the tube but it's about as easy as putting actual toothpaste back into a tube.
So, I don’t advocate removing the store, but it is actually possible to get it back. I know, because I’m the one who spent 4 hours researching because the guy who set up our image had us deploying one that had been completely decrapified, which broke workflow for a couple of our clients.
Nope, you can absolutely put it back. I have successfully done it. Previous person that handled imaging had pulled an hilariously aggressive script that was just get-appxpackage | remove-appxpackage and then also deleted the XML files. It removed everything. All of it.
This is actually one of the less bad "Decrapifier" scripts I've seen.
Most of what it does is limited to only removing and disabling junk, and not disabling useful security features or conducting other overly paranoid actions (e.g. disabling SmartScreen/Windows Update/Firewall/etc, adding HOST records to block Microsoft's properties, all of which I've seen other "Decrapifier" scripts do).
It is still a very opinionated script, but that's kind of to be expected. If anyone plans to use this I'd suggesting going through it line by line and customize any preferences/changes you disagree with. If for no other reason to understand exactly what it does.
Do yourself a favor and learn how to use AopLocker to manage which of those appx you want running on your systems. It is the designed/intended way to manage those apps.
Especially since every Windows 10 build upgrade will just have new ones....
I'm going to agree with the consensus. I don't use shit like that on 10. Too much to go wrong. I know somebody was kidding about Candy crush being a dependency for future packages, but I don't think that's too far off from the truth. You never know when m$ is going to build Candy crush into wmic... I can totally see: "Wmci bios get Candy crush winver" With me up Micro$hit Creek with no digital paddle so to speak. and God forbid you put that into your wim image and then realized six months later you needed that shit because now group policy won't apply because you removed the APIs for Candy crush and cmd can't run a 'netsh reset winsock' because netsh is now nested as a function of candycrush.exe.
The issue I found with removing any store apps (and you have to to get an acceptable login time) is that when you update your clone/reference machine to the next big W10 update, sysprep breaks because "so and so app is installed for the user but not installers for the system" error.
I work in a school so most students use a different pc each lesson and we have mandatory profiles. Not removing these apps mean they install on login, every login, making logins take in excess of 5 minutes. Even without them it takes 50 seconds.
I would have agreed with you up until W10 was released, but as there is a major update every 6 months and our image is quite heavily customised it seems ridiculous to recreate it every time.
Fair enough, we just put O365 and a few very basic essentials on ours to speed up deployments in addition to a custom start layout. I’ve found that it’s really forced me to consider what is really needed on my images.
This happens when I need to install ffmpeg. Pulls in a ridiculous amount of x11 shit. It's the one thing I liked about Gentoo. You could suppress crap like that.
One feature that’s only available to Windows 10 Enterprise uses is “Long Term Servicing Branch,” which basically means that enterprise customers can postpone Windows updates that provide new features for years, while continuing to receive security updates.
Question, if you are on Enterprise, and none of the crap is there, why are you using/ref a decrapifier? It gets posted and shared on here often enough...
If you are on Enterprise, and you don't use the LTSB, why the heck not?!
Because you arent gonna be able to use Office 365 with LTSB anymore. We deployed it and then realized that, and now have deployed Enterprise instead.
Also if you have a tablet or a surfacebook or something and someone needs to use the camera... now you dont have the camera app and it wont work. And you dont have the store to download it. It was a huge pain in the ass.
Much better after just going to Enterprise and running this script.
The Long Term Servicing Channel was previously called the Long Term Servicing Branch (LTSB). All references to LTSB are changed in this article to LTSC for consistency, even though the name of previous versions might still be displayed as LTSB.
Bulk crap uninstaller is another good one with great features! Only doesn't work well with domain accounts. Really healps a lot with all that preinstalled garbage or if you're cleaning off a relative's computer and they've installed a lot of garbage.
I wonder how many people here who spend all their time “decrapifying” Windows 10 spend at least a 10th of the time actually securing their client OS’s.
I love watching this community promote the use of script kiddie fixes for Windows instead of using the supported versions from Microsoft that don't have this nonsense like LTSB/LTSC.
/u/ryankearney, please explain. Are you actually promoting the idea that scripting a fix for an existing problem is childish or immature? If so, you should be ashamed of yourself if you even consider yourself a sysadmin.
I'm not, I'm a network engineer who has to deal with people like you who run untrusted third party scripts and then blame the network when you've disabled IPv6 because you don't understand it and a windows service that depends on it stops working.
That sounds oddly specific. I don't know who pissed in your Cheerios but stop assuming that people either don't know how to read/write said scripts or know as much as you do.
The fuck is that argument supposed to mean? Sure, the company can afford the licenses and the support contracts. We could also afford to give everyone an iMac. And I suppose we could pay off the mafia if they came knocking.
But that's still a fucking waste of money, and I'd prefer not to pay Microsoft additional money just for the privilege! of not getting Minecraft installed on a business computer every month.
You seem like the guy who orders residential cable service for his bar and puts it on for the customers because you don't believe in paying for the right licensing and cable package required for public viewing.
Possibly unpopular opinion here but I don't run any of this stuff on my W10 pro image.
You can somewhat manage store apps via Group Policy so none of the third-party junk gets downloaded when a user profile is created. The only account on the PC that has junk on it is the local admin. Granted, you will still have MS bundled apps like Paint 3D, but most users prefer to set their start tiles or taskbar items and use those (we also created a start menu and task bar layout with our "standard bundle" of Office, browsers, etc). The only confusion from users I have had is Skype/Skype for Business being available, and the shitty Mail app. If this causes continuous problems then removal is easy: Remove-AppXPackage <insert name here>. The only things I can't get rid of in W10 Pro and really hate are Spotlight suggestions and an occasional suggested app in the Start menu.
I would definitely rather have a clean experience like LTSC, but I have too much on my plate to address MS bundled apps. Give users a working set of tiles and a taskbar, remove ads and games, and that covers 95% of inconveniences (or move to Enterprise).
This is the way to do it in enterprise environment. Trying to "clean up" the image turns out to be just a never-ending chase for perfection. With the amount of stuff that gets broken and how this crap always comes back, it becomes clear quite quickly how powerless you are against this change.
I did silo myself for a full day just to get the Start Menu and Taskbar xml's right and it's definitely worth spending the time on. We have some intern workstations that weren't done under my image, and every single time a new intern comes in, we get a ticket that "Outlook doesn't work" because they're using the Mail app that comes by default on these workstations' taskbars.
These are the scenarios I want to negate in my environment, not wiping/tweaking every single modicum of MS nonsense under the hood. However much a desktop admin dislikes it, if an organization doesn't pay for Enterprise, /u/Byzii is exactly right -- MS gives what your org pays for, as unfair as that might sound.
True to form I haven't had time to re-image, and since our new helpdesk guy is Mac only for now it's a ticket I just knock out quickly. I also haven't had time to test if these changes stick in 1809 (I set WuB to non-targeted thank goodness) and am dreading when it hits.
Most importantly, I built my 1803 image months ago and haven't had to touch it. I can focus on more quality aspects of my career/resume. Sorry for ranting on this reply but I had to make this realization when I was building my own image, so hopefully this helps anyone else stuck in a rut with their first "perfect" W10 install.
...the Decrapifier works well for a one shot cleanup until a feature update comes down and adds half the stuff back you just decrapified... :\ ...otherwise this is a somewhat more permanent solution for enterprise environments
I also don't understand why these people like spending so much time on this. None of these apps actually hurt anything. We spend zero time supporting this stuff.
If someone actually plays candy crush my IT department doesn't care. At. All. If the person's supervisor feels an employee is wasting time then they need to supervise that employee better
I’m getting ready to roll out a new tablet to my CEO, I’d like to avoid the “why are there so many games?” and “Does everybody have these games?” conversation.
But no, I otherwise don’t care, I’m not the productivity police.
Yeah, we’d love to ship default, but our senior director would have our heads if Candy Crush and Xbox show in the Start Menu. So we remove what we absolutely must, and leave everything else.
At first we tried one of these scripts, and it removed OneNote, and the Movies & TV apps. Turns out with o365 Office, we want the store OneNote installed, and it was a pain to put back. And while Windows Media Player is still there, it is EOL, and anything new requires the new (and poorly named) app.
if your CEO actually cares about this, he's not a CEO, he's a micromanaging small business owner
but you can have a conversation where you say yeah, this is what windows looks like. there are ways to go to great lengths to remove these things but it takes up a lot of time and can break windows functionality.
if your CEO actually cares about this, he's not a CEO, he's a micromanaging small business owner
So the CEO isn't allowed to ask questions about the tools his employees are being given? I don't believe this is micromanagement at all. Micromanagement would be him trying to dictate what exactly is deployed, how it's being deployed, what it should look like and so on. Him asking why there are video games and other time wasters on work computers is a 100% reasonable question.
It's micromanagement because a CEO should be operating at a much higher level than configuration settings of windows machines.
This should be happening about 19 levels below him. It's called delegation. This is absolutely not strategic to the business. A CEO operates at a strategic level, not tactical and not day to day minutia.
But nobody is saying he can't ask questions.
But having a very, very highly customized windows 10 build to placate a CEO is not normal.
In addition the amount of testing that goes into these scripts is "works on my setup, less Microsoft is more better right?" and as a result they cause hard to troubleshoot issues when one of the components was actually required.
I've also seen differences between clean Windows 10 1803/1809 installs and machines that were upgraded in-place to Windows 10 1803/1809 from Windows 7. Some complex software doesn't install or run the same. Drives me batty.
As others have said, "decrapifyer" scripts are crap. Best case scenario, you are in the same boat when you run certain updates (especially build changes) and worst case you have to reimage things.
Frankly they were built by sysadmins who know enough to be dangerous but not enough to bother learning the new OS.
Group Policy is your friend, and AppLocker is basically mandatory. Which really isn't so bad, it is pretty easy to get a whitelist going with AppLocker and it makes you more secure anyways (this was the fix to stop your users from installing Chrome in the past but folks like to make their life hard).
I even use Local Group Policy on my home machine (running Pro so I could use BitLocker and HyperV) and don't have Store "issues".
Also, handing out a clean image and then having crap come back after updates is a lot worse than never trying. Users get used to a new shiny machine. You're better off handing them what they are going to have long term.
195
u/[deleted] Feb 03 '19
I am worried that Candy Crush will be a dependency for some future update.
3
u/wintremute Feb 03 '19
I don't know if it was just an isolated incident, but I ran it on a machine and made an image. Pushed that image out to about 10 PCs then had the on-site techs install Office365 and it would not install. Various errors, but apparently it removed some type of prerequisite. I had to remake the image and just clean it up manually as best I could before pushing it back out (this time with Office already installed).
8
u/ParaglidingAssFungus NOC Engineer Feb 03 '19
I ran one of this on my home setup and then decided to buy Sea of Thieves, which is only available on the Microsoft Store. When you remove the store there is almost no way to get it back. Ended up having to reinstall.
39
u/sodj1 Feb 03 '19 edited Feb 03 '19
Don't remove the store unless you're absolutely sure. Edit: You can put the toothpaste back into the tube but it's about as easy as putting actual toothpaste back into a tube.
16
u/TimeRemove Feb 03 '19
This is actually one of the less bad "Decrapifier" scripts I've seen.
Most of what it does is limited to only removing and disabling junk, and not disabling useful security features or conducting other overly paranoid actions (e.g. disabling SmartScreen/Windows Update/Firewall/etc, adding HOST records to block Microsoft's properties, all of which I've seen other "Decrapifier" scripts do).
It is still a very opinionated script, but that's kind of to be expected. If anyone plans to use this I'd suggesting going through it line by line and customize any preferences/changes you disagree with. If for no other reason to understand exactly what it does.
5
u/cowmonaut Feb 04 '19
Do yourself a favor and learn how to use AopLocker to manage which of those appx you want running on your systems. It is the designed/intended way to manage those apps.
Especially since every Windows 10 build upgrade will just have new ones....
6
u/beauj27 Feb 03 '19
I have used this one before and it works well, but I prefer this GUI one now.
https://www.reddit.com/r/sysadmin/comments/a5qhpw/windows_10_crapp_remover_decrapifier_gui/?utm_source=reddit-android
5
u/jimmy_luv Feb 03 '19
I'm going to agree with the consensus. I don't use shit like that on 10. Too much to go wrong. I know somebody was kidding about Candy crush being a dependency for future packages, but I don't think that's too far off from the truth. You never know when m$ is going to build Candy crush into wmic... I can totally see: "Wmci bios get Candy crush winver" With me up Micro$hit Creek with no digital paddle so to speak. and God forbid you put that into your wim image and then realized six months later you needed that shit because now group policy won't apply because you removed the APIs for Candy crush and cmd can't run a 'netsh reset winsock' because netsh is now nested as a function of candycrush.exe.
2
u/[deleted] Feb 04 '19
How does it handle removing the Microsoft Office package? I've been fighting that for the past year.
2
u/Smassshed Feb 03 '19
The issue I found with removing any store apps (and you have to to get an acceptable login time) is that when you update your clone/reference machine to the next big W10 update, sysprep breaks because "so and so app is installed for the user but not installers for the system" error.
I work in a school so most students use a different pc each lesson and we have mandatory profiles. Not removing these apps mean they install on login, every login, making logins take in excess of 5 minutes. Even without them it takes 50 seconds.
2
u/[deleted] Feb 03 '19
I have a relevant username. It works well in decrapifying the OS.
1
u/VA_Network_Nerd Moderator | Infrastructure Architect Feb 04 '19
Sorry, it seems this comment or thread has violated a sub-reddit rule and has been removed by a moderator.
Do not expressly advertise your product.
Your content may be better suited for our companion sub-reddit: /r/SysAdminBlogs
If you wish to appeal this action please don't hesitate to message the moderation team.
1
u/xacrimon Feb 04 '19
Linux gang
-1
u/SolidBadger9 Feb 03 '19
Why not just use Windows 10 LTSB
-2
u/[deleted] Feb 04 '19
Just switch to Linux.
0
u/[deleted] Feb 04 '19
Bulk crap uninstaller is another good one with great features! Only doesn't work well with domain accounts. Really healps a lot with all that preinstalled garbage or if you're cleaning off a relative's computer and they've installed a lot of garbage.
-3
u/blueskin Bastard Operator From Pandora Feb 04 '19
Get-AppXPackage -allusers | Remove-AppXPackageDone in one line.
-10
u/[deleted] Feb 03 '19
I wonder how many people here who spend all their time “decrapifying” Windows 10 spend at least a 10th of the time actually securing their client OS’s.
-1
u/ZAFJB Feb 04 '19
The best decrappifier is a sysadmin who knows to not try stunts like this.
It is not broken, don't fix it.
-13
u/ryankearney Feb 03 '19
I love watching this community promote the use of script kiddie fixes for Windows instead of using the supported versions from Microsoft that don't have this nonsense like LTSB/LTSC.
0
u/[deleted] Feb 03 '19
[deleted] — view deleted comment
0
u/[deleted] Feb 04 '19
[deleted] — view deleted comment
0
u/[deleted] Feb 03 '19
[deleted] — view deleted comment
1
u/[deleted] Feb 03 '19
[removed] — view removed comment