ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fresh Win 10 install - doesn't include crapware

    IT Discussion
    windows 10 screenconnect crapware clean install sysprep
    8
    60
    9.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @JaredBusch
      last edited by JaredBusch

      @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

      @Tim_G said in Fresh Win 10 install - doesn't include crapware:

      @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

      @Tim_G said in Fresh Win 10 install - doesn't include crapware:

      I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

      I honestly do not care if the crap is there or not.

      But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

      Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
      Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
      

      That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

      If you don't remove the app using the bottom "-online" part, it'll be there for new users.

      Twitter also broke sysprep.

      I am still doing windows updates and such on this box. I will try sysprep with nothing more than that key added.

      Just to see if it fails or not.

      1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce @Obsolesce
        last edited by

        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

        @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

        @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

        I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

        I honestly do not care if the crap is there or not.

        But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

        Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        

        That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

        If you don't remove the app using the bottom "-online" part, it'll be there for new users.

        Twitter also broke sysprep.

        Get-AppxPackage -AllUsers *AdobePhotoshopExpress* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Duolingo* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *EclipseManager* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *FarmVille* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.3DBuilder* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.BingNews* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.BingTranslator* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.BingWeather* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.FreshPaint* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.Getstarted* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.Messaging* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.MicrosoftOfficeHub* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.MicrosoftSolitaireCollection* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.NetworkSpeedTest* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.Office.OneNote* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.People* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.SkypeApp* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.WindowsAlarms* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.WindowsMaps* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.XboxApp* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.ZuneMusic* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Microsoft.ZuneVideo* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Netflix* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *PandoraMediaInc* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *PicsArt* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Twitter* | Remove-AppxPackage
        Get-AppxPackage -AllUsers *Wunderlist* | Remove-AppxPackage
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*AdobePhotoshopExpress*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Duolingo*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*EclipseManager*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*FarmVille*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.3DBuilder*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingNews*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingTranslator*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.BingWeather*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.FreshPaint*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Getstarted*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Messaging*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.MicrosoftOfficeHub*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.MicrosoftSolitaireCollection*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.NetworkSpeedTest*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.Office.OneNote*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.People*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.SkypeApp*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsAlarms*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsFeedbackHub*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.WindowsMaps*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.XboxApp*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.ZuneMusic*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Microsoft.ZuneVideo*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Netflix*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*PandoraMediaInc*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*PicsArt*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Twitter*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Wunderlist*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
        
        

        And you can kick it off with a .bat file with the following code:

        powershell -executionpolicy bypass -file "%~dp0win10-app-uninstaller.ps1"
        
        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @Obsolesce
          last edited by JaredBusch

          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

          @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

          @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

          I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

          I honestly do not care if the crap is there or not.

          But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

          Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
          Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
          

          That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

          If you don't remove the app using the bottom "-online" part, it'll be there for new users.

          Twitter also broke sysprep.

          snippity snip
          

          That looks like part of one of the big decrappify scripts. I don't care about that.

          ObsolesceO 1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @JaredBusch
            last edited by

            @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

            @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

            @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

            I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

            I honestly do not care if the crap is there or not.

            But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

            Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
            Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
            

            That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

            If you don't remove the app using the bottom "-online" part, it'll be there for new users.

            Twitter also broke sysprep.

            snippity snip
            

            That looks like part of one of the big decrappify scripts. I don't care about that.

            Yeah, I made that before we started any Win10 sysprep'd images. It was quite useful then.

            I only need to use that on regular installs, which is rare now.

            1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce
              last edited by

              It's odd your sysprep is failing. That hasn't happened in my experience.

              JaredBuschJ 1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch
                last edited by

                Looks like maybe that registry key is workign a little? those six in the right on my screenshot are still not populated after multiple updates and reboots.

                0_1495752015526_upload-73ff1afe-bcf3-48da-a5ed-5c6eac4b4955

                1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Obsolesce
                  last edited by

                  @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                  It's odd your sysprep is failing. That hasn't happened in my experience.

                  Hasn't failed yet, but did when I made my original images last year prior to AU coming out.

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by JaredBusch

                    Here we go.. Time to find out.
                    0_1495752279769_upload-770cd0da-cfd6-4fb0-82d6-a607a4dd7922

                    I have a bunch of software to install but wanted to verify this first..

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by JaredBusch

                      Hot damn, it did work. I was acting like @Dashrender and getting over excited about shit before trying. All because the twitter icon popped in.

                      0_1495752427632_upload-893f953c-203f-4a39-be4d-aecaac6d5910

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates
                        last edited by

                        Wow reading through this makes my head hurt.

                        1 Reply Last reply Reply Quote 1
                        • DashrenderD
                          Dashrender
                          last edited by

                          That Reg fix in the OP stopped working in 1607.

                          Perhaps what was fixed was that MS fixed the issues Sysprep was having with the pre installed apps.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Dashrender
                            last edited by

                            @Dashrender said in Fresh Win 10 install - doesn't include crapware:

                            That Reg fix in the OP stopped working in 1607.

                            Perhaps what was fixed was that MS fixed the issues Sysprep was having with the pre installed apps.

                            You would be incorrect as I just clearly showed it working in 1703

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @JaredBusch
                              last edited by

                              @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                              @Dashrender said in Fresh Win 10 install - doesn't include crapware:

                              That Reg fix in the OP stopped working in 1607.

                              Perhaps what was fixed was that MS fixed the issues Sysprep was having with the pre installed apps.

                              You would be incorrect as I just clearly showed it working in 1703

                              Maybe they added it back in 1703 due to complaints. Also, so now that you've got the image, have you deployed it and none of those crappy apps came back?

                              JaredBuschJ 2 Replies Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @Dashrender
                                last edited by

                                @Dashrender said in Fresh Win 10 install - doesn't include crapware:

                                @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                @Dashrender said in Fresh Win 10 install - doesn't include crapware:

                                That Reg fix in the OP stopped working in 1607.

                                Perhaps what was fixed was that MS fixed the issues Sysprep was having with the pre installed apps.

                                You would be incorrect as I just clearly showed it working in 1703

                                Maybe they added it back in 1703 due to complaints. Also, so now that you've got the image, have you deployed it and none of those crappy apps came back?

                                I've never cared about them coming back.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @Dashrender
                                  last edited by

                                  @Dashrender said in Fresh Win 10 install - doesn't include crapware:

                                  Maybe they added it back in 1703 due to complaints.

                                  I never made a 1607 - Anniversary Update image, so no idea.

                                  1 Reply Last reply Reply Quote 0
                                  • NerdyDadN
                                    NerdyDad @Obsolesce
                                    last edited by

                                    @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                    @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                    @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                    I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

                                    I honestly do not care if the crap is there or not.

                                    But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

                                    Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
                                    Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
                                    

                                    That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

                                    If you don't remove the app using the bottom "-online" part, it'll be there for new users.

                                    I'm going have to update my scripts as I just gave a presentation on this last night. Thanks.

                                    Also, if you look at the fullpackagename property of the appx, if the suffix is cw5n1h2txywey then it is system dependent and cannot be removed. The some of the XBox appx packages are that way.

                                    ObsolesceO 1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce @NerdyDad
                                      last edited by

                                      @NerdyDad said in Fresh Win 10 install - doesn't include crapware:

                                      @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                      @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                      @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                      I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

                                      I honestly do not care if the crap is there or not.

                                      But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

                                      Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
                                      Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
                                      

                                      That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

                                      If you don't remove the app using the bottom "-online" part, it'll be there for new users.

                                      I'm going have to update my scripts as I just gave a presentation on this last night. Thanks.

                                      Also, if you look at the fullpackagename property of the appx, if the suffix is cw5n1h2txywey then it is system dependent and cannot be removed. The some of the XBox appx packages are that way.

                                      I noticed that if you want to keep an up to date list of Crapware MS sticks on, like after big updates such as 1703 and the like, you'll need to run a command to get a new list of apps to see if you need to add any to the list. This is what I use:

                                      Get-AppxPackage -AllUsers | Select Name | FT
                                      

                                      and

                                      Get-AppxProvisionedPackage -Online | Select DisplayName | FT
                                      
                                      black3dynamiteB 1 Reply Last reply Reply Quote 1
                                      • black3dynamiteB
                                        black3dynamite @Obsolesce
                                        last edited by

                                        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                        @NerdyDad said in Fresh Win 10 install - doesn't include crapware:

                                        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                        @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                        @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                        I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

                                        I honestly do not care if the crap is there or not.

                                        But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

                                        Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
                                        Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
                                        

                                        That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

                                        If you don't remove the app using the bottom "-online" part, it'll be there for new users.

                                        I'm going have to update my scripts as I just gave a presentation on this last night. Thanks.

                                        Also, if you look at the fullpackagename property of the appx, if the suffix is cw5n1h2txywey then it is system dependent and cannot be removed. The some of the XBox appx packages are that way.

                                        I noticed that if you want to keep an up to date list of Crapware MS sticks on, like after big updates such as 1703 and the like, you'll need to run a command to get a new list of apps to see if you need to add any to the list. This is what I use:

                                        Get-AppxPackage -AllUsers | Select Name | FT
                                        

                                        and

                                        Get-AppxProvisionedPackage -Online | Select DisplayName | FT
                                        

                                        Any harm removing all AppxPackages and AppxProvisionedPackages?

                                        ObsolesceO 1 Reply Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @black3dynamite
                                          last edited by

                                          @black3dynamite said in Fresh Win 10 install - doesn't include crapware:

                                          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                          @NerdyDad said in Fresh Win 10 install - doesn't include crapware:

                                          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                          @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                          @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                          I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

                                          I honestly do not care if the crap is there or not.

                                          But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

                                          Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
                                          Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
                                          

                                          That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

                                          If you don't remove the app using the bottom "-online" part, it'll be there for new users.

                                          I'm going have to update my scripts as I just gave a presentation on this last night. Thanks.

                                          Also, if you look at the fullpackagename property of the appx, if the suffix is cw5n1h2txywey then it is system dependent and cannot be removed. The some of the XBox appx packages are that way.

                                          I noticed that if you want to keep an up to date list of Crapware MS sticks on, like after big updates such as 1703 and the like, you'll need to run a command to get a new list of apps to see if you need to add any to the list. This is what I use:

                                          Get-AppxPackage -AllUsers | Select Name | FT
                                          

                                          and

                                          Get-AppxProvisionedPackage -Online | Select DisplayName | FT
                                          

                                          Any harm removing all AppxPackages and AppxProvisionedPackages?

                                          Yes don't do it.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @Obsolesce
                                            last edited by

                                            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                            @black3dynamite said in Fresh Win 10 install - doesn't include crapware:

                                            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                            @NerdyDad said in Fresh Win 10 install - doesn't include crapware:

                                            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                            @JaredBusch said in Fresh Win 10 install - doesn't include crapware:

                                            @Tim_G said in Fresh Win 10 install - doesn't include crapware:

                                            I made a PowerShell script to run that cleans it all up automatically. Well a .bat that runs it. I have it somewhere on SW, but it's out of date. I'll find the one I have that's more up to date and edit this post.

                                            I honestly do not care if the crap is there or not.

                                            But sysprep fails with some of it there. That is the problem I have with it. I just want a fucking image with my basic stuff pre-installed. I could care less if the user has Candy Crush. That is a managerial issue.

                                            Get-AppxPackage -AllUsers *Candy* | Remove-AppxPackage
                                            Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like "*Candy*"} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
                                            

                                            That's basically all the powershell script contains. Removes about 30 different things. Probably more with the Creators update. But you need to uninstall it from both the "allusers" and "online". You'll have to reboot for it to be completely gone.

                                            If you don't remove the app using the bottom "-online" part, it'll be there for new users.

                                            I'm going have to update my scripts as I just gave a presentation on this last night. Thanks.

                                            Also, if you look at the fullpackagename property of the appx, if the suffix is cw5n1h2txywey then it is system dependent and cannot be removed. The some of the XBox appx packages are that way.

                                            I noticed that if you want to keep an up to date list of Crapware MS sticks on, like after big updates such as 1703 and the like, you'll need to run a command to get a new list of apps to see if you need to add any to the list. This is what I use:

                                            Get-AppxPackage -AllUsers | Select Name | FT
                                            

                                            and

                                            Get-AppxProvisionedPackage -Online | Select DisplayName | FT
                                            

                                            Any harm removing all AppxPackages and AppxProvisionedPackages?

                                            Yes don't do it.

                                            Can you not do a regular expression to match everything not like that specific version of that key

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post