Skip to content

The volume for a file has been externally altered so that the opened file is no longer valid. #42

@RobBerg74

Description

@RobBerg74

I get this error. As soon as I remove this from UnsafePaths the error disappear.

@{
label = "Autodesk";
Paths = "C:\Autodesk";
pubruleGranularity = "pubOnly";
}

Scanning Autodesk:
C:\Autodesk
Get-AppLockerFileInformation : The volume for a file has been externally altered so that the opened file is no longer valid. (Exception from HRESULT: 0x800703EE)
At D:\Temp\AaronLocker-main\AaronLocker\Support\BuildRulesForFilesInWritableDirectories.ps1:235 char:42

  • ... AddRange( @(Get-AppLockerFileInformation -FileType Exe,Dll,Script -Di ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Get-AppLockerFileInformation], FileLoadException
    • FullyQualifiedErrorId : TestAppLockerPolicyCmdlet-FailedProcessingFile,Microsoft.Security.ApplicationId.PolicyManagement.Cmdlets.GetAppLockerFileInformationCmdlet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions