I'm hitting the exact same issue that Thirumurugan is describing.
In my scenario I have two virtual machines: Win11-23H2 and a Win11-24H2; both have ADK 10.1.22621.1 installed. I launch a command prompt with admin privileges and run the following:
"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\DandISetEnv.bat"
copype amd64 c:\temp\foobar
mkdir c:\temp\mount
dism /Mount-Image /ImageFile:"C:\temp\foobar\media\sources\boot.wim" /index:1 /MountDir:"c:\temp\mount"
dism /Unmount-Image /MountDir:"c:\temp\mount" /commit
Win11-23H2 works great, but Win11-24H2 fails with the same access denied error:
2024-11-19 08:32:43, Info DISM DISM Imaging Provider: PID=12212 TID=10756 The provider VHDManager does not support CreateDismImage on c:\temp\mount - CGenericImagingManager::CreateDismImage
[11124.11852] Received unmount request.
[11124.11852] Unmount complete.
[11124.9212] Wimserv exiting per terminate event.
[11124.9212] Wimserv stopped.
[12212.10756] [0x80070005] FIOEnumerateReparsePoints:(627): Access is denied.
[12212.10756] [0x80070005] CleanupExtractRemainingStubs:(534): Access is denied.
[12212.10756] [0x80070005] WIMUnmountImageHandle:(1683): Access is denied.
[12212.10756] [0x80070005] WIMUnmountImage:(2048): Access is denied.
2024-11-19 08:32:59, Error DISM DISM WIM Provider: PID=12212 TID=10756 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:93 - CWimImage::Unmount(hr:0x80070005)
I do not have a question to add - just adding more information to Thirumurugan's reported issue.