Hello techs, Information Running VM Workstation 9.02 Installed Windows 7 x64 to virtual drive Audit Mode + Sysprep + Snapshot Final shutdown Ready to capture the image to a .WIM Using "Map Virtual Disks" > mapped the .vmdk to a virtual disk (Drive Z:\) Host PC explorer finds the new virtual hard drive, can view folders. Problem I can't get ImageX to find Z: Try Disk Management, does not display Z: Use DISKPART to list partitions, virtual drives, try attaching virtual hard drive....no luck. I must be new here, any thoughts? I would like to be able to take the reference PC's .vmdk and capture it to a .WIM. (I believe this can be done without resorting to booting WinPE in the VM) Thanks.
1) Install Windows 7 to VM, enter Audit Mode 2) Install Windows Updates 3) Generalize + SysPrep + Final Shutdown 4) Map Virtual Disk in VMware 5) Virtual drive Z:\ visible in Explorer 6) Contents of drive Z:\ 7) Elevated Command Prompt + Dism /Capture-Image /ImageFile:S:\my-windows-partition.wim /CaptureDir:Z:\ /Name:"My Windows partition" 8) Contents of DISM log Code: 2013-05-10 20:39:26, Info DISM PID=3932 TID=5576 Scratch directory set to 'C:\Users\omitted\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir2013-05-10 20:39:26, Info DISM PID=3932 TID=5576 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct 2013-05-10 20:39:26, Info DISM PID=3932 TID=5576 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Manager: PID=3932 TID=5576 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM.EXE: 2013-05-10 20:39:26, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2013-05-10 20:39:26, Info DISM DISM.EXE: 2013-05-10 20:39:26, Info DISM DISM.EXE: Host machine information: OS Version=6.2.9200, Running architecture=amd64, Number of processors=2 2013-05-10 20:39:26, Info DISM DISM.EXE: Dism.exe version: 6.2.9200.16384 2013-05-10 20:39:26, Info DISM DISM.EXE: Executing command line: Dism /Capture-Image /ImageFile:S:\my-windows-partition.wim /CaptureDir:Z:\ /Name:"My Windows partition" 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Loading Provider from location C:\Windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Connecting to the provider located at C:\Windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Loading Provider from location C:\Windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Connecting to the provider located at C:\Windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Loading Provider from location C:\Windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Connecting to the provider located at C:\Windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Loading Provider from location C:\Windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Connecting to the provider located at C:\Windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2013-05-10 20:39:26, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table. 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager 2013-05-10 20:39:26, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager. 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: VHDManager 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: GenericImagingManager 2013-05-10 20:39:26, Info DISM DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager. 2013-05-10 20:39:26, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager 2013-05-10 20:39:26, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager. 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Getting Provider WimManager - CDISMProviderStore::GetProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2013-05-10 20:39:26, Error DISM DISM WIM Provider: PID=3932 TID=5576 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1217 - CWimManager::Capture(hr:0x80070003) 2013-05-10 20:39:26, Error DISM DISM WIM Provider: PID=3932 TID=5576 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:4274 - CWimManager::InternalCmdCaptureBase(hr:0x80070003) 2013-05-10 20:39:26, Error DISM DISM WIM Provider: PID=3932 TID=5576 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070003) 2013-05-10 20:39:26, Error DISM DISM WIM Provider: PID=3932 TID=5576 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1928 - CWimManager::ExecuteCmdLine(hr:0x80070003) 2013-05-10 20:39:26, Error DISM DISM.EXE: WimManager processed the command line but failed. HRESULT=80070003 2013-05-10 20:39:26, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2013-05-10 20:39:26, Info DISM DISM.EXE: 2013-05-10 20:39:26, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2013-05-10 20:39:26, Info DISM DISM.EXE: 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider 2013-05-10 20:39:26, Info DISM DISM Provider Store: PID=3932 TID=5576 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider I would like to be able to map the drive to the host. Next, capture the prepped and ready to go Windows 7 reference to a .WIM using ImageX. Use the .WIM + OSCDIMG to generate an .ISO for multiple installations on several computers.
What are you trying to do? I read something about it being used to install Win 7 quickly to multiple systems.
Thanks but no. I can slip updates just fine, whether using DISM or installing in Windows + Sysprep. The issue is capturing a mounted drive.
Thank you sebus! I ran VMware as an admin > mounted virtual drive > elevated cmd prompt now finds drive Z: no problem. Imaging process is started and 14% completed. You might have been just talking about running the cmd prompt as admin which imaging requires. However, VMware needed the elevated privileges too! Thread Solved!
You can also try VMware Converter, will convert the machine, then you can use that as a template and create more VM's The steps would be Create VM Sysprep and shutdown Use VMware converter to convert it to a new VM Use the create base image to create more VM's
In virtual machine, create partiton D:\ Uses imagex to capture C:\ on D:\ Code: imagex /compress maximum /check /flags "Ultimate" /capture C: D:\install.wim "Windows 7 Ultimate" "Windows 7 Ultimate"