Adding patches to an offline .WIM file

Hi guys
I am trying to update my companies Windows Server 2008 R2 x64 install.wim file with some patches I have downloaded from the Microsoft Catalogue.
So a little background, I have taken the install.wim file from the sources directory of our server image which is saved on our deployment server, and I have copied it locally to my PC. I am a domain admin and I am also a local admin on my PC.
I downloaded the latest ADK and ran the Deployment and Imaging Tools Environment tool as an administrator. I mounted the install.wim file to a mount folder with no problems.
When I try to inject a single patch using this command line DISM /image: <mount_directory> /Add-Package /Packagepath: <msu_file> (obviously replacing mount_directory and msu_file with the correct paths) I get the below error.
Image version: 6.17600.16385Processing 1 of 1 – adding package…………(package path details ect)
99.5%
An error occurred applying the Unattend.xml file from the .msu package.
For more information, review the log file.
Error: 0x80070005
Error: 5
Access is denied.
Edited copy of the log file:
2014-11-13 11:02:46, Error                 DISM   DISM Package Manager: PID=9880 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x80070005)
2014-11-13 11:02:46, Error                 DISM   DISM Package Manager: PID=9880 Failed to process package changes in unattend file. - CPackageManagerUnattendHandler::Apply(hr:0x80070005)
2014-11-13 11:02:46, Error                 DISM   DISM Package Manager: PID=9880 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x80070005)
2014-11-13 11:02:46, Error                 DISM   DISM Unattend Manager: PID=9880 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:400 - CUnattendManager::Apply(hr:0x80070005)
2014-11-13 11:02:46, Error                 DISM   DISM Package Manager: PID=9880 Failed applying the unattend file from the MSU package. - CMsuPackage::ApplyMsuUnattend(hr:0x80070005)
2014-11-13 11:02:46, Error                 DISM   DISM Package Manager: PID=9880 Failed to apply the MSU unattend file to the image. - CMsuPackage::Install(hr:0x80070005)
When looking at the Security tab under properties of the mount folder I can see that the account CREATOR OWNER has no permissions. When I tried to give it full control I get access is denied on the following folders:
C:\mount\program files
C:\mount\program files (x86)
C:\mount\windows
If I check the permissions for my account name, it does have full control of the mount folder.
I am wondering if anyone can help me get rid of this error?
Or even better still as I have 63 patches to inject into this .wim file, can anyone suggest an easier way, as I wouldn’t like to sit here all day doing one patch at a time?
Thanks in advance.
Dave

Hi David Smale,
From your current description and base on my experience, it usually caused by the WIM file corrupt, please try to copy a new Wim file then try to patch again, if it not work,
please post your DISM error log, you can refer the following KB to get the DISM log.
This error also can caused by the Mcafee AV.
DISM.exe generates an Error: 5 or Access Denied when VSE 8.8 Access Protection is enabled
https://kc.mcafee.com/corporate/index?page=content&id=KB76867&locale=zh_CN
I’m glad to be of help to you!
*** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control
these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the
use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. ***
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Patching of Embedded OS WIM Files

    Hi Guys,
    I currently have a System Centre Configuration Manager 2012 R2 installation and I have just added the wim file for our HP Thin Clients that run Windows Embedded Standard 7 (WES7).
    When I tried to apply updates to this WIM, it would only pick up on Windows 7 updates and not the Embedded ones. I can see the Software Update groups for both and can see the patches that should be applied, but it looks like it is not seeing the wim as the
    Embedded edition of the OS, but the full version instead.
    Has anyone else had this issue or been able to get it to work?
    When I do a dism /Get-WimInfo, the responses do indicate that it is Embedded for both the Edition and Installation. The only thing I can think of, is that when it looks for updates, it is only looking at the Version number and Architecture which is the same
    between Embedded and Full.
    Any help is appreciated.
    Regards,
    Byron

    Hi,
    Please refer to the link below:
    Add Updates to an Image (Standard 7 SP1)
    http://msdn.microsoft.com/en-US/library/ff794120(v=winembedded.60).aspx
    Also, I suggest you ask it to Windows Embedded Standard forum.
    http://social.msdn.microsoft.com/Forums/en-US/category/embeddedwindows/
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • DISM Windows 8.1 Font to an Offline WIM file?

    Hi Guys
    Really hoping for some advice.
    I have an Offline image of Windows 8.1 x64 (.wim) file which I built, really dont want to have to rebuild it. Anyway can I DISM (or similar) a Font to the right location. The font is Gill Sans.
    I needed to set this as a default across some applications, which is fine, but the image does not have the font.
    Can anyone help me upload it? or do I have to re-capture the image?
    Thanks
    NN

    Here is a one way to test.
    Run the next command for mounting the image file.
    dism /mount-image /imagefile:F:\Images\Winimage.wim /index:1 /mountdir:C:\Temp\Offline
    Then copy the Gill Sans font to the C:\Windows\Fonts folder.
    After that you have to unmount the image file.
    dism /unmount-image /mountdir:C:\Temp\Offline /commit

  • Adding custom WIM files to a bootable thumb drive

    Hi, I have setup an WDS 2008 that works fine for deploying and capturing images over my network. I am trying to find a solution to create a bootable thumb, that would contain those custom images captured with WDS. So what I did until I got stuck: 
    Created a bootable thumb drive from an Windows 7 Pro installation disk, using Se7en Lite. Mounted the custom image in a folder and used "imagex" to append it to the "install.wim" file on the thumb drive. Checked with "imagex /info"
    and indeed the custom image showed with index 5 and description "Windows7_x64_patched". Booted a PC off the thumb drive and got to the screen that asks which version of Windows I would like to install. Here, only one option shows up "Professional",
    which would be the untouched Windows 7 Pro version. So no Basic, Premium or Patched version would show up, even though I can see them and their indexes with "imagex /info".
    Questions:1) Is there an easier/faster way of creating a bootable thumb with multiple custom WIMs? 
    2) If "imagex /append" is a good solution and I'm on the right track, then what I should do so that the appended image would show as an option when installing off the thumb drive?
    Thanks!

    Thank you for your reply! So I edited the ei.cfg file (deleted "Professional" from  [EditionID]. Now it shows me the four untouched versions "Basic", "Home Premium", "Professional" and "Ultimate" but not the custom one. I can still scroll down one more
    row, so there is something without a description available seems. But if i scroll down to the 5th row and press enter, then I get the error: "Windows could not display the image available for installation". Referring to the first question and answer now, if
    I replace the original "install.wim" on the thumb with my custom WIM, then I only have one image, as the WIM container would only have my captured image. So what I was asking is there an easier way to stick MORE THAN ONE installation image on the same bootable
    device, without using the huge time consuming "imagex /append" command?
    Here's a copy of my "imagex /info" on the modified "install.wim" from thumb:
    WIM Information:
    Path:        e:\sources\install.wim
    GUID:        {65caf905-5e50-4a42-900b-5e14084871e9}
    Image Count: 5
    Compression: LZX
    Part Number: 1/1
    Attributes:  0x8
                 Relative path junction
    Available Image Choices:
    <WIM>
      <TOTALBYTES>5643506813</TOTALBYTES>
      <IMAGE INDEX="1">
        <DIRCOUNT>13365</DIRCOUNT>
        <FILECOUNT>64285</FILECOUNT>
        <TOTALBYTES>11710161360</TOTALBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CB8936</HIGHPART>
          <LOWPART>0x131F339A</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CBF8F0</HIGHPART>
          <LOWPART>0x0027D0DC</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>HomeBasic</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <HAL>acpiapic</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>6</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>7601</BUILD>
            <SPBUILD>17514</SPBUILD>
            <SPLEVEL>1</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 7 HOMEBASIC</NAME>
        <DESCRIPTION>Windows 7 HOMEBASIC</DESCRIPTION>
        <FLAGS>HomeBasic</FLAGS>
        <HARDLINKBYTES>4497873056</HARDLINKBYTES>
        <DISPLAYNAME>Windows 7 Home Basic</DISPLAYNAME>
        <DISPLAYDESCRIPTION>Windows 7 Home Basic</DISPLAYDESCRIPTION>
      </IMAGE>
      <IMAGE INDEX="2">
        <DIRCOUNT>13614</DIRCOUNT>
        <FILECOUNT>65339</FILECOUNT>
        <TOTALBYTES>12222587449</TOTALBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CB8936</HIGHPART>
          <LOWPART>0x131F339A</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CBF8F0</HIGHPART>
          <LOWPART>0x236D21C7</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>HomePremium</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <HAL>acpiapic</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>6</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>7601</BUILD>
            <SPBUILD>17514</SPBUILD>
            <SPLEVEL>1</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 7 HOMEPREMIUM</NAME>
        <DESCRIPTION>Windows 7 HOMEPREMIUM</DESCRIPTION>
        <FLAGS>HomePremium</FLAGS>
        <HARDLINKBYTES>4912986404</HARDLINKBYTES>
        <DISPLAYNAME>Windows 7 Home Premium</DISPLAYNAME>
        <DISPLAYDESCRIPTION>Windows 7 Home Premium</DISPLAYDESCRIPTION>
      </IMAGE>
      <IMAGE INDEX="3">
        <DIRCOUNT>13701</DIRCOUNT>
        <FILECOUNT>65851</FILECOUNT>
        <TOTALBYTES>12122886417</TOTALBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CB8936</HIGHPART>
          <LOWPART>0x131F339A</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CE98EE</HIGHPART>
          <LOWPART>0xCA54650A</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>Professional</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <HAL>acpiapic</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>6</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>7601</BUILD>
            <SPBUILD>17514</SPBUILD>
            <SPLEVEL>1</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 7 PROFESSIONAL</NAME>
        <DESCRIPTION>Windows 7 PROFESSIONAL</DESCRIPTION>
        <FLAGS>Professional</FLAGS>
        <HARDLINKBYTES>4786527097</HARDLINKBYTES>
        <DISPLAYNAME>Windows 7 Professional</DISPLAYNAME>
        <DISPLAYDESCRIPTION>Windows 7 Professional</DISPLAYDESCRIPTION>
      </IMAGE>
      <IMAGE INDEX="4">
        <DIRCOUNT>13737</DIRCOUNT>
        <FILECOUNT>66029</FILECOUNT>
        <TOTALBYTES>12285492779</TOTALBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CB8936</HIGHPART>
          <LOWPART>0x131F339A</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CBF8F0</HIGHPART>
          <LOWPART>0x6D7F6938</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>Ultimate</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <HAL>acpiapic</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>6</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>7601</BUILD>
            <SPBUILD>17514</SPBUILD>
            <SPLEVEL>1</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Windows 7 ULTIMATE</NAME>
        <DESCRIPTION>Windows 7 ULTIMATE</DESCRIPTION>
        <FLAGS>Ultimate</FLAGS>
        <HARDLINKBYTES>4947144081</HARDLINKBYTES>
        <DISPLAYNAME>Windows 7 Ultimate</DISPLAYNAME>
        <DISPLAYDESCRIPTION>Windows 7 Ultimate</DISPLAYDESCRIPTION>
      </IMAGE>
      <IMAGE INDEX="5">
        <DIRCOUNT>16853</DIRCOUNT>
        <FILECOUNT>80207</FILECOUNT>
        <TOTALBYTES>17942171343</TOTALBYTES>
        <HARDLINKBYTES>4936766950</HARDLINKBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CE9935</HIGHPART>
          <LOWPART>0x5B788A49</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CE9935</HIGHPART>
          <LOWPART>0x6D5A05EC</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>9</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <EDITIONID>Professional</EDITIONID>
          <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
          <HAL>acpiapic</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>6</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>7601</BUILD>
            <SPBUILD>18015</SPBUILD>
            <SPLEVEL>1</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>Win7Pro_x64_patched_nod</NAME>
      </IMAGE>
    </WIM>

  • How to edit a captured custom .wim file?

    Hi folks,
    I am in process of gaining experience with capturing and deploying Windows 7 SP1 from our WDS server using unattend file.
    Everything is working, since we installed our applications, ran sysprep, and captured a custom .wim file.
    Now we deploy it using unattend file and everything works.
    I am trying to figure out if there is a best practice here for adding applications to this new custom .wim file?
    I've tried deploying this new image to a unit, installed app, and run sysprep but fails with this error:
    A fatal error occurred while trying to sysprep the machine.
    I am thinking this has to do with multiple syspreps or something?
    I am trying to avoid having to use a default install.wim and app install automation with MDT or something like that.  We are strict to WDS only right now.
    Appreciate any comments,
    Thanks!  romatlo

    Offline servicing allows for adding/removing drivers and updates in MSU/CAB files.
    I do not use MDT either. If you want to "install" a new application to an image that is "out of arms" then you will need to install it after deployment. If your image has an answer file, you can mount your image. Then copy the installation files to it or
    you can keep it on a network share. Then in the answer file, you can put in the commands to install it using FirstLogonCommands.
    I typically like to reference a .cmd file in my unattend that I can add/remove commands to finalized images. So if a client wants to install a new program but doesn't want to recreate the image, then I can have it installed that way.
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Description>Set up Service Account</Description>
    <CommandLine>cmd /C start /wait c:\folder\FirstLog.cmd</CommandLine>
    </SynchronousCommand>
    </FirstLogonCommands>

  • DISM Command to retrieve updates from software distribution and apply to wim file

    I'm following
    this guide about slipstreaming updates into a wim file. What im attempting to is what the author outlines in step 2, namely pulling updates from the software distribution folder on a pc that has had the image applied to it and then patched to current. The
    trouble I'm running into is around the command. namely this section DISM
    /image:C:\Mount
    /add-package /packagepath:”%U” Running this command produces a invalid path message. What should be happening is the previous commands
    are telling it to pull in any files name .cab from all of the directories, but this doesn't seem to be working. I can't define this as a static path as there are tons of sub-folders in this directory with the cab files. Am I just doing something wrong? how
    can I accomplish this?

    I'm still having trouble with this. For some reason, it is stripping the % sign. So I am seeing this when I run my batch file:
    /add-package /packagepath:"u"
    or
    /add-package /packagepath:"f"
    Any ideas?

  • How to convert WIM files to PDF?

    I am trying to recover files saved from a back up cd. The files I'm trying to access are saved as a WIM file. I have no idea how to convert them to a pdf or image file.  Please help me.

    WIM is an image file format and you can mount that file and extract the PDF files you are looking for inside the image:
    Start a command prompt (cmd.exe) and run the command:
    Dism /Mount-Image /ImageFile:C:\temp\install.wim /index:1 /MountDir:C:\temp\offline
    After that, you will have all files inside that WIM file in the C:\temp\offline location.
    Blogging about Windows for IT pros at
    www.theexperienceblog.com

  • MDT 2012 import of a windows xp wim file

    Hi, i created using MDT a sysprepped wim image of windows xp Pro x86.
    all went good.
    now when i try to import the wim file in my deployment share it says succes,
    Directory structure is created but the os is not visable in the listed operating systems.
    WIM Information:
    GUID:  {2A7D4A1D-2275-4E40-9533-963E2B80F526}
    Image Count: 1
    Compression: LZX
    Part Number: 1/1
    Attributes: 0x8
      RP_FIX
    Image Index: 1
    Name:  AWS001CDrive
    Files:  18258
    Folders:  1052
    Expanded Size: 2236 MB
    WIM XML Information:
    <WIM>
      <TOTALBYTES>1055994471</TOTALBYTES>
      <IMAGE INDEX="1">
        <DIRCOUNT>1052</DIRCOUNT>
        <FILECOUNT>18258</FILECOUNT>
        <TOTALBYTES>2345533683</TOTALBYTES>
        <HARDLINKBYTES>0</HARDLINKBYTES>
        <CREATIONTIME>
          <HIGHPART>0x01CFE409</HIGHPART>
          <LOWPART>0xFBE4C974</LOWPART>
        </CREATIONTIME>
        <LASTMODIFICATIONTIME>
          <HIGHPART>0x01CFE409</HIGHPART>
          <LOWPART>0xFCCB4C08</LOWPART>
        </LASTMODIFICATIONTIME>
        <WINDOWS>
          <ARCH>0</ARCH>
          <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME>
          <HAL>acpiapic_up</HAL>
          <PRODUCTTYPE>WinNT</PRODUCTTYPE>
          <PRODUCTSUITE></PRODUCTSUITE>
          <LANGUAGES>
            <LANGUAGE>en-US</LANGUAGE>
            <DEFAULT>en-US</DEFAULT>
          </LANGUAGES>
          <VERSION>
            <MAJOR>5</MAJOR>
            <MINOR>1</MINOR>
            <BUILD>2600</BUILD>
            <SPBUILD>5512</SPBUILD>
            <SPLEVEL>3</SPLEVEL>
          </VERSION>
          <SYSTEMROOT>WINDOWS</SYSTEMROOT>
        </WINDOWS>
        <NAME>AWS001CDrive</NAME>
      </IMAGE>
    </WIM>
    please help
    att00000001 0.00000000 [7572] WizardProgress: Buttons disabled  
    00000002 0.00003996 [7572] WorkbenchRunspace.Acquire: busy=1 free=0  
    00000003 0.00009312 [7572] WizardProgress: Starting thread  
    00000004 0.00058514 [7572] WizardProgress: Enabling timer  
    00000005 0.01564251 [7572] Import OS  
    00000006 0.01605643 [7572] Performing operation "import" on Target "Operating system".  
    00000007 0.01889779 [7572] Copying: D:\Windows XPsp3\Operating Systems\CDT001\CDT001.wim to D:\BDD\XPSP3\Deploy\Operating Systems\CDT001\CDT001.wim because destination does not exist  
    00000008 0.02240201 [7572] Copying "D:\Windows XPsp3\Operating Systems\CDT001\CDT001.wim" to "D:\BDD\XPSP3\Deploy\Operating Systems\CDT001\CDT001.wim" (0%) (0)  
    00000009 0.63314098 [7572] Copying "D:\Windows XPsp3\Operating Systems\CDT001\CDT001.wim" to "D:\BDD\XPSP3\Deploy\Operating Systems\CDT001\CDT001.wim" (100%) (100)  
    00000010 0.63607800 [7572] Ignoring exception: System.PlatformNotSupportedException: Operation is not supported on this platform.  
    00000011 0.63607800 [7572]    at Microsoft.BDD.PSSnapIn.Verifier.CheckWim(String subdirectory, String wimFile)  
    00000012 0.63639331 [7572] Import processing finished.  
    00000013 0.63742131 [7572] Operating system added successfully.  
    00000014 0.63752323 [7572] Operating system added successfully.  
    00000015 1.00813878 [7572] WizardProgress: Thread is complete  
    00000016 1.00818348 [7572] WorkbenchRunspace.Release: busy=0 free=1  
    00000017 22.53772736 [7572] DeploymentPointScopeNode.Refresh: DS004:\Operating Systems\x86\Windows XP  
    00000018 22.53774261 [7572] DeploymentPointRefresher.Refresh: DS004:\Operating Systems\x86\Windows XP  
    00000019 22.53777504 [7572] WorkbenchRunspace.Acquire: busy=1 free=0  
    00000020 22.55024147 [7572] GetMDTItems: 0  
    00000021 22.55026817 [7572] GetChildItems: 0  
    00000022 22.55041885 [7572] WorkbenchRunspace.Release: busy=0 free=1  
    00000023 22.55044174 [7572] DeploymentPointRefresher.Refresh: Released runspace  
    00000024 22.55092049 [7572] DeploymentPointView.Refresh: DS004:\Operating Systems\x86\Windows XP  
    00000025 22.55094910 [7572] DeploymentPointRefresher.Refresh: DS004:\Operating Systems\x86\Windows XP  
    00000026 22.55097389 [7572] WorkbenchRunspace.Acquire: busy=1 free=0  
    00000027 22.56624222 [7572] GetMDTItems: 0  
    00000028 22.56626892 [7572] GetChildItems: 0  
    00000029 22.56674194 [7572] WorkbenchRunspace.Release: busy=0 free=1  
    00000030 22.56677055 [7572] DeploymentPointRefresher.Refresh: Released runspace  
    00000031 37.85541916 [7140] 7140: 2014-10-10 09:25:43.661 [CBS]                       IsCacheStillGood: True.  
    10 09:27:44.187 [CBS]                       IsCacheStillGood: True.  ached a screen print if the debug tool during import

    Did you specify the "Flags" switch when capturing the image with ImageX? Should be something.
    https://social.technet.microsoft.com/Forums/en-US/64e7a260-718e-4672-8f22-1c6bb5a1056d/litetouch-deployment-failed-return-code-2147467259-0x80004005?forum=mdt
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • WDS on server 2008 std breaking .WIM files

    Hi,
    SUMMARY - 'Importing images into WDS seems to break them'
    I'm a bit green so i appologise if I'm being stupid. I'm installing and configuring WDS and MDT deployment within a mixed MS 2003 domain environment. We need to be able to deploy 32 bit images and the server will be used for servicing images as well
    as deploying and so (I think) I need to use Server 2008 standard as creating catalogue files on x64 systems for x86 images doesn't work.
    So - the system is:
    Server 2008 standard x86 edition; WDS Deployment Services Role; MDT 2012 Update 1; ADK 8, config manager tools for trace32.exe.
    I have imported win7 boot and install images directly from the original DVD .iso files, both x86 and x64. Both capture and setup images work ok. I've added network drivers to these successfully. I can deploy vanilla win7 x86 and x64 using WDS - this works
    fine.
    So my issue is: I've deployed vanilla windows 7 to a desktop, installed applications, updated config as nessecary etc. Booted using the appropriate capture image and captured a .wim file. I've copied this to my WDS server and imported it as an install
    image. When I try and deploy the image it fails just after the 'expanding windows files' stage. After looking in log files the error seems to be 'selected image file does not have a resource section'.
    I've gone back to the WDS server, exported these image files and tried to mount them using DISM - I get the same error: "1812 The specified image file did not contain a resource section"
    Mounting fails.
    Now I've tried mounting the .wim files using dism BEFORE I import them into WDS and they mount without any issues. As soon as I import them and export them again they will not mount any more.
    Please help, I don't know what else to try! :)
    Some things I've thought but can't find answers to: Can you use 2008 standard to deploy Windows 7 at all? (server is earlier version of windows)
    Is the apparent importing into WDS issue a red herring? Could it be that these images are broken from capture? Is there a way to test this without deploying the image using a USB stick instead of WDS?
    I've tried uninstalling the ADK and installing WAIK instead. Exactly the same result. Here are some choice extracts from dism.log:
    2015-03-02 17:33:18, Info                  CBS    Failed to find a matching version for servicing stack: C:\Users\softset\AppData\Local\Temp\MDTUpdate.2544\Mount\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.16384_none_060a6d2998b13f25\
    [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2015-03-02 17:33:18, Info                  CBS    Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
    2015-03-02 17:33:18, Info                  CBS    Failed to get proc address for CMP_GetServerSideDeviceInstallFlags [HRESULT = 0x8007007f - ERROR_PROC_NOT_FOUND]
    2015-03-02 17:33:18, Info                  CBS    Failed to load CfgMgr32 DLL. [HRESULT = 0x8007007f - ERROR_PROC_NOT_FOUND]
    2015-03-03 15:29:27, Error                 DISM   DISM WIM Provider: PID=2852 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070714)
    2015-03-03 15:29:27, Error                 DISM   DISM WIM Provider: PID=2852 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x80070714)
    2015-03-03 15:29:27, Error                 DISM   DISM WIM Provider: PID=2852 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x80070714)
    2015-03-03 15:29:27, Error                 DISM   DISM WIM Provider: PID=2852 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070714)
    2015-03-03 15:29:27, Error                 DISM   DISM WIM Provider: PID=2852 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070714)
    2015-03-03 15:29:27, Error                 DISM   DISM.EXE: WimManager processed the command line but failed. HRESULT=80070714

    Hello JPNhingy,
    How to do you capture the .wim file?
    About the question: Can you use 2008 standard to deploy Windows 7 at all? The answer is: Yes, you can use the Windows Server 2008 to deploy Windows 7.
    You could create a capturer image in WDS, for more information, please take a look at the following article.
    http://social.technet.microsoft.com/wiki/contents/articles/11680.creating-a-capture-image-in-wds.aspx
    Additionally, you could use the sysprep to generalize the install image.
    https://technet.microsoft.com/en-us/windows/preparing-an-image-using-sysprep-and-imagex.aspx
    Best regards,
    Fangzhou CHEN
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Adding patches to dwm

    I have been using wmii for the past year or so, and decided to switch to dwm due to it's even lighter weight, and better handling of dual heads. I have it all up and running, and there is great arch-specific documentation in the wiki, but decided I wanted to add a patch, push. So, I downloaded the build scripts from abs, downloaded push.c, modified source.h to trigger push, and when I try to build it, I get
    ==> Validating source files with md5sums...
    dwm-5.8.2.tar.gz ... Passed
    config.h ... FAILED
    dwm.desktop ... Passed
    ==> ERROR: One or more files did not pass the validity check!
    How do I implement this patch?
    Thanks.
    Last edited by chapatt (2011-02-20 17:59:02)

    Meyithi wrote:
    See below PKGBUILD for example of adding patch.
    # $Id: PKGBUILD 18861 2010-06-16 09:09:52Z spupykin $
    Are you sure that this works?
    When I tried this, the patched config.h got overwritten by the one that comes with the abs.
    This Version Worked for me
    # $Id: PKGBUILD 18861 2010-06-16 09:09:52Z spupykin $
    # Maintainer: Sergej Pupykin <[email protected]>
    # Contributor: Dag Odenhall <[email protected]>
    # Contributor: Grigorios Bouzakis <[email protected]>
    pkgname=dwm
    pkgver=5.8.2
    pkgrel=2
    pkgdesc="A dynamic window manager for X"
    url="http://dwm.suckless.org"
    arch=('i686' 'x86_64')
    license=('MIT')
    options=(zipman)
    depends=('libx11' 'libxinerama')
    install=dwm.install
    source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz \
    config.h
    dwm.desktop
    dwm-5.9-uselessgap.diff)
    build() {
    cd $srcdir/$pkgname-$pkgver
    cp $srcdir/config.h config.def.h
    patch -Np1 -i ../dwm-5.9-uselessgap.diff || return 1
    sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
    sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
    sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
    make PREFIX=/usr DESTDIR=$pkgdir install || return 1
    install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE && \
    install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README && \
    install -m644 -D $srcdir/dwm.desktop $pkgdir//etc/X11/sessions/dwm.desktop
    md5sums=('f0b422bfeaa812d66c6dd15c3cc92a6b'
    'b2e7ebdeb77ecb075ae67400f70d70b6'
    '939f403a71b6e85261d09fc3412269ee'
    'bf8bf3ed1edc0a72ab77135b73a0c8cc')

  • SCCM 2012: Failed to insert OSD binaries into the WIM file' error when you create a MDT Task Sequence

    Hi,
    When I try to import the MDT boot image X86, I get the following error:
    Started processing.
    Creating boot image.
    Copying WIM file.
    Mounting WIM file.
    WIM file mounted.
    Setting Windows PE system root.
    Set Windows PE system root.
    Set Windows PE scratch space.
    Adding standard components.
    Adding component: winpe-mdac
    Adding extra content from: C:\Users\ADMINI~1.afO\AppData\Local\Temp\3\sfup2yp2.0rt
    Unmounting WIM.
    Copying WIM to the package source directory.
    Creating boot image package.
    Error while importing Microsoft Deployment Toolkit Task Sequence.
    Failed to insert OSD binaries into the WIM file
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException: The SMS Provider reported an error. ---> System.Management.ManagementException: Generic failure
       at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
       at System.Management.ManagementObject.Put(PutOptions options)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
       --- End of inner exception stack trace ---
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
       at Microsoft.BDD.Wizards.SCCM_ImportTaskSequenceTask.DoWork(SmsPageData smspageData, Dictionary`2 data)
    Note: previous x86 image was deleted some time ago.
    Please advise.
    J.
    Jan Hoedt

    This is the error in smsprov.log
    *********** WBEM Missing property TransformAnalysisDate    SMS Provider    16/04/2014 15:11:00    7856 (0x1EB0)
    ************ WBEM Missing property TransformReadiness    SMS Provider    16/04/2014 15:11:00    7856 (0x1EB0)
    Image language ID 1033 and en-US    SMS Provider    16/04/2014 15:11:00    7856 (0x1EB0)
    Image language ID 1033 and en-US    SMS Provider    16/04/2014 15:11:10    7856 (0x1EB0)
    Image language ID 1033 and en-US    SMS Provider    16/04/2014 15:11:19    7856 (0x1EB0)
    ERROR> Error -1073741502 returned to execute the command line: "C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /Image:"C:\windows\TEMP\BootImages\{8AEF81AB-4B11-4AEF-96D3-E90D84D3DA94}\mount" /Add-Package
    /PackagePath:"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-Scripting.cab"    SMS Provider    16/04/2014 15:11:19    7856 (0x1EB0)
    Failed to install required components into the boot image C:\windows\TEMP\BootImages\{8AEF81AB-4B11-4AEF-96D3-E90D84D3DA94}\mount    SMS Provider    16/04/2014 15:11:19    7856 (0x1EB0)
    *~*~e:\nts_sccm_release\sms\siteserver\sdk_provider\smsprov\sspbootimagepackage.cpp(3766) : Failed to insert OSD binaries into the WIM file~*~*    SMS Provider    16/04/2014 15:11:36    7856 (0x1EB0)
    *~*~Failed to insert OSD binaries into the WIM file ~*~*    SMS Provider    16/04/2014 15:11:36    7856 (0x1EB0)
    Auditing: User FAC\administrator called an audited method of an instance of class SMS_BootImagePackage.    SMS Provider    16/04/2014 15:11:36    7856 (0x1EB0)
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=9281008    SMS Provider    16/04/2014 15:11:36    7856 (0x1EB0)
    Jan Hoedt

  • Applied wim file does not correctly boot

    Hi,
    I have to setup a HP DL380 G6 with Windows Server 2008 Enterprise X64. Normally we would do it using PXE boot, but I need to do offline for certain reasons.
    So I booted the server using WinPE, and successfully created a 51200MB disk using diskpart. The wim files are located on an external USB HDD.
    "select disk 0
    clean
    create partition primary size=51200
    assign letter=c:
    format fs=ntfs label="os" quick
    active exit"
    Applying the image using the following commands was successfull:
    "imagex \apply y:\myimage.wim 1 c:
    bootsect /nt60 c: or bootsect /nt52 c:"
    The image always seems to get successfully applied, but when I reboot the machine and it loads the Server OS it just shows the loading bar for a couple of seconds and then the machine reboots.
    I tested this installation on different hardware configuration of HP DL380 G6 machines and also tried it in a HyperV guest.
    On the physical machines I got always the same results, while it worked just fine on a virtual machine.
    This error applies to any OS wim file that I´m using, no matter if it is WinServer 2008 or Win2003, or just a client OS like Win7. And most of the time, not at every boot, they are requesting me to boot from OS DVD and run the repair function.
    Any tips are very much appreciated.
    Regards,
    Eddy

    Hi Eddy,
    In order to narrow down the issue, please provide the information as below.
    1.      
    Is there a hidden or recovery partition on the source or destination computer?
    2.      
    Did you format the drive of the destination computer completely?
    3.      
    How did you capture the image?
    Please run
    bcdedit command in WinPE on the imaged machine. Does it see the C: drive as the boot partition? If not, please run the following command to configure it.
    x:\windows\system32\bcdedit /set {default} device partition=c:
    x:\windows\system32\bcdedit /set {default} osdevice partition=c:
    x:\windows\system32\bcdedit /set {bootmgr} device partition=c:
    You may also try to use an Installation Media to run a startup repair of the computer to fix the problem.
    When you apply the image, please disconnect any external hardwares including network adapter, sound card, usb devices, etc to avoid such
    problems.
    Additionally, you don’t have to run the command “bootsect /nt60 c: or bootsect /nt52 c:” to restore the MBR after
    you apply the image.
    Regards,
    Karen Ji
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • HP Elitebook 820 reboots after loading wim file.

    Hello,
    I am trying to use PXE boot for new models of HP Elitebook (820, 840 and 850), when I run PXE on my 820 model I get to the point where I click F12 to get in, it loads the wim file and welcome screen shows up. This is where it, after a few seconds, reboots
    the computer instead of asking for password as it normally does on older models (8440p, 8470p etc). I have downloaded WinPE drivers from HP SoftPaq Download Manager and added them into the boot image, and updated distribution points.
    Anyone got some suggestions on how to fix this?
    Regards,
    Sindre Winsvold

    Sindre,
    That's probably a bit OTT as there's not need to create a custom boot file. You should be ok with the boot images that come default with SCCM install.
    Take a look at the following blog entry and take a note at the Add Drivers to Boot image section
    http://www.ronnipedersen.com/2012/03/importing-drivers-for-osd-in-configmgr-2012/
    For your custom boot image update - did you enable the 'Deploy this boot image from the PXE enabled distribution point' check box? Also you have to deploy a Task Sequence using that image to the unknown computers collection for it to be picked up as the
    new default boot.wim file. Best to stick with the above if you are stepping into this as a noob.
    Cheers
    Paul | sccmentor.wordpress.com

  • How do I use copyprofile, image manager and create a wim file to Sysprep a reference Windows 8 computer.

    Im trying to deploy a reference machine (configured) to other machines (exact or close image) with different hardware.
    I have successfully used sysprep in out of the box, generalise, shutdown mode although i havent tried to deploy this to another device.  Unfortunately it doesnt copy the profile to default.
    I understand that I have to create an answer file using image manager based on that image, save it to a usb drive and attach this in the sysprep command line when sysprepping it.
    My problem is I dont know how to easily capture an image of windows 8 into a wim file so that i can add this into image manager to create a answer file.  Im also not sure what I have to do in image manager, is it a simple matter of creating and saving
    the answer file or do i have to configure it to copy the profile specifically (theres only one account anyhow).
    I also want to know if i have to attach the drivers or are all the standard drivers put into the sysprep image as standard.  I would like the machine to be an exactly replica, same as doing a clone (but with the drivers for the new machine installed
    so it will boot) same as doing a clone and then repair? If thats possible.
    Any specific instructions on this would be helpful.  I have read the microsft links but they are somewhat confusing.

    I know this is a very late response but I thought I'd post for others who search.
    The easiest way to create the .wim file is via WinPE, this guy's two YouTube videos explain the entire process in detail - 
    Windows 8 ADK Part 1: Capture an OS image - https://www.youtube.com/watch?v=XJ8zKX_8E9w
    Windows 8 ADK Part 2: Windows Image Deployment - https://www.youtube.com/watch?v=HHIvoqSw_FI
    Here's a quick rundown from my notes:
    WINPE
    Create WinPE via imaging tools command prompt
    copype amd64 c:\winpe
    makewinpemedia /iso "c:\winpe" "c:\winpe\winpe64.iso"
    UNATTEND
    Open Windows System Image Manager
    Configure unattend.xml
    Save unattend.xml to sysprep folder
    Create script and save it to sysprep folder to launch sysprep with unattend
    @echo off
    cd C:\Windows\System32\sysprep
    Sysprep /oob /generalize /unattend:C:\Windows\System32\sysprep\unattend.xml
    SYSPREP
    C:\Windows\System32\Sysprep
    Run as administrator
    OOBE/Generalize
    Shutdown
    CONFIGURATION of WINPE
    Set IP - netsh int ip set address "Local Area Connection" static 192.168.1.2 255.255.255.0 192.168.1.1
    Set DNS - netsh int ip set dns name = "Local Area Connection" source = static addr = 192.168.1.4 validate = no
    Map Network Name - net use z:
    \\WindowsADK\reflex\images password /USER:domain.local\username
    DISKPART
    diskpart
    list disk
    select disk zero
    list partition
    select partition 2 (OS partition #)
    Assign letter=S (assigns drive letter to partition)
    Exit
    DISM
    dism /capture-image /imagefile:z:\image.wim /capturedir:s:\ /name:"Windows 8.1 Custom"
    Verify image is saved in the image share (z:)
    http://www.microsoftfanboys.com

  • How to extract data from offline PDF files as batch processing

    Hello.
    I want to use Adobe Interactive forms as batch processing.
    For instances,
    1. Users download offline PDF files.
    2. Users inputs data on their local PCs.
    3. Users upload these PDF files in one folder.
    4. Program can read data form PDF files on that folder. and put data to ERP at night.
    I' d like to know how to implement a program with Java or ABAP.
    Regards.
    Koji.

    Hi,
    It's possible to do it but first be sure that the SAP system can read the directory while your program is executed in background .
    Then you have to read the content of the directory and process each file you found.
    Look at this standard ABAP object cl_gui_frontend_services , you will find method for browsing a directory and retrieve list of file .
    Afterwards you have to process each file , for this have a look at this wiki code sample i wrote for processing inbound mail with adobe interactive form, it should help you [Sample Code for processing Inbound Mail with Adobe Interactive Forms|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCodeforprocessingInboundMailwithAdobeInteractive+Forms]
    Hope this help you .
    Best regards.

Maybe you are looking for