WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications.

ComputerHabit 1,036 Reputation points
2025-02-14T15:34:54.99+00:00

I can't seem to update modules. I do not know why I keep getting this error.

WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use. Retry the operation after closing the applications.

I'm trying to update Exchange management shell.

Install-Module -Name ExchangeOnlineManagement -Force -AllowClobber

I've tried updating all I can. I've tried what threads and Copilot tell me to and I can't get around it. There is nothing running that would block this.

Windows for business | Windows Server | User experience | PowerShell
{count} vote

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2025-02-14T20:59:52.3133333+00:00

    Search for "WARNING: The version '1.4.8.1' of module 'PackageManagement' is currently in use" and you'll find several posts (mostly in StackOverflow) that have different ways of addressing this.

    Another process may be using the module (like VS Code, for example), or the module may have been installed as "Per user".

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.