How to pinpoint the exact missing system file ?

Discussion in 'Scripting' started by ceo54, Oct 24, 2019.

  1. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    867
    361
    30
    Hi,

    Some odd behaviour of Win 8.1 (64 bit) system. When trying to run PC Settings (immersive control panel) it appears for a second and minimizes. It logs an error event that Windows.Launch contract failed to start the app.

    I looked on the Internet and as suggested I ran this command elevated
    Code:
    C:\Windows\system32>powershell -ExecutionPolicy Unrestricted Add-AppxPackage -Di
    sableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifes
    t.xml
    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could
    not be registered.
    error 0x8007007E: Failed to load the extension DLL due to the following error:
    The specified module could not be found.
    .
    NOTE: For additional information, look for [ActivityId]
    88d52d8d-8a30-0000-7434-d588308ad501 in the Event Log or use the command line
    Get-AppxLog -ActivityID 88d52d8d-8a30-0000-7434-d588308ad501
    At line:1 char:1
    + Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\Imm ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (C:\Windows\Imme...ppxManifest.xml:S
       tring) [Add-AppxPackage], IOException
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageMa
       nager.Commands.AddAppxPackageCommand
    
    As Command prompt suggested, I went on to look for additional information, I got this:
    Code:
    Time                      ID           Message
    ----                      --           -------
    24-10-2019 11:42:03       301          The calling process is C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    24-10-2019 11:42:03       603          Started deployment Register operation on a package with main parameter:
                                           file:///C:/Windows/ImmersiveControlPanel/AppxManifest.xml and Options: 0. See
                                           http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
                                           deployment issues.
    24-10-2019 11:42:04       10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\01fdc3f2
                                           -aacd-47f6-939a-c18b5cb9a98a_S-1-5-21-2570936675-707174107-337469071-1001_1.rslc
                                            for Register Operation on Package
                                           windows.immersivecontrolpanel_6.2.0.0_neutral_neutral_cw5n1h2txyewy.
    24-10-2019 11:42:04       607          Deployment Register operation on package
                                           windows.immersivecontrolpanel_6.2.0.0_neutral_neutral_cw5n1h2txyewy has been
                                           de-queued and is running for user Toshiba\Danny.
    24-10-2019 11:42:04       613          Adding uri to the list of Uris:
                                           C:\Windows\ImmersiveControlPanel\AppxManifest.xml.
    24-10-2019 11:42:04       324          error 0x8007007E: Failed to load the extension DLL due to the following error:
                                           The specified module could not be found.
                                           .
    24-10-2019 11:42:04       605          The last successful state reached was PackagesInUseClosed. Failure occurred
                                           before reaching the next state RegistrationChanged.
    24-10-2019 11:42:04       324          error 0x8007007E: Failed to load the extension DLL due to the following error:
                                           The specified module could not be found.
                                           .
    24-10-2019 11:42:04       401          Deployment Register operation on Package
                                           windows.immersivecontrolpanel_6.2.0.0_neutral_neutral_cw5n1h2txyewy from:
                                           (C:\Windows\ImmersiveControlPanel\AppxManifest.xml)  failed with error
                                           0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
                                           diagnosing app deployment issues.
    24-10-2019 11:42:04       404          error 0x80073CF6: AppX Deployment operation failed. The specific error text for
                                           this failure is: error 0x8007007E: Failed to load the extension DLL due to the
                                           following error: The specified module could not be found.
                                           .
    24-10-2019 11:42:04       471          error 0x3: Deleting file \\?\C:\Program Files\WindowsApps\Deleted failed.

    I understand I have files missing from system32 folder but that is intentional. I just want to be able to locate the file that's preventing me to use the Immersive Control Panel so I can put it back.

    Any help will be greatly appreciated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,211
    84,860
    340
    You can open C:\Windows\ImmersiveControlPanel\SystemSettings.dll with Dependency Walker or similar tool to see required DLLs
     
  3. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    867
    361
    30
    Thank you abbodi, you're a life saver. It was either the SQMapi.dll or WSService.dll (I'm thinking the later) Anyhow, it's solved now. Thanks a bunch.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...