Error: "The version '21.11.9.1' of module 'OSD' is currently in use. Retry the operation after closing the applications."
I get the error below when trying to run OSDBuilder - Update
"The version '21.11.9.1' of module 'OSD' is currently in use. Retry the operation after closing th e applications."
Using Windows 2022 server as the host OS.
Any ideas?

I restarted the server. Same result.
Just tried doing a fresh install on a Windows 10 VM and I'm getting the same error.
Any suggestions on this? Same result on two different PCs.
having exactly the same issue with version 21.12.15.1. the strange thing is that it was working somewhere two months ago with version 21.12.1.1, unless I decided to follow https://osdbuilder.osdeploy.com/docs/basics/installation.
removing the modules, and starting from scratch did not help

I have it working now. I think the issue might have been using x64 Powershell ISE instead of x86 Powershell? Or vice versa.... I'm not really sure though.
I had this issue again. I was able to run the update if I use Powershell ISE (x64) with a non elevated powershell account. Then to run the WIM update I had to open up Powershell ISE (X64) from an elevated command prompt.