Re: Package remove metro apps
Posté : 25 sept. 2019 - 16:39
Pardon j'ai mal construis ma phrase.
Le script hors WAPT fonctionne-t-il ?
Le script hors WAPT fonctionne-t-il ?
Code : Tout sélectionner
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 '
Code : Tout sélectionner
# -*- 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
Code : Tout sélectionner
raise ValueError(u'%s returned non json data:\n%s' % (cmd,result))
Code : Tout sélectionner
powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -OutputFormat text -EncodedCommand KABHAGUAdAAtAEEAcABwAHgAUABhAGMAawBhAGcAZQAgAC0AQQBsAGwAVQBzAGUAcgBzACkAIAB8ACAAQwBvAG4AdgBlAHIAdABUAG8ALQBKAHMAbwBuAA==
Code : Tout sélectionner
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
},