So, I've had to upgrade my Windows WIAK to start using it with server 2008 R2, and it seems that imageX is not there anymore, so I've been using DISM, and it is SO SLOW to mount and unmount images. I see the following times with:
boot.wim
mount: ~ 2 minutes (not too bad)
unmount ~ 20 minutes
install.wim
mount ~ 5 minutes
unmount ~ 40 minutes (AND STILL WAITING!)
I've noticed that if I kill the process and reboot the server and try again it will unmount faster. Looking at resource manager, the server is basically sitting idle and not doing anything, so it's not like it's grinding the disks through the image file. Also, this install.wim image that I'm trying to unmount now, it seems to hang at the following:
C:\Documents and Settings\rmfadmin>"C:\Program Files\Windows AIK\Tools\Servicing \Dism.exe" /unmount-wim /Mountdir:D:\mount /commit Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Image File : D:\rmfisher\2008 R2\install.wim Image Index : 1
Then, once it eventually starts showing a progress bar, it runs at an acceptable pace. So, something is causing it to hang when it's first starting this process. This happens with any .wim file I try to mount/unmount. ImageX worked so well!
These are the commands I'm using to mount and unmount:
"C:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /mount-wim /wimfile:"D:\rmfisher\2008 R2\install.wim" /index:1 /mountdir:d:\mount"C:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /unmount-wim /Mountdir:D:\mount /commit
Any ideas would be great! Thanks!
EDIT:
Here is some more infor from the log file I have it generating during unmounting. I have it set at level 4. This is where the log sits when the process shows that it's just sitting at Image Index 1
2011-04-24 10:19:41, Info DISM PID=4360 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct 2011-04-24 10:19:41, Info DISM PID=4360 Scratch directory set to 'C:\DOCUME~1\rmfadmin\LOCALS~1\Temp\1\'. - CDISMManager::put_ScratchDir 2011-04-24 10:19:41, Info DISM PID=4360 Local image session has not been created, creating now. - CDISMManager::CreateLocalImageSession 2011-04-24 10:19:41, Info DISM PID=4360 Attempting to load the Dism stack from "C:\Program Files\Windows AIK\Tools\Servicing" - CDISMManager::LoadImageSession 2011-04-24 10:19:41, Info DISM PID=4360 Successfully loaded the ImageSession at "C:\Program Files\Windows AIK\Tools\Servicing" - CDISMManager::LoadImageSession 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 The requested provider was not found in the Provider Store. - CDISMProviderStore::Internal_GetProvider(hr:0x80004005) 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Image Session: PID=4360 Obtained the local logger instance. Configured the local session to use it. - CDISMImageSession::get_ProviderStore 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Manager: PID=4360 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM.EXE: 2011-04-24 10:19:41, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2011-04-24 10:19:41, Info DISM DISM.EXE: 2011-04-24 10:19:41, Info DISM DISM.EXE: Host machine information: OS Version=5.2.3790, Running architecture=x86, Number of processors=1 2011-04-24 10:19:41, Info DISM DISM.EXE: Executing command line: "C:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /unmount-wim /Mountdir:D:\mount /commit /LogPath:"D:\rmfisher\2008 R2\dismunmountlog.txt" /LogLevel:4 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Loading Provider from location C:\Program Files\Windows AIK\Tools\Servicing\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\Servicing\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Loading Provider from location C:\Program Files\Windows AIK\Tools\Servicing\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\Servicing\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Loading Provider from location C:\Program Files\Windows AIK\Tools\Servicing\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\Servicing\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2011-04-24 10:19:41, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2011-04-24 10:19:41, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager 2011-04-24 10:19:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager. 2011-04-24 10:19:41, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2011-04-24 10:19:41, Info DISM DISM.EXE: FolderManager does not support command lines. 2011-04-24 10:19:41, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2011-04-24 10:19:41, Info DISM DISM.EXE: DISM Log Provider does not support command lines. 2011-04-24 10:19:41, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2011-04-24 10:19:41, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Getting Provider WimManager - CDISMProviderStore::GetProvider 2011-04-24 10:19:41, Info DISM DISM Provider Store: PID=4360 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider