[SOLVED] Package remove metro apps

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

September 25, 2019 - 4:39 PM

Sorry, I worded my sentence poorly.
Does the script outside of WAPT work?
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 25, 2019 - 5:56 PM

Using PowerShell works, it's this message that's bothering me:

Code: Select all

Remaining metro apps ;) : Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 3846, in install_wapt
    exitstatus = setup.install()
  File "c:\windows\temp\waptckvi02\setup.py", line 104, in install
  File "C:\Program Files (x86)\wapt\setuphelpers.py", line 4399, in run_powershell
    raise ValueError(u'%s returned non json data:\n%s' % (cmd,result))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8a in position 48381: ordinal not in range(128)
'ascii' codec can't decode byte 0x8a in position 48381: ordinal not in range(128) : faulty string is ''[\r\n    {\r\n        "Name":  "1527c705-839a-4832-9118-54d4Bd6a0c89",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy",\r\n        "PackageFullName":  "1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.FilePicker_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "c5e2524a-ea46-4f67-841f-6a9465d9d515",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "c5e2524a-ea46-4f67-841f-6a9465d9d515_cw5n1h2txyewy",\r\n        "PackageFullName":  "c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.FileExplorer_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "E2A4F912-2574-4A75-9BB0-0D023378592B",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "E2A4F912-2574-4A75-9BB0-0D023378592B_cw5n1h2txyewy",\r\n        "PackageFullName":  "E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.AppResolverUX_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_cw5n1h2txyewy",\r\n        "PackageFullName":  "F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "InputApp",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "InputApp_cw5n1h2txyewy",\r\n        "PackageFullName":  "InputApp_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\InputApp_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.AAD.BrokerPlugin",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.AAD.BrokerPlugin_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.AccountsControl",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.AccountsControl_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.AccountsControl_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.AccountsControl_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.BioEnrollment",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.BioEnrollment_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.BioEnrollment_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.BioEnrollment_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.CredDialogHost",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.CredDialogHost_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.CredDialogHost_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\microsoft.creddialoghost_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.ECApp",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.ECApp_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.ECApp_10.0.16299.15_neutral__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.ECApp_8wekyb3d8bbwe",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.LockApp",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.LockApp_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.LockApp_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.LockApp_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.MicrosoftEdge",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "41.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.MicrosoftEdge_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.MicrosoftEdge_41.16299.15.0_neutral__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.MicrosoftEdge_8wekyb3d8bbwe",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.PPIProjection",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.PPIProjection_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.PPIProjection_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.PPIProjection_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.Apprep.ChxApp",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.Windows.Apprep.ChxApp_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.Apprep.ChxApp_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.AppRep.ChxApp_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.AssignedAccessLockApp",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.Windows.AssignedAccessLockApp_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.AssignedAccessLockApp_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.AssignedAccessLockApp_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.CloudExperienceHost",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.CloudExperienceHost_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.ContentDeliveryManager",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.ContentDeliveryManager_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.Cortana",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1.9.6.16299",\r\n        "PackageFamilyName":  "Microsoft.Windows.Cortana_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.Cortana_1.9.6.16299_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.Cortana_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.HolographicFirstRun",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.HolographicFirstRun_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.HolographicFirstRun_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.HolographicFirstRun_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.OOBENetworkCaptivePortal",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.OOBENetworkCaptivePortal_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.OOBENetworkCaptivePortal_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.OOBENetworkCaptivePortal_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.OOBENetworkConnectionFlow",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.OOBENetworkConnectionFlow_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.OOBENetworkConnectionFlow_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.OOBENetworkConnectionFlow_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.ParentalControls",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.Windows.ParentalControls_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.ParentalControls_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\ParentalControls_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.PeopleExperienceHost",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.PeopleExperienceHost_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.PeopleExperienceHost_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.PeopleExperienceHost_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.PinningConfirmationDialog",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.PinningConfirmationDialog_1000.16299.15.0_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.SecHealthUI",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.SecHealthUI_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.SecHealthUI_10.0.16299.15_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.SecondaryTileExperience",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "",\r\n        "Version":  "10.0.0.0",\r\n        "PackageFamilyName":  "Microsoft.Windows.SecondaryTileExperience_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.SecondaryTileExperience_10.0.0.0_neutral__cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.SecondaryTileExperience_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.SecureAssessmentBrowser",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.SecureAssessmentBrowser_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.SecureAssessmentBrowser_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.Windows.SecureAssessmentBrowser_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.Windows.ShellExperienceHost",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.16299.15",\r\n        "PackageFamilyName":  "Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.Windows.ShellExperienceHost_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\ShellExperienceHost_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.XboxGameCallableUI",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "1000.16299.15.0",\r\n        "PackageFamilyName":  "Microsoft.XboxGameCallableUI_cw5n1h2txyewy",\r\n        "PackageFullName":  "Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\SystemApps\\\\Microsoft.XboxGameCallableUI_cw5n1h2txyewy",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "windows.immersivecontrolpanel",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "10.0.1.1000",\r\n        "PackageFamilyName":  "windows.immersivecontrolpanel_cw5n1h2txyewy",\r\n        "PackageFullName":  "windows.immersivecontrolpanel_10.0.1.1000_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\ImmersiveControlPanel",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Windows.PrintDialog",\r\n        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "cw5n1h2txyewy",\r\n        "Architecture":  11,\r\n        "ResourceId":  "neutral",\r\n        "Version":  "6.2.0.0",\r\n        "PackageFamilyName":  "Windows.PrintDialog_cw5n1h2txyewy",\r\n        "PackageFullName":  "Windows.PrintDialog_6.2.0.0_neutral_neutral_cw5n1h2txyewy",\r\n        "InstallLocation":  "C:\\\\Windows\\\\PrintDialog",\r\n        "IsFramework":  false,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  4,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.NET.Native.Runtime.1.6",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  0,\r\n        "ResourceId":  "",\r\n        "Version":  "1.6.24903.0",\r\n        "PackageFamilyName":  "Microsoft.NET.Native.Runtime.1.6_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.NET.Native.Runtime.1.6_1.6.24903.0_x86__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Program Files\\\\WindowsApps\\\\Microsoft.NET.Native.Runtime.1.6_1.6.24903.0_x86__8wekyb3d8bbwe",\r\n        "IsFramework":  true,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  3,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.NET.Native.Runtime.1.6",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  9,\r\n        "ResourceId":  "",\r\n        "Version":  "1.6.24903.0",\r\n        "PackageFamilyName":  "Microsoft.NET.Native.Runtime.1.6_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.NET.Native.Runtime.1.6_1.6.24903.0_x64__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Program Files\\\\WindowsApps\\\\Microsoft.NET.Native.Runtime.1.6_1.6.24903.0_x64__8wekyb3d8bbwe",\r\n        "IsFramework":  true,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  3,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.NET.Native.Framework.1.6",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  0,\r\n        "ResourceId":  "",\r\n        "Version":  "1.6.24903.0",\r\n        "PackageFamilyName":  "Microsoft.NET.Native.Framework.1.6_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.NET.Native.Framework.1.6_1.6.24903.0_x86__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Program Files\\\\WindowsApps\\\\Microsoft.NET.Native.Framework.1.6_1.6.24903.0_x86__8wekyb3d8bbwe",\r\n        "IsFramework":  true,\r\n        "PackageUserInformation":  [\r\n                                       "S-1-5-21-2745718330-2305986814-2688422969-500 [Administrateur]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [FUTUR\\\\admntwks]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2728 [FUTUR\\\\emipot]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2188 [FUTUR\\\\sanjeh]: Installed",\r\n                                       "S-1-5-21-249900011-1909482850-1660491571-2730 [FUTUR\\\\chrmon]: Installed"\r\n                                   ],\r\n        "IsResourcePackage":  false,\r\n        "IsBundle":  false,\r\n        "IsDevelopmentMode":  false,\r\n        "Dependencies":  [\r\n\r\n                         ],\r\n        "IsPartiallyStaged":  false,\r\n        "SignatureKind":  3,\r\n        "Status":  0\r\n    },\r\n    {\r\n        "Name":  "Microsoft.NET.Native.Framework.1.6",\r\n        "Publisher":  "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",\r\n        "PublisherId":  "8wekyb3d8bbwe",\r\n        "Architecture":  9,\r\n        "ResourceId":  "",\r\n        "Version":  "1.6.24903.0",\r\n        "PackageFamilyName":  "Microsoft.NET.Native.Framework.1.6_8wekyb3d8bbwe",\r\n        "PackageFullName":  "Microsoft.NET.Native.Framework.1.6_1.6.24903.0_x64__8wekyb3d8bbwe",\r\n        "InstallLocation":  "C:\\\\Program File '
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

September 26, 2019 - 09:25

Is it possible to get the code for setup.py please?
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 26, 2019 - 09:54

This is the code provided by TranquilIT during our training

Code: Select all

# -*- coding: utf-8 -*-
from setuphelpers import *
import subprocess
import json

uninstallkey = []

apps = [
    ## default Windows 10 apps
    #'Microsoft.3DBuilder',
    #'Microsoft.Appconnector',
    'Microsoft.BingFinance',
    'Microsoft.BingNews',
    'Microsoft.BingSports',
    'Microsoft.BingWeather',
    #'Microsoft.FreshPaint',
    'Microsoft.Getstarted',
    'Microsoft.MicrosoftOfficeHub',
    'Microsoft.MicrosoftSolitaireCollection',
    #'Microsoft.MicrosoftStickyNotes',
    #'Microsoft.Office.OneNote',
    'Microsoft.OneConnect',
    'Microsoft.People',
    #'Microsoft.SkypeApp',
    #'Microsoft.Windows.Photos',
    'Microsoft.WindowsAlarms',
    #'Microsoft.WindowsCalculator',
    #'Microsoft.WindowsCamera',
    'Microsoft.WindowsMaps',
    'Microsoft.WindowsPhone',
    'Microsoft.WindowsSoundRecorder',
    #'Microsoft.WindowsStore',
    'Microsoft.XboxApp',
    'Microsoft.ZuneMusic',
    'Microsoft.ZuneVideo',
    'microsoft.windowscommunicationsapps',
    'Microsoft.MinecraftUWP',
    'Microsoft.MixedReality.Portal'
    #'Microsoft.ScreenSketch'

    ## Threshold 2 apps
    #'Microsoft.CommsPhone',
    #'Microsoft.ConnectivityStore',
    #'Microsoft.Messaging',
    #'Microsoft.Office.Sway',


    ##Redstone apps
    'Microsoft.BingFoodAndDrink',
    'Microsoft.BingTravel',
    'Microsoft.BingHealthAndFitness',
    'Microsoft.WindowsReadingList',

    ## non-Microsoft
    #'9E2F88E3.Twitter',
    'Flipboard.Flipboard',
    'ShazamEntertainmentLtd.Shazam',
    'king.com.CandyCrushSaga',
    'king.com.CandyCrushSodaSaga',
    'king.com.*',
    'ClearChannelRadioDigital.iHeartRadio',
    '4DF9E0F8.Netflix',
    '6Wunderkinder.Wunderlist',
    'Drawboard.DrawboardPDF',
    '2FE3CB00.PicsArt-PhotoStudio',
    'D52A8D61.FarmVille2CountryEscape',
    'TuneIn.TuneInRadio',
    'TheNewYorkTimes.NYTCrossword',
    'king.com.CandyCrushSag',
    'king.com.CandyCrushSodaSaga',
    '828B5831.HiddenCityMysteryofShadow',
    'Microsoft.Advertising.Xaml',

    ## apps which cannot be removed using Remove-AppxPackage
    #'Microsoft.BioEnrollment',
    #'Microsoft.MicrosoftEdge',
    #'Microsoft.Windows.Cortana',
    #'Microsoft.WindowsFeedback',
    #'Microsoft.XboxGameCallableUI',
    #'Microsoft.XboxIdentityProvider',
    #'Windows.ContactSupport',
    ]


def install():
    print(u'Starting the debloating process...')
    removed = []
    for app in apps:
        print(u"Trying to remove %s"%app)
        result = run_powershell("""\
            Get-AppxPackage -Name %s -AllUsers | Remove-AppxPackage""" % app)
        if result:
            removed.append(app)
        print run_powershell("""\
            Get-AppXProvisionedPackage -Online |
            where DisplayName -EQ %s |
            Remove-AppxProvisionedPackage -Online""" % app)
    old_removed = json.loads(WAPT.read_param(control.package,'[]'))
    print(u'Previously removed by wapt :\n%s' % ('\n'.join(old_removed),))
##    old_removed.extend(removed)
##    WAPT.write_param(control.package,old_removed)

    print(u'Remaining metro apps ;) : ')
    print u'\n'.join(sorted(u'"%(Name)s", # (%(Version)s)",' % app for app in run_powershell('Get-AppxPackage -AllUsers')))

def uninstall():
    old_removed = json.loads(WAPT.read_param(control.package,'[]'))
    print(u'Previously removed by wapt :\n%s' % ('\n'.join(old_removed),))
    for app in old_removed:
        result = run_powershell('Get-AppxPackage -Name %(app)s -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}' % locals())
        print result

- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

September 26, 2019 - 11:14

I confess I'm not entirely sure.

I'll try your package here.

Could you specify which version of Windows 10 you have?
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 26, 2019 - 11:43

It's for Windows 10 1709,


the WAPT script works, the apps are correctly removed, but I don't understand the error.
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

September 28, 2019 - 12:37

By default

run_powershell requests a json output: https://github.com/tranquilit/WAPT/blob ... ws.py#L874

But clearly:

Code: Select all

raise ValueError(u'%s returned non json data:\n%s' % (cmd,result))
...the result returned by PowerShell is not JSON:

https://github.com/tranquilit/WAPT/blob ... ws.py#L883
https://github.com/tranquilit/WAPT/blob ... ws.py#L915

If you run this in a command prompt:

Code: Select all

powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand KABHAGUAdAAtAEEAcABwAHgAUABhAGMAawBhAGcAZQAgAC0AQQBsAGwAVQBzAGUAcgBzACkAIAB8ACAAQwBvAG4AdgBlAHIAdABUAG8ALQBKAHMAbwBuAA== 
Does it return JSON?

For now, we're only excluding the # symbols, but there might be something else?
https://github.com/tranquilit/WAPT/blob ... ws.py#L908
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 30, 2019 - 09:10

I just tested the command in a command prompt and it returned:

Code: Select all

powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand KABHAGUAdAAtAEEAcABwAHgAUABhAGMAawBhAGcAZQAgAC0AQQBsAGwAVQBzAGUAcgBzACkAIAB8ACAAQwBvAG4AdgBlAHIAdABUAG8ALQBKAHMAbwBuAA==
[
    {
        "Name":  "1527c705-839a-4832-9118-54d4Bd6a0c89",
        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",
        "PublisherId":  "cw5n1h2txyewy",
        "Architecture":  11,
        "ResourceId":  "neutral",
        "Version":  "10.0.16299.15",
        "PackageFamilyName":  "1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy",
        "PackageFullName":  "1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",
        "InstallLocation":  "C:\\Windows\\SystemApps\\Microsoft.Windows.FilePicker_cw5n1h2txyewy",
        "IsFramework":  false,
        "PackageUserInformation":  [
                                       "S-1-5-21-888664161-162099856-358032536-500 [Administrateur]: Installed",
                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [F****]: Installed",
                                       "S-1-5-21-249900011-1909482850-1660491571-9938 [F****]: Installed"
                                   ],
        "IsResourcePackage":  false,
        "IsBundle":  false,
        "IsDevelopmentMode":  false,
        "Dependencies":  [

                         ],
        "IsPartiallyStaged":  false,
        "SignatureKind":  4,
        "Status":  0
    },
    {
        "Name":  "c5e2524a-ea46-4f67-841f-6a9465d9d515",
        "Publisher":  "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US",
        "PublisherId":  "cw5n1h2txyewy",
        "Architecture":  11,
        "ResourceId":  "neutral",
        "Version":  "10.0.16299.15",
        "PackageFamilyName":  "c5e2524a-ea46-4f67-841f-6a9465d9d515_cw5n1h2txyewy",
        "PackageFullName":  "c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.16299.15_neutral_neutral_cw5n1h2txyewy",
        "InstallLocation":  "C:\\Windows\\SystemApps\\Microsoft.Windows.FileExplorer_cw5n1h2txyewy",
        "IsFramework":  false,
        "PackageUserInformation":  [
                                       "S-1-5-21-888664161-162099856-358032536-500 [Administrateur]: Installed",
                                       "S-1-5-21-249900011-1909482850-1660491571-1583 [****]: Installed",
                                       "S-1-5-21-249900011-1909482850-1660491571-9938 [****]: Installed"
                                   ],
        "IsResourcePackage":  false,
        "IsBundle":  false,
        "IsDevelopmentMode":  false,
        "Dependencies":  [

                         ],
        "IsPartiallyStaged":  false,
        "SignatureKind":  4,
        "Status":  0
    },
What I don't understand is that we have the same version of Windows deployed on all 400 machines, but only about 100 machines don't correctly run the script
Last edited by Mathieu on Oct 2, 2019 - 5:45 PM, edited 1 time.
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

October 2, 2019 - 9:40 AM

You don't have this type of problem at home? I've run some tests again; some computers accept the script fine, others don't
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

October 2, 2019 - 10:15

Can you contact us (since you have support)? We'll look into it together
Locked