OSDeploy / OSDBuilder

PowerShell Module
http://osdbuilder.com
MIT License
193 stars 55 forks source link

Error: "The version '21.11.9.1' of module 'OSD' is currently in use. Retry the operation after closing the applications." #69

Open ps959 opened 2 years ago

ps959 commented 2 years ago

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? Screenshot 2021-11-30 125417

ps959 commented 2 years ago

I restarted the server. Same result.

ps959 commented 2 years ago

Just tried doing a fresh install on a Windows 10 VM and I'm getting the same error.

ps959 commented 2 years ago

Any suggestions on this? Same result on two different PCs.

makeitcloudy commented 2 years ago

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 2022-01-11 13_45_41-Window

ps959 commented 2 years ago

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.

ps959 commented 2 years ago

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.