I have installed Microsoft WAIK and the supplementary package. I have on the first technician machine created a winpe bootable image with a set of custom drivers and away i went mounted it added drivers commited the changes and created the .iso. Well I must of done something to the installation afterward by trying to mount and inject another set of drivers...now it will not mount the image and fails at 3 percent and the command line window freezes. The process cannot be killed (Have to log or reboot). It does mount something as there are files in the mount folder. So i thought ill launch another instance and try to inject drivers. It gives me an error about it is an unsupported windows Vista RTM image??? i did imagex cleanup commands dism cleanup commands, uninstalled Windows AIK and the supplentary package and reinstalled it all again. Created a new winpe install directories, used other directories all with the same problems. It always freezes and gives that vista error. On another computer entirely i just installed MS WAIK and the supplementary packaged walked through the MS tech net install and setup walkthroughs and the using DISM the mount fails and freezes again at 3% on this machine ... i googled the hell outta this for over a week. I need help. I am new to this but game to try anything.. 

 

Please see my responses below. 

 

Thanks .. <-- frustrated!

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

have you tried to mount the wim with imagex instead of DISM

Imagex /mountrw thefile.wim 1 c:\temptarget /check

note: if it mounts ok dismount it after to prevent problems

Imagex /unmount c:\temptarget

 

Answered 07/16/2012 by: SMal.tmcc
Red Belt

  • ok so that was a long time... hope you come back to this. here is what i got.
    Updating path to include dism, oscdimg, imagex

    C:\Program Files\Windows AIK\Tools\PETools\
    C:\Program Files\Windows AIK\Tools\PETools\..\AMD64;C:\Program Files\Windows
    AIK\Tools\PETools\..\x86
    C:\Program Files\Windows AIK\Tools\PETools\..\AMD64\Servicing;C:\Program File
    s\Windows AIK\Tools\PETools\..\x86\Servicing;


    C:\Program Files\Windows AIK\Tools\PETools>dism /Get-WimInfo /Wimfile:C:\winpe_a
    md64\install.wim

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 32

    The process cannot access the file because it is being used by another process.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Program Files\Windows AIK\Tools\PETools>dism /Image:C:\winpe_amd64\mount /Add
    -Driver /Driver:C:\temp /Recurse

    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385


    Error: 50

    DISM does not support servicing a Windows Vista RTM or earlier operating system.

    If the operating system is supported check that SSShim.DLL is present.

    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    C:\Program Files\Windows AIK\Tools\PETools>imagex /mountrw c:\winpe_amd64\instal
    l.wim 1 c:\winpe_amd64\images /check

    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 6.1.7600.16385
    Mounting: [c:\winpe_amd64\install.wim, 1] -> [c:\winpe_amd64\images]...
    Error opening file [c:\winpe_amd64\install.wim].
    The process cannot access the file because it is being used by another process.
  • I should note that when i mount it freezes at 1 or 2 % have to reboot. Then in my mount folder i see the files. When i unmount with Dism it freezes and i have to reboot to clear or close the command prompt. And the files are then gone. I cannot add network drivers (only worked the very 1st time), because I get the "Windows does not support servicing a windows Vista or earlier OS error.

    Any insight is appreciated.
Please log in to comment

Answers

1

Solved.

I created the winpe_ia64 directories and used this architecture instead of winpe_amd64 and it mounts and unmounts and injects as it should. Seems like i just picked the wrong arch. for 64bit. Wish i tried this weeksago. 

Does anyone know the difference between these?

Hope this helps another person down the line.

Answered 09/11/2012 by: advkace
Blue Belt

Please log in to comment
0

Okay on another machine i reinstalled Windows AIK, installed the supplementry package, cereated the winpe_amd64 folders copied winpe.wim and created the \ISO\ folders etc. I my first dism command to mount the winpe image and it stalled again on 3% and hanged the cmd gui. Here is the dism log. 

IK\Tools\AMD64\Servicing" - CDISMManager::LoadImageSession

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Manager: PID=1688 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: 

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: 

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=8

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Executing command line: dism  /mount-wim /wimfile:C:\winpe_amd64\winpe /index:1 /MountDir:C:\winpe_amd64\mount

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Getting Provider WimManager - CDISMProviderStore::GetProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 WIM open failed. - CWimImageInfoCollection::Initialize(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimageinfocollection.cpp:70 - CWimImageInfoCollection::CreateWimImageInfoCollection(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 Failed to create the image info collection. - CWimManager::GetImageInfoCollection(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:940 - CWimManager::InternalOpGetImageByIndex(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2239 - CWimManager::InternalCmdMount(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070002)

2012-09-10 11:22:41, Error                 DISM   DISM WIM Provider: PID=1688 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070002)

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: 

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->

2012-09-10 11:22:41, Info                  DISM   DISM.EXE: 

2012-09-10 11:22:41, Info                  DISM   DISM Image Session: PID=1688 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider

2012-09-10 11:22:41, Info                  DISM   DISM Provider Store: PID=1688 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

2012-09-10 11:23:21, Info                  DISM   PID=5952 Scratch directory set to 'C:\Users\jb68\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir

2012-09-10 11:23:21, Info                  DISM   PID=5952 Successfully loaded the ImageSession at "C:\Program Files\Windows AIK\Tools\AMD64\Servicing" - CDISMManager::LoadImageSession

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Manager: PID=5952 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: 

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: 

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=8

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Executing command line: dism  /mount-wim /wimfile:C:\winpe_amd64\winpe.wim /index:1 /MountDir:C:\winpe_amd64\mount

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Loading Provider from location C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Connecting to the provider located at C:\Program Files\Windows AIK\Tools\AMD64\Servicing\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager

2012-09-10 11:23:21, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Getting Provider WimManager - CDISMProviderStore::GetProvider

2012-09-10 11:23:21, Info                  DISM   DISM Provider Store: PID=5952 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

================
Hoping someone can please help me with this. 
 
Thanks, 
Jon
Answered 09/10/2012 by: advkace
Blue Belt

  • Updating path to include dism, oscdimg, imagex

    C:\Program Files\Windows AIK\Tools\PETools\
    C:\Program Files\Windows AIK\Tools\PETools\..\AMD64;C:\Program Files\Windows
    AIK\Tools\PETools\..\x86
    C:\Program Files\Windows AIK\Tools\PETools\..\AMD64\Servicing;C:\Program File
    s\Windows AIK\Tools\PETools\..\x86\Servicing;


    C:\Program Files\Windows AIK\Tools\PETools>

    Also is service path correct if not how do i change this?

    Thanks,
    Jon
Please log in to comment
0

Okay got the same crap happening with ia64 uninstalled and deleted all directories and fully reinstalled winaik and supplementry and cant mount freezes at 3 or 4 or 5% will unmount however. Also compelted blasted it away again and tried with amd64 same crap... i am pretty sure its just a flakey program and i have wasted enough time on it. Back to Norton Ghost i suppose.

Answered 09/25/2012 by: advkace
Blue Belt

Please log in to comment
0

Have you seen this link?

http://technet.microsoft.com/en-us/library/dd744382(WS.10).aspx

You have to use /Remount-Wim

Answered 07/16/2012 by: jagadeish
Red Belt

  • going to update this in a moment.
  • Okay i have done a imagex cleanup and dism cleanup. Then tried to mount fresh and it froze at 1% any ideas? I know if i reboot the mounted files will be in the mount folder but, i wont be able to serivce them.
Please log in to comment
Answer this question or Comment on this question for clarity