Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle file in-use issues? #188

Open
alexhass opened this issue Jan 9, 2025 · 2 comments
Open

How to handle file in-use issues? #188

alexhass opened this issue Jan 9, 2025 · 2 comments

Comments

@alexhass
Copy link

alexhass commented Jan 9, 2025

The more applications we move from AD deployment to Intune, the more problems we encounter.

Most of the time it seems to be that the users are running the applications while an application upgrade/update is in progress. Let's say Adobe Photoshop (8 GB) is currently running by the user and Intune doesn't care and starts uninstalling/reinstalling an update. Then the setup is broken and I have to manually delete the leftovers that are still on it. With other software random files are missing.

Honestly, I've never had these issues with AD deployments as these installations are done before the user logs on to the computer. Now I have these problems with almost every application that users practically always have open.

Error like "A superseded app failed to uninstall." become normal here.

Is there any recommendation on what is the best solution for this?

I'm wondering if RestartBehavior "basedOnReturnCode" or "allow" is a solution?

@alexhass alexhass changed the title How to hancle file in use issues? How to handle file in use issues? Jan 9, 2025
@alexhass alexhass changed the title How to handle file in use issues? How to handle file in-use issues? Jan 9, 2025
@ukdocCT
Copy link

ukdocCT commented Jan 10, 2025

Hi @alexhass
We are encountering the same issues and have been investigating the PSAppDeploymentToolkit (https://psappdeploytoolkit.com/) which seems to have a lot of features around deferring the install if it finds it running, or giving the user options.

@alexhass
Copy link
Author

Really wondering why MS is not providing an out of the box solution for these serious issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants