AaronLocker icon indicating copy to clipboard operation
AaronLocker copied to clipboard

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

Open RobBerg74 opened this issue 1 year ago • 0 comments

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

RobBerg74 avatar Oct 17 '24 11:10 RobBerg74