• mech@feddit.orgOP
    link
    fedilink
    English
    arrow-up
    135
    arrow-down
    2
    ·
    2 months ago

    Microsoft says that it is working on a fix but, for now, has provided a couple of workarounds to deal with the issue. First, Microsoft says that restarting the Shell Infrastructure host (SIHost.exe) service will help restore the missing Immersive Shell packages. This can be done with the following commands:

    Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml' -DisableDevelopmentMode  
    Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\Microsoft.UI.Xaml.CBS_8wekyb3d8bbwe\appxmanifest.xml' -DisableDevelopmentMode  
    Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\appxmanifest.xml' -DisableDevelopmentMode  
    

    Second, a PowerShell logon script has been shared that essentially blocks Explorer from launching prematurely until the required packages are fully provisioned. The batch script for that is given below:

    @echo off  
    REM Register MicrosoftWindows.Client.CBS  
    powershell.exe -ExecutionPolicy Bypass -Command "Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\appxmanifest.xml' -DisableDevelopmentMode"
    REM Register Microsoft.UI.Xaml.CBS  
    powershell.exe -ExecutionPolicy Bypass -Command "Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\Microsoft.UI.Xaml.CBS_8wekyb3d8bbwe\appxmanifest.xml' -DisableDevelopmentMode"  
    REM Register MicrosoftWindows.Client.Core  
    powershell.exe -ExecutionPolicy Bypass -Command "Add-AppxPackage -Register -Path 'C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\appxmanifest.xml' -DisableDevelopmentMode"  
    

    I swear to god, if I hear “Windows just works” one more goddamn time…

      • Valmond@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 months ago

        Well compated to others it did kind of just work. Plug&play, USB, most simple peripherics didn’t need a driver to be manually installed and configured.

        Windows 98 I guess.

        • dual_sport_dork 🐧🗡️@lemmy.world
          link
          fedilink
          English
          arrow-up
          12
          ·
          2 months ago

          Windows 98 SE, maybe. We didn’t gain much traction there until about Win2k or XP.

          Windows 98 in its original flavor didn’t even support USB mass storage devices out of the box without drivers. Hands up everyone who remembers having to carry around one of those tiny driver CDs that came in the box with every single Sandisk Cruzer for a couple of years? Yeah? How quickly we forget.

        • AbidanYre@lemmy.world
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          2 months ago

          My recollection is that USB on windows was kind of a dumpster fire until XP. Or maybe that was just printers in general.

    • Goretantath@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      2 months ago

      It does, if you are talking about pre 11, and dont care about internet pre 10. But otherwise fuck Microsoft with a rusty shovel, theyve ruined anything good about windows and make it harder and harder not to switch to steamos, the only reason I don’t is because of the pain of reinstalling everything and not having the drive space to shuffle files to it.

    • 1995ToyotaCorolla@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 months ago

      “Linux is an objectively worse OS because you have to run all kinds of weird commands in an esoteric command line to even get it to work right”

      Meanwhile: windows just works! You just have to run this batch file from some guy on GitHub, download this powershell script from some woman on MSDN, apply these reg hacks, and run this freeware debloat tool, and it’s smooth sailing after that. Well, at least until the next cumulative update which will make you repeat this process all over again. Oh whoops, something you did broke the install. Better sfc /scannow or clean install and try again!