Update the package on the DP’s and test the script.Then we copy one of the Capabilities files so there is a Capabilities17999 file as well.Save the file in the Package Source folder with the name Apps17999 where “17999” is the buildnumber.Then we take the Appx.txt file and remove all the apps from the list that should NOT be removed, so the list only contains apps that we want to remove.$appx | Out-File -FilePath C:\temp\Appx.txt Deploy a Windows 10 with the new build without removing any apps.When a new version of Windows 10 is released we simply do the following: It could have been placed in the SMSTSLOG folder as well but thought it is better placed in C:\Windows\Temp. The script will also create a log file in C:\Windows\temp with the name RemoveApps_Buildnr as shown below. In the Task Sequence we can now have one step that runs the Powershell script and the script will uninstall different apps based on the Windows 10 Build number it is running on like shown below. These text files needs to have the Windows 10 build-number in the file name so that we can use the same Task Sequence step for multiple Windows 10 versions without have to create modify the script itself as shown below. I have re-written the script so it reads the Capabilities to remove from one text-file and the apps to uninstall from another text file. With each new version of Windows 10 there are new apps that can/should be removed from a Windows 10 enterprise client. To list all Windows capabilities on a Windows 10 Computer runt he following PowerShell command. Quickassist is a Windows Capability for instance. Not everything we can/want to remove are Apps, some of the Apps are installed as “Capabilities” instead and can be removed with PowerShell as well. I wrote a script before on how to remove builtin apps in Windows 10 that was based on Ben Hunter’s script to do the same Īs always, make sure you uninstall what you really need some apps can be reinstalled from the Store some are harder or impossible to get back.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |