How to Upgrade Office 2021 LTSC to Office 2024 LTSC Without Internet?
Asked by
TechMaverick92
I'm trying to upgrade my Office 2021 LTSC version to Office 2024 LTSC on machines that have no internet access. From what I've gathered, it's necessary to remove the 2021 version first before installing the 2024 version. I've created a configuration.xml file for the removal process. Here's what it looks like:
However, when I run setup.exe with the command to use this remove.xml file, it just sits there for a moment and then returns to the command prompt. I'm executing this in an elevated command prompt where the installer usually works fine. Any suggestions on what I might be missing?
Answers
Here's the configuration we use for the upgrade:
Try this format and see if it helps.
Reply to this answer
It seems you can't launch setup.exe directly from the Command Prompt due to some restriction. Instead, you should run it from the run line. Press and hold Left-CTRL and Left-Shift while hitting Enter to run it as an admin.
PCFixer42: That hasnโt been my experience at all. I regularly run my Office updates through the command prompt.
Reply to this answer
Have you made sure that you've pre-downloaded the Office 2024 installation files? There's a flag you can use in the installation command that helps remove old versions while installing. Double-check the line in your XML; it should read `` โ looks like you might have a typo with an extra question mark there.
Upgr8nGuru: I have pre-downloaded everything. I think I tried the removeMSI flag, but it didnโt work. I just learned about a remove all command that Iโll give a shot.
Reply to this answer
Add your answer
Answers are reviewed before publication.
TechMaverick92: Thanks for this! I'll test it out and see if I can get it working.