Thursday, October 19, 2017

Win10 Deploy – v1709 (Fall Creators Update) – You’ll Need to Change Your “RemoveApps” Script!

This new paradigm of Windows as a Service (Waas) really makes SysAdmins to change the way they work and also adapt really really quick.

Following the release of Windows 10 v1709 (Fall Creators Update), and if like me you use a Powershell script to remove provisioned apps during image deployment or golden image creation, you’ll notice…a lot of broken things on you script.

This happens because of changes on the apps version…so…or you create a more complex script that just looks for the beginning of the application string or you adapt your script to this new release.

So…you try to install you golden image with Microsoft Deployment Toolkit (MDT) and you get the following error when finishing:
getappx2

Now…don’t close this Window right yet. Instead, follow this steps:

  1. Open a Powershell prompt
  2. Execute the following command: Get-AppxPackage –Online > C:\Apps.txt
  3. This will create a file called Apps.txt on you C: drive with all the installed/provisioned apps. It will be something similar to this:
    getappx
  4. Now you just need to copy/paste the updated “PackageName” to your script and everything works fine again.

Just a quick note to remember that for example Microsoft 3DBuilder app was removed from Windows 10 v1709 so you may completely remove that line from your script.

No comments:

Post a Comment