GithubHelp home page GithubHelp logo

dscr_appxpackage's Issues

アプリを削除してもスタートメニューからアプリが消えない

cAppxPackageを使ってUWPアプリの削除を行うと、削除自体は成功するが、スタートメニューのショートカットとピン留めタイルが残ってしまう。
ショートカットをクリックするとアプリが再インストールされて起動する。
ショートカットを右クリック→アンインストールを押しても反応がない

PCの再起動をしても消えない
スタートメニューのタイルデータベースリセット(tdlrecover.exe -reregister -resetlayout -resetcache)も効果なし

DISM Request not supported error on Windows 11 Enterprise while using cAppxProvisionedPackage

Hello mkht,

We are trying to implement DSC using DSCR_AppxPackage module to remove below Appx-ProvisionedPackage

  • Microsoft.549981C3F5F10
  • MicrosoftCorporationII.QuickAssist
  • ZuneVideo
    We have observed that on Windows 11 Enterprise(Version 10.0.22631 Build 22631) DSC is throwing below DISM error

---------------------------------- Error ---------------------------
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsof
t/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer MACHINE21202 with user sid S-1-5-21-2251637962-1192731002-1224426282-11623.
VERBOSE: [LONWV220100]: LCM: [ Start Set ]
VERBOSE: [LONWV220100]: LCM: [ Start Resource ] [[cAppxProvisionedPackage]UnInstall_Cortana]
VERBOSE: [LONWV220100]: LCM: [ Start Test ] [[cAppxProvisionedPackage]UnInstall_Cortana]
VERBOSE: [LONWV220100]: [[cAppxProvisionedPackage]UnInstall_Cortana] Testing existence of App
The request is not supported.
+ CategoryInfo : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.GetAppxProvisionedPackageCommand
+ PSComputerName : localhost

VERBOSE: [LONWV220100]: LCM: [ End Test ] [[cAppxProvisionedPackage]UnInstall_Cortana] in 1.0550 seconds.
The PowerShell DSC resource '[cAppxProvisionedPackage]UnInstall_Cortana' with SourceInfo
'C:\Temp\dsc-win11\src\Scripts\AppXPackage\AppXPackage.ps1::19::9::cAppxProvisionedPackage' threw one or more non-terminating errors while running the Test-TargetResource
functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : NonTerminatingErrorFromProvider
+ PSComputerName : localhost

VERBOSE: [LONWV220100]: LCM: [ End Set ]
The SendConfigurationApply function did not succeed.
+ CategoryInfo : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : MI RESULT 1
+ PSComputerName : localhost

VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 2.516 seconds
------------------------------ End of Error -------------------------

We have verified DISM log but not able to find details of error.

Same DSC Script work on Windows 11 Home Edition. Also other DSC scripts work on Windows 11 Enterprise except related to AppX provisional package removal.

Your inputs are appreciated for troubleshooting. Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.