r/exchangeserver • • Oct 27 '26

Always getting "Files in Use" prompt during Exchange SE Security Updates on Windows Server 2019. How to prevent this?

Post image

Hi everyone,

Whenever I try to install security updates for Exchange Subscription Edition (SE) on Windows Server 2019, I consistently get a "Files in Use" setup warning. I've attached a screenshot of the prompt to this post. Has anyone else encountered this recurring issue? I usually just manually stop these specific services and click "Retry", but is there a better practice/script to prepare the OS before applying the SU to prevent this pop-up?

23 Upvotes

20 comments sorted by

19

u/bakura2k3 Oct 27 '26

- Put server in maintenance mode and restart prior to updating
- Close Server Manager etc.
- Run Setup from an elevated cmd

I had to reinstall whole servers cause the updates wouldnt run properly so these are the steps i take to prevent it.

3

u/Verse_Crafter Oct 27 '26

Thanks. I usually install Exchange updates after the Windows Server security updates, so I reboot the server.

1

u/Ooops-I-hid-it-again Oct 27 '26

Are you running a single node or DAG?

1

u/Verse_Crafter Oct 28 '26

We use a DAG.

→ More replies (1)

9

u/CaptainLykke_ Oct 27 '26

Been clicking "Ignore" for the last 3 years. (Had those alao on exchange 2019 updates)

1

u/Verse_Crafter Oct 27 '26

This started happening to me about 3-4 months ago, seemingly on random servers. So, I don’t really understand the logic behind it. Thanks for the tip!

→ More replies (1)
→ More replies (1)

2

u/TiPan1c Oct 27 '26

Did you start the setup.exe from an elevated cmd? If not, this is likely the answer, if i remember correctly.

→ More replies (1)

7

u/SumGuyinOH Oct 27 '26

You can uninstall Message Queueing (MSMQ).

REF: Exchange Server prerequisites, Exchange 2019 system requirements, Exchange SE system requirements, Exchange 2019 requirements, Exchange SE requirements | Microsoft Learn

"The Windows feature Message Queuing (MSMQ) is no longer a requirement for Exchange Server and can be safely uninstalled if it's currently installed:"

From an elevated PowerShell:
Remove-WindowsFeature NET-WCF-MSMQ-Activation45, MSMQ
Then reboot.

(I just ignore the other 3)

3

u/UMustBeNooHere Oct 27 '26

Open Task Manager and see if other users are logged in? Otherwise just kill the processes (by ID) or click Ignore.

2

u/diimaha Oct 27 '26

If you use exchange management shell as ur cmd this will happen

0

u/[deleted] Oct 27 '26

[deleted] — view deleted comment

1

u/Verse_Crafter Oct 28 '26

I do this on our test server, and no issues arise. But in production, I follow the standard procedure: install Windows Server security updates, reboot, and then install the security updates for Exchange.

2

u/Glass_Call982 Oct 27 '26

Nothing wrong with that at all. I do the same even on my dag members. Just put them in maint mode first.