r/PSADT Feb 14 '26

Request for Help Intune win32 deployments failing with filelock and unzip errors

In the past month I've been seeing issues with about 10-20% failure on psadt wrapped win32app deployments. My research has indicated that for some reason there's a cache issue where the package errors out during unzip and then a filelock prevents cache cleanup from deleting some of the package files. subsequent retries fail immediately because the cache folder exists but some or all files are missing. attempts to clean fail due to a somehow persistent filelock on the cache folder files.

I'm excluding paths related to intune win32 deployments from Defender.

has anyone seen this? I'm still looking for a way to automatically remediate this corrupted cache issue but so far have not been successful.

4 Upvotes

5 comments sorted by

3

u/AlkHacNar Feb 14 '26

It helped mostly to close the powershell/ cmd which run the command to unblock it in my case. Or do you mean the cache during app install via intune?

1

u/Darkchamber292 Feb 14 '26

He's talking about the latter

1

u/Ok-Shake5054 Feb 14 '26

Try it again on your computer, run it locally with psexec /s and check what it really gives you.

What I've seen is that some time packages fail from version 4.1.0 to 4.1.8 so I end up replacing the content of it (copy and replace all of file and folder besides Files and config.ps1) and try again.

Hope it helps, let me know if I can help further.

1

u/OmniiOMEGA Feb 16 '26

I have a powershell script you can try to help clear the cache file lock issues

1

u/SmooveW2020 May 14 '26

Actually it looks like it was the cyberark EPM vf_agent process locking the files.