PackageInspector Error 1181

Nicholas 41 Reputation points
2021-01-15T18:07:44.05+00:00

Hello trying to create a catalog file to install a program with WDAC but getting Error:1181 when stopping the packageinspector. I am using a reference machine with a WDAC policy assigned in audit mode. I suspect it has something to do with the file size or amount of time it takes to install the program but am not having any luck finding any info on the error number. Any help would be appriciated.

PackageInspector.exe Stop C: -Name $CatFileName -cdfpath $CatDefName
Error: 1181

Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,929 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jenny Feng 14,151 Reputation points
    2021-01-18T02:39:04.443+00:00

    @Nicholas
    Hi,
    If you see "Error 1181" while stopping the Package Inspector, you'll need to increase your USN journal size and then clear all of the cached data before re-scanning the impacted apps.

    You must make sure that you clear the cache by creating and setting a new temporary policy. If you reuse the same policy, the Package Inspector will fail.

    You could refer to the following link as your reference:
    https://github.com/yannanwang1/win-cpub-itpro-docs/blob/master/windows/keep-secure/getting-apps-to-run-on-device-guard-protected-devices.md
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.