Windows Server TechCenter > Windows Server Forums > Setup Deployment > WDSMCAST only transfers the metadata and not the WIM file
Ask a questionAsk a question
 

AnswerWDSMCAST only transfers the metadata and not the WIM file

  • Monday, November 02, 2009 3:18 PMMrBeatnik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi all.

    I am making a custom WinPE deployment boot.wim.
    I am using WDSMCAST.exe to connect to a multicast session.

    I have a 2008 R2 server running WDS, and I have a multicast session setup.
    When I run the command from PE, it connects to the multicast session, and transfers for about 10 seconds.
    It completes successfully - during the process I can see the WDS server showing that a multicast is in progress.

    However, the resulting file that I receive on my client machine is only around 1.5Mb, hence why it takes about 10 seconds.
    This is obviously not the full image.


    How can I get WDSMCAST.exe to transfer the full image so I can expand it locally?
    My image is 11918Mb.

    Thanks.

Answers

  • Tuesday, November 03, 2009 1:52 AMAaron Tyler - MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    WDS stores the images in the image store in split WIM format. This means that if you're using wdsmcast.exe to transfer the image, you'll need to transfer both install.wim and res.rwm. Install.wim is the metadata WIM file, and res.rwm is the actual resource WIM file.

    You can then apply the image using imagex.exe using the /REF flag.
    • Marked As Answer byMrBeatnik Tuesday, November 03, 2009 8:42 AM
    •  

All Replies

  • Tuesday, November 03, 2009 1:52 AMAaron Tyler - MS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    WDS stores the images in the image store in split WIM format. This means that if you're using wdsmcast.exe to transfer the image, you'll need to transfer both install.wim and res.rwm. Install.wim is the metadata WIM file, and res.rwm is the actual resource WIM file.

    You can then apply the image using imagex.exe using the /REF flag.
    • Marked As Answer byMrBeatnik Tuesday, November 03, 2009 8:42 AM
    •  
  • Tuesday, November 03, 2009 8:42 AMMrBeatnik Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    Thank you.

    I do have to multicast twice with this (once for the install.wim and the second time for the res.rwm). It's a shame this can't be accomplished in one multicast command, but not too big a deal since the initial file is so small.

    wdsmcast /progress /verbose /Transfer-file /server:myserver /namespace:WDS:"my group/mywim.wim/1" /username:domain/user /sourcefile:"mywim.wim" /destinationfile:c:\install.wim
    
    wdsmcast /progress /verbose /Transfer-file /server:myserver /namespace:WDS:"my group/mywim.wim/1" /username:domain/user /sourcefile:"myres.rwm" /destinationfile:c:\res.rwm
    
    imagex /apply c:\install.wim 1 c:\ /res c:\res.rwm