Page 1 sur 1

[RESOLU] tis-remove-windows-appx et session setup

Publié : 18 mai 2022 - 13:58
par smandel
Bonjour,

est-il possible de cacher la fenêtre session setup pour ce paquet ou en général ?
L'exécution de ce script étant assez long un utilisateur pourrait fermer la fenêtre.

Personnellement j'utilise cette liste de appx à supprimer, elle me parait plus complète (Win10/Win11) :

Code : Tout sélectionner

apps = [
    # default Windows 10 apps
    "Microsoft.549981C3F5F10", #Cortana
    "Microsoft.3DBuilder",
    "Microsoft.Appconnector",
    "Microsoft.BingFinance",
    "Microsoft.BingNews",
    "Microsoft.BingSports",
    "Microsoft.BingTranslator",
    "Microsoft.BingWeather",
    #"Microsoft.FreshPaint",
    "Microsoft.GamingServices",
    "Microsoft.Microsoft3DViewer",
    "Microsoft.MicrosoftOfficeHub",
    "Microsoft.MicrosoftPowerBIForWindows",
    "Microsoft.MicrosoftSolitaireCollection",
    #"Microsoft.MicrosoftStickyNotes",
    "Microsoft.MinecraftUWP",
    "Microsoft.NetworkSpeedTest",
    "Microsoft.Office.OneNote",
    "Microsoft.People",
    "Microsoft.Print3D",
    "Microsoft.SkypeApp",
    "Microsoft.Wallet",
    #"Microsoft.Windows.Photos",
    "Microsoft.WindowsAlarms",
    #"Microsoft.WindowsCalculator",
    "Microsoft.WindowsCamera",
    "microsoft.windowscommunicationsapps",
    "Microsoft.WindowsMaps",
    "Microsoft.WindowsPhone",
    "Microsoft.WindowsSoundRecorder",
    "Microsoft.WindowsStore",
    "*windowsstore*",
    "Microsoft.Xbox.TCUI",
    "Microsoft.XboxApp",
    "Microsoft.XboxGameOverlay",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.XboxSpeechToTextOverlay",
    "Microsoft.YourPhone",
    "Microsoft.ZuneMusic",
    "Microsoft.ZuneVideo",
    "Microsoft.OneDriveSync",
    "Microsoft.WindowsStore",
    "Microsoft.MicrosoftSolitaireCollection",
    "Microsoft.MicrosoftOfficeHub",
    "MicrosoftTeams",
    "Microsoft.GamingApp",

    # Threshold 2 apps
    "Microsoft.CommsPhone",
    "Microsoft.ConnectivityStore",
    "Microsoft.GetHelp",
    "Microsoft.Getstarted",
    "Microsoft.Messaging",
    "Microsoft.Office.Sway",
    "Microsoft.OneConnect",
    "Microsoft.WindowsFeedbackHub",

    # Creators Update apps
    "Microsoft.Microsoft3DViewer",
    #"Microsoft.MSPaint",

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

    # Redstone 5 apps
    "Microsoft.MixedReality.Portal",
    "Microsoft.ScreenSketch",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.YourPhone",

    # non-Microsoft
    "2FE3CB00.PicsArt-PhotoStudio",
    "46928bounde.EclipseManager",
    "4DF9E0F8.Netflix",
    "613EBCEA.PolarrPhotoEditorAcademicEdition",
    "6Wunderkinder.Wunderlist",
    "7EE7776C.LinkedInforWindows",
    "89006A2E.AutodeskSketchBook",
    "9E2F88E3.Twitter",
    "A278AB0D.DisneyMagicKingdoms",
    "A278AB0D.MarchofEmpires",
    "ActiproSoftwareLLC.562882FEEB491", # next one is for the Code Writer from Actipro Software LLC
    "CAF9E577.Plex",
    "ClearChannelRadioDigital.iHeartRadio",
    "D52A8D61.FarmVille2CountryEscape",
    "D5EA27B7.Duolingo-LearnLanguagesforFree",
    "DB6EA5DB.CyberLinkMediaSuiteEssentials",
    "DolbyLaboratories.DolbyAccess",
    "DolbyLaboratories.DolbyAccess",
    "Drawboard.DrawboardPDF",
    "Facebook.Facebook",
    "Fitbit.FitbitCoach",
    "Flipboard.Flipboard",
    "GAMELOFTSA.Asphalt8Airborne",
    "KeeperSecurityInc.Keeper",
    "NORDCURRENT.COOKINGFEVER",
    "PandoraMediaInc.29680B314EFC2",
    "Playtika.CaesarsSlotsFreeCasino",
    "ShazamEntertainmentLtd.Shazam",
    "SlingTVLLC.SlingTV",
    "SpotifyAB.SpotifyMusic",
    #"TheNewYorkTimes.NYTCrossword",
    "ThumbmunkeysLtd.PhototasticCollage",
    "TuneIn.TuneInRadio",
    "WinZipComputing.WinZipUniversal",
    "XINGAG.XING",
    "flaregamesGmbH.RoyalRevolt2",
    "king.com.*",
    "king.com.BubbleWitch3Saga",
    "king.com.CandyCrushSaga",
    "king.com.CandyCrushSodaSaga",
    "Clipchamp.Clipchamp",
    "AmazonVideo.PrimeVideo",

    # apps which other apps depend on
    "Microsoft.Advertising.Xaml",
]
Merci !

Re: tis-remove-windows-appx et session setup

Publié : 24 mai 2022 - 10:27
par smandel
Svp ?

Merci.

Re: tis-remove-windows-appx et session setup

Publié : 24 mai 2022 - 10:45
par dcardon
réponse courte : non

réponse longue : c'est pas inutile de voir ce qui se passe dans la fenêtre, et il y a des cas où c'est utile de pouvoir le fermer si il y a un soucis avec le script. Donc il faut pas le cacher complètement. La fenêtre cmd est un peu bête et ne permet pas de dire à quoi elle sert elle même, et il faudrait avoir un wrapper lazarus/freepascal pour dire que c'est une fenêtre de configuration de la session et qu'il ne faut pas la fermer (et d'expliquer les conséquences si on le fait quand même).

On a un ticket en interne pour cela, mais c'est pas en haut de la pile en ce moment.

Cordialement,

Denis

Re: [RESOLU] tis-remove-windows-appx et session setup

Publié : 24 mai 2022 - 10:58
par smandel
Merci pour la réponse 👍