System image restore process failed - WSE2012

I need some help. My system drive failed and I'm forced to attempt a recovery using the server backup located on my backup volume. Using a bootable USB stick, I successfully boot in to the installation media, navigate to the repair screen, and select System
Restore. The software attempts to find a suitable backup, which it does and recommends the backup dated 2/5/2013 (about a week ago). I click NEXT, select the EXCLUDE drives to exclude those drives that are part of my storage pool (I've also not selected anything
to exclude. Here's my selection:
Disk 4 - USB STICK w/Install Media
Disk 5 - NEW REPLACEMENT DRIVE (fresh)
Disk 6 - Storage Space
Disk 7 - Storage Space
It reports that Disk 3 is automatically excluded because it contains the backup. So far all this seems in order.
I proceed to click NEXT to get to the final recovery options page. In addition to the server name and date of the backup, I'm presented with the following:
\\?\Volume{824f6b2f-3b3a-11e2-93ed-806e6f6e6963}, C:
Upon clicking FINISH and receiving the warning that all drives will be reformatted and partitioned, I'm presented with a dialog box in about 5 seconds that states the following:
The system image restore failed
An error occurred while performing the recovery operation. Details (link)
Clicking the link presents me with another dialog box that shows various options for ensuring the drive is connected (which it is, Disk 5) and it asks that all USB drives are removed. However, if you remove the installation media, you can't continue anyway.
Here are my questions:
What on in the name of Microsoft is going on here -- has anyone run into this problem before? According to the instructions, this should be super easy. I've reviewed the following: http://technet.microsoft.com/en-us/library/jj593197.aspx
Should I disconnect the Storage Space drives all together, leaving the new system drive, the backup drive and the USB stick and try again?
Should I install a new copy of Windows Server (with storage drives unplugged) and then attempt to restore.
If the backup was corrupt, wouldn't I get a different error message?
What other options can I try?
I've already made a simple volume on the NEW drive as I read elsewhere that solved someone with a Windows 7 recovery that sounded the same. This did not work for me. I've tried to remove the USB drive, and then process complains and says it can't find the
path to the install media.
My server is headless and DVD-less, so USB is the only way I'm going to get this to install. I've also already tried moving my USB stick into just about every USB port available.
Finally, this is a Gigabyte  UEFI motherboard.
Someone smarter than me please step up and show me the light! I can't believe the restore process is failing like this.

A brief update since my last post. I've left all the drives plugged in and decided to replace the bootable USB stick method with the tried-and-true external USB DVD drive. Upon boot, I again attempted the recovery option outlined before. However, this time,
I receive the following message:
Windows cannot restore a system image to a computer that has a different firmware. The system image was created on a computer using BIOS and this computer is using EFI.
I don't believe this is true, but to test the error, I proceeded to configure my BIOS for legacy BIOS support and turned OFF all UEFI support. I again booted to the system and proceeded to attempt the recovery option outlined before. This time, it appeared
to start working, but then resulted in the same exact error message I reported previously just a short 30 seconds later. I attribute this problem to the slower speed of the USB DVD drive.
I reconfigured my system again for UEFI and installed a fresh copy of the WSE2012. This seemed to go without any trouble. Once in the new instance of WSE2012, I attempted to recover from the original backup. At this time, I can only attempt to replace folders
and files and not the entire drive. Needless to say, the process did not complete correctly and I have a half baked of new and my original drive, complete with Dashboard plugins that don't work. The next thing I'm going to try is to install fresh again and
from within WSE2012 attempt to restore from the image again. However, I doubtful that the result will be positive. Stay tuned, more to come.

Similar Messages

  • System Image Restore Fails "No disk that can be used for recovering the system disk can be found"

    Greetings    
                                        - Our critical server image backup Fails on one
    server -
    Two 2008 R2 servers. Both do a nightly "Windows Server Backup" of Bare Metal Recovery, System State, C:, System Reserved partition, to another storage hard drive on the same machine as the source. Active Directory is on the C: The much larger D: data
    partition on each source hard drive is not included.
    Test recovery by disconnecting 500G System drive, booting from 2008R2 Install DVD, recovering to a new 500G SATA hard drive.
    Server A good.
    Server B fails. It finds the backed-up image, & then we can select the date we want. As soon as the image restore is beginning and the timeline appears, it bombs with "The system image restore failed. No disk that can be used for recovering the system
    disk can be found." There is a wordy Details message but none of it seems relevant (we are not using USB etc).
    At some point after this, in one (or two?) of the scenarios below, (I forget exactly where) we also got :
    "The system image restore failed. (0x80042403)"
    The destination drive is Not "Excluded".
    Used   diskpart clean   to remove volumes from destination drive. Recovery still errored.
    Tried a second restore-to drive, same make/model Seagate ST3500418AS, fails.
    Tried the earliest dated B image rather than the most recent, fail.
    The Server B backups show as "Success" each night.
    Copied image from B to the same storage drive on A where the A backup image is kept, and used the A hardware to attempt restore. Now only the latest backup date is available (as would occur normally if we had originally saved the backup to a network location).
    Restore still fails.         It looks like its to do with the image rather than with the hardware.
    Tried unticking "automatically check and update disk error info", still fail.
    Server A  SRP 100MB  C: 50.6GB on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Server B  SRP 100MB  C: 102GB  on Seagate ST3500418AS 465.76GB  Microsoft driver 6.1.7600.16385   write cache off
    Restore-to hard drive is also Seagate ST3500418AS.
    http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/e855ee43-186d-4200-a032-23d214d3d524      Some people report success after diskpart clean, but not us.
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/31595afd-396f-4084-b5fc-f80b6f40dbeb
    "If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring."  Doesnt apply here.
    http://benchmarkreviews.com/index.php?option=com_content&task=view&id=439&Itemid=38&limit=1&limitstart=4
    for 0x80042403 says "The solution is really quite simple: the destination drive is of a lower capacity than the image's source drive." I cant see that here.
    Thank you so much.

    Hello,
    1. While recovering the OS to the new Hard disk, please don't keep the original boot disk attached to the System. There is a Disk signature for each hard disk. The signature will collide if the original boot disk signature is assigned to the new disk.
    You may attach the older disk after recovering the OS. If you want to recover data to the older disk then they should be attached as they were during backup.
    2. Make sure that the new boot disk is attached as the First Boot disk in hardware (IDE/SATA port 0/master) and is the first disk in boot order priority.
    3. In Windows Recovery Env (WinRE) check the Boot disk using: Cmd prompt -> Diskpart.exe -> Select Disk = System. This will show the disk where OS restore will be attempted. If the disk is different than the intended 2 TB disk then swap the disks in
    correct order in the hardware.
    4. Please make sure that the OS is always recovered to the System disk. (Due to an issue: BMR might recover the OS to some other disk if System disk is small in size. Here the OS won't boot. If you belive this is the case, then you should attach the
    bigger sized disk as System disk and/or exclude other disks from recovery). Disk exclusion is provided in System Image Restore/Complete PC Restore UI/cmdline. 
    5. Make sure that Number and Size of disks during restore match the backup config. Apart from boot volumes, some other volumes are also considered critical if there are services/roles installed on them. These disks will be marked critical for recovery and
    should be present with minimum size requirement.
    6. Some other requirements are discussed in following newsgroup threads:
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/871a0216-fbaf-4a0c-83aa-1e02ae90dbe4
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
    Regards,
    Vikas Ranjan [MSFT]
    ------- This information is provided as-is without any warranties, implicit or explicit.-------

  • Windows Backup fails to complete and System shows 29 Restore Points all titled "System Image restore point" but none will work.

    Problems both seemed to appear about the same time and may be related.
    Had backups on an  external drive prior to the problem and appeared to be working. I have since cleaned the external drive in an attempt to start a new backup series but it continues to stop and report backup has failed.
    The System restore was working fine and one day it had changed all the existing Restore Points to "System Image restore point"
    but still showed all the different dates.  In the System Properties window it indicates that there are 0 bytes in "current usages",
    which I assume they are all empty but I can't create any new ones. I get Error code 0x80042308. 
    I have tried the Clean Boot with no results. I use MS Security Essentials for virus protection.
    I have no other symptoms or problems on the PC.
    About ready for a Recovery and start all over.
    George M1

    Hi,
    Your first step should be to run chkdsk /r /f on all the drives in that computer. Shadow copy errors are often caused by disk problems (usually minor) which chkdsk will find and correct.
    Also, this issue can be caused that VSS dlls are corrupted.
    Re-install the VSS dlls by following these steps:
    a. Using command prompt, CD to the WINDOWS\system32 directory
    b. Stop the Volume Shadow Copy service by executing the command "net stop vss"
    c. Register the following DLLs and services by executing these commands:
    regsvr32 ole32.dll
    regsvr32 vss_ps.dll
    Vssvc /Register
    regsvr32 /i swprv.dll
    regsvr32 /i eventcls.dll
    regsvr32 es.dll
    regsvr32 stdprov.dll
    regsvr32 vssui.dll
    regsvr32 msxml.dll
    regsvr32 msxml3.dll
    regsvr32 msxml4.dll
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • Folio13 Windows 7 pro 64, system image, restore fails

    I have (10) HP Folio13, running Windows 7 pro 64, I have used the Windows 7 system tools, to create a system image onto a USB 2.0 external Seagate harddrive. It created fine.. to test it I tried to restore the image onto a different HP Folio13.
    I hooked up an external USB cd-rom/dvd reader/write to either USB ports, and the USB Seagate hard drive to the other free USB port, thats on the HP Folio13. and I'm using a Windows 7 system restore disc.  If the USB cd/dvd write is hooked up to the USB port on the left hand side, it crashes stating it can't find the x:\sources\recovery\tools\hp recovery manager.exe this application has request the runtime to terminate it in an unsual way please contact the application support team for more infomation, if i shutdown and place the cd/dvd drive into the USB port on the right hand side. it works.. and boots correctly but can't find the Windows system image, that exists on the USB external harddrive.  I know that the USB windows system image is valid.. I was able to restore it too a differnet HP laptop a 8560w.. with the same boot disk, but since the HP 8560w has a built in cd reader.. all works well.  I have updated the BIOS to the lastest as of today (F.18) I have updated the USB drivers, I have tired using F11 on the HP Folio and tried to restore it from that, but what comes up, does not support a system image restore, F11 only works for system restores..  I need some aid.. I have a valid Windows 7 system image on a external USB 2.0 hard drive. I would like to restore it to a HP Folio13.

    Hello canadianguy2,
    Your Folio13 is a Business model.  Your issue would be best answered on the HP Enterprise Business Community Forum
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • System Image Utility always fails, why?

    Hi everyone,
    on my clean and fresh install of 10.7.4 Server the System Image Utility always fails to create an image. I want to create a NetInstall image and have put the OS X Lion Installer in /Applications. I can select it in SIU and choose to create a NetInstall image. It asks for the admin pw and always presents an error at the very end: Image creation failed. An unknown error has occured.
    If I select to create a NetBoot image instead it fails directly after clicking on the Create button with this slightly different message: Image creation failed. An error has occured. At least it’s no unknown error…
    Any ideas what might be causing this? I have succesfully created NetInstall images with 10.6 Server and 10.8 Server, but 10.7 Server somehow won’t play nice.
    Thanks
    Björn

    Hi Brian,
    I first deleted the Installer and redownloaded it from the App Store, just to make sure there was no problem with it. Even though I now have the 10.7.4 Installer (had 10.7.0 before) nothing has changed. I then went on to set the log level as suggested. I now get different errors based on the chosen log level.
    Log level set to debug:
    Image creation failed.
    *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
    Log level set to verbose:
    Image creation failed.
    An unknown error has occurred.
    I did not see anything helpful in the logs unfortunately. The only noticeable thing mentioned was: Failed to create image from installer media.
    Any additional ideas? I will attach both logs here, just in case.
    VERBOSE LOG:
    Starting image creation.
    Workflow Started (2012-09-08 14:08:00 +0200)
    Mac OS X Server 10.7.4 (11E53), System Image Utility 10.7.3 (543)
    Starting action: Define Image Source (1.3)
    Finished running action: Define Image Source
    Starting action: Create Image (1.6.2)
    Starting image creation process...
    Create NetInstall Image
    Initiating NetInstall from Installer media.
    Creating working path at /Users/vm/Desktop/NetInstall of Install Mac OS X Lion
    Creating disk image (Size: 4062 MB)
    Finalizing disk image.
    created: /Users/vm/Desktop/NetInstall of Install Mac OS X Lion/NetInstall.dmg
    Attaching disk image
    Copying /Volumes/Mac OS X Install ESD
    Preparing the kernel and boot loader for the boot image
    /Users/vm/Desktop/NetInstall of Install Mac OS X Lion/i386
    /Users/vm/Desktop/NetInstall of Install Mac OS X Lion/i386/x86_64
    Copying /Volumes/Mac OS X Install ESD/boot.efi
    Copying /Volumes/Mac OS X Install ESD/System/Library/CoreServices/PlatformSupport.plist
    Performing post install cleanup
    Detaching disk image
    "disk4" unmounted.
    "disk4" ejected.
    Correcting permissions. 501:20 /Users/vm/Desktop/NetInstall of Install Mac OS X Lion
    Script is done.
    Failed to create image from installer media.
    An unknown error has occurred.
    NetInstall creation failed.
    Image creation process finished...
    Stopping image creation.
    Image creation failed.
    DEBUG LOG:
    Starting image creation.
    Workflow Started (2012-09-08 13:59:22 +0200)
    Mac OS X Server 10.7.4 (11E53), System Image Utility 10.7.3 (543)
    Starting action: Define Image Source (1.3)
    Finished running action: Define Image Source
    Starting action: Create Image (1.6.2)
    Starting image creation process...
    Create NetInstall Image
    Initiating NetInstall from Installer media.
    progressPrefix="_progress"
    ++ progressPrefix=_progress
    scriptsDebugKey="DEBUG"
    ++ scriptsDebugKey=DEBUG
    imageIsUDIFKey="1"
    ++ imageIsUDIFKey=1
    mountPoint=""
    ++ mountPoint=
    ownershipInfoKey="501:20"
    ++ ownershipInfoKey=501:20
    destVolFSType="HFS+"
    ++ destVolFSType=HFS+
    installSource="/Volumes/Mac OS X Install ESD"
    ++ installSource='/Volumes/Mac OS X Install ESD'
    dmgTarget="NetInstall"
    ++ dmgTarget=NetInstall
    destPath="/Users/vm/Desktop/NetInstall of Install Mac OS X Lion"
    ++ destPath='/Users/vm/Desktop/NetInstall of Install Mac OS X Lion'
    dmgVolName="NetInstall"
    ++ dmgVolName=NetInstall
    . "${1}/createCommon.sh"
    + . /tmp/niutemp.Yv8Z6Mqx/createCommon.sh
    # createCommon.sh
    # Common functionality for the Image creation process.
    # sourced in by the various SIU scripts
    # Copyright © 2007-2011 Apple Inc. All rights reserved.
    # Using dscl, create a user account
    AddLocalUser()
    # $1 volume whose local node database to modify
    # $2 long name
    # $3 short name
    # $4 isAdminUser key
    # $5 password data
    # $6 password hint
    # $7 user picture path
    # $8 Language string
    local databasePath="/Local/Default/Users/${3}"
    local targetVol="${1}"
    # Find a free UID between 501 and 599
    for ((i=501; i<600; i++)); do
    output=`/usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -search /Local/Default/Users UniqueID $i`
    # If there is already an account dscl returns it, so we're looking for an empty return value.
    if [ "$output" == "" ]; then
    break
    fi
    done
    # Create the user record
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -create $databasePath
    if [ $? != 0 ]; then
    echo "Failed to create '${databasePath}'."
    return 1
    fi
    # Add long name
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath RealName "${2}"
    if [ $? != 0 ]; then
    echo "Failed to set the RealName."
    return 1
    fi
    # Add PrimaryGroupID
    if [ "${4}" == 1 ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 80
    else
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath PrimaryGroupID 20
    fi
    if [ $? != 0 ]; then
    echo "Failed to set the PrimaryGroupID."
    return 1
    fi
    # Add UniqueID
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UniqueID ${i}
    if [ $? != 0 ]; then
    echo "Failed to set the UniqueID."
    return 1
    fi
    # Add Home Directory entry
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath NFSHomeDirectory /Users/${3}
    if [ $? != 0 ]; then
    echo "Failed to set the NFSHomeDirectory."
    fi
    if [ "${6}" != "" ]; then
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath AuthenticationHint "${6}"
    if [ $? != 0 ]; then
    echo "Failed to set the AuthenticationHint."
    return 1
    fi
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath picture "${7}"
    if [ $? != 0 ]; then
    echo "Failed to set the picture."
    return 1
    fi
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -passwd $databasePath "${5}"
    if [ $? != 0 ]; then
    echo "Failed to set the passwd."
    return 1
    fi
    # Add shell
    /usr/bin/dscl -f "${targetVol}/var/db/dslocal/nodes/Default" localonly -append $databasePath UserShell "/bin/bash"
    if [ $? != 0 ]; then
    echo "Failed to set the UserShell."
    return 1
    fi
    # Create Home directory
    if [ -e "/System/Library/User Template/${8}.lproj/" ]; then
    /usr/bin/ditto "/System/Library/User Template/${8}.lproj/" "${targetVol}/Users/${3}"
    else
    /usr/bin/ditto "/System/Library/User Template/English.lproj/" "${targetVol}/Users/${3}"
    fi
    if [ $? != 0 ]; then
    echo "Failed to copy the User Template."
    return 1
    fi
    /usr/sbin/chown -R $i:$i "${targetVol}/Users/${3}"
    if [ $? != 0 ]; then
    echo "Failed to set ownership on the User folder."
    return 1
    fi
    # Copies a list of files (full paths contained in the file at $1) from source to the path specified in $2
    CopyEntriesFromFileToPath()
    local theFile="$1"
    local theDest="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    /usr/bin/ditto $opt "${FILE}" "${theDest}/${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Copies a list of packages (full path, destination pairs contained in the file at $1) from source to .../System/Installation/Packages/
    CopyPackagesWithDestinationsFromFile()
    local theFile="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    local leafName=`basename "${FILE}"`
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Copying ${FILE}."
    fi
    read SUB_PATH
    /usr/bin/ditto $opt "${FILE}" "${mountPoint}/Packages/${SUB_PATH}${leafName}" || return 1
    fi
    done < "${theFile}"
    return 0
    # Create an installer package in ${1} wrapping the supplied script ${2}
    CreateInstallPackageForScript()
    local tempDir="$1"
    local scriptPath="$2"
    local scriptName=`basename "${scriptPath}"`
    local entryDir=`pwd`
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Create installer for script ${scriptName}"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    fi
    # shouldn't exist on entry...
    if [ -e "${tempDir}/emptyDir" ]; then
    /bin/rm -rf "${tempDir}/emptyDir"
    fi
    # make some directories to work in
    /bin/mkdir $opt -p "${tempDir}/${scriptName}.pkg/Contents/Resources" || return 1
    /bin/mkdir $opt "${tempDir}/emptyDir" || return 1
    # Create Archive.pax.gz
    cd "${tempDir}/emptyDir"
    /bin/pax -w -x cpio -f "${tempDir}/${scriptName}.pkg/Contents/Archive.pax" .
    /usr/bin/gzip "${tempDir}/${scriptName}.pkg/Contents/Archive.pax"
    cd "${entryDir}"
    # Create the Archive.bom file
    /usr/bin/mkbom "${tempDir}/emptyDir/" "${tempDir}/${scriptName}.pkg/Contents/Archive.bom" || return 1
    # Create the Info.plist
    /bin/cat > "${tempDir}/${scriptName}.pkg/Contents/Info.plist" << END
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleIdentifier</key>
    <string>com.apple.server.SystemImageUtility.${scriptName}</string>
    <key>CFBundleShortVersionString</key>
    <string>1</string>
    <key>IFMajorVersion</key>
    <integer>1</integer>
    <key>IFMinorVersion</key>
    <integer>0</integer>
    <key>IFPkgFlagDefaultLocation</key>
    <string>/tmp</string>
    <key>IFPkgFlagInstallFat</key>
    <false/>
    <key>IFPkgFlagIsRequired</key>
    <false/>
    <key>IFPkgFormatVersion</key>
    <real>0.10000000149011612</real>
    </dict>
    </plist>
    END
    echo "pkmkrpkg1" > "${tempDir}/${scriptName}.pkg/Contents/PkgInfo"
    echo "major: 1\nminor: 0" > "${tempDir}/${scriptName}.pkg/Contents/Resources/package_version"
    # Copy the script
    /bin/cp "$scriptPath" "${tempDir}/${scriptName}.pkg/Contents/Resources/postflight"
    # clean up
    /bin/rm -r "${tempDir}/emptyDir"
    return 0
    # Validate or create the requested directory
    CreateOrValidatePath()
    local targetDir="$1"
    if [ ! -d "${targetDir}" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Creating working path at ${targetDir}"
    fi
    /bin/mkdir -p "${targetDir}" || return 1
    fi
    # If any exist, apply any user accounts
    CreateUserAccounts()
    # $1 volume whose local node database to modify
    local count="${#userFullName[*]}"
    local targetVol="${1}"
    if [ $count -gt 0 ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding $count user account(s) to the image"
    fi
    for ((index=0; index<$count; index++)); do
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Adding user ${userFullName[$index]}"
    fi
    #lay down user here
    AddLocalUser "${targetVol}" "${userFullName[$index]}" "${userUnixName[$index]}" "${userIsAdmin[$index]}" "${userPassword[$index]}" "${userPassHint[$index]}" "${userImagePath[$index]}" "${userLanguage[$index]}"
    if [ $? != 0 ]; then
    echo "Failed to create the User '${userUnixName[$index]}'."
    return 1
    fi
    done
    # "touch"
    /usr/bin/touch "${targetVol}/private/var/db/.AppleSetupDone"
    /usr/bin/touch "${targetVol}/Library/Receipts/.SetupRegComplete"
    fi
    # retry the hdiutil detach until we either time out or it succeeds
    retry_hdiutil_detach()
    local mount_point="${1}"
    local tries=0
    local forceAt=0
    local limit=24
    local opt=""
    forceAt=$(($limit - 1))
    while [ $tries -lt $limit ]; do
    tries=$(( tries + 1 ))
    /bin/sleep 5
    echo "Attempting to detach the disk image again..."
    /usr/bin/hdiutil detach "${mount_point}" $opt
    if [ $? -ne 0 ]; then
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${mount_point}"
    fi
    if [ $tries -eq $forceAt ]; then
    echo "Failed to detach disk image at '${mount_point}' normally, adding -force."
    opt="-force"
    fi
    if [ $tries -eq $limit ]; then
    echo "Failed to detach disk image at '${mount_point}'."
    exit 1
    fi
    else
    tries=$limit
    fi
    done
    # Create the dyld shared cache files
    DetachAndRemoveMount()
    local theMount="${1}"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Detaching disk image"
    # Dump a list of any still open files on the mountPoint
    if [ "${scriptsDebugKey}" == "DEBUG" ]; then
    /usr/sbin/lsof +fg "${theMount}"
    fi
    fi
    # Finally detach the image and dispose the mountPoint directory
    /usr/bin/hdiutil detach "${theMount}" || retry_hdiutil_detach "${theMount}" || return 1
    /bin/rmdir "${theMount}" || return 1
    return 0
    # If the pieces exist, enable remote access for the shell image
    EnableRemoteAccess()
    local srcVol="${1}"
    local opt=""
    if [ -e "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Enabling shell image remote access support"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    fi
    # install some things (again which aren't part of BaseSystem) needed for remote ASR installs
    /usr/bin/ditto $opt "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" "${mountPoint}/usr/lib/pam/pam_serialnumber.so.2" || return 1
    if [ -e "${srcVol}/usr/sbin/installer" ]; then
    /usr/bin/ditto $opt "${srcVol}/usr/sbin/installer" "${mountPoint}/usr/sbin/installer" || return 1
    fi
    # copy the sshd config and add our keys to the end of it
    if [ -e "${srcVol}/etc/sshd_config" ]; then
    /bin/cat "${srcVol}/etc/sshd_config" - > "${mountPoint}/etc/sshd_config" << END
    HostKey /private/var/tmp/ssh_host_key
    HostKey /private/var/tmp/ssh_host_rsa_key
    HostKey /private/var/tmp/ssh_host_dsa_key
    END
    fi
    fi
    return 0
    # If it exists, install the sharing names and/or directory binding support to the install image
    HandleNetBootClientHelper()
    local tempDir="${1}"
    local targetVol="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/bindingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Directory Service binding information"
    fi
    /usr/bin/ditto $opt "${tempDir}/bindingNames.plist" "${targetVol}/etc/bindingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/bindingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/bindingNames.plist"
    fi
    if [ -e  "${tempDir}/sharingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Sharing Names support"
    fi
    /usr/bin/ditto $opt "${tempDir}/sharingNames.plist" "${targetVol}/etc/sharingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/sharingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/sharingNames.plist"
    fi
    if [ -e  "${tempDir}/NetBootClientHelper" ]; then
    /usr/bin/ditto $opt "${tempDir}/NetBootClientHelper" "${targetVol}/usr/sbin/NetBootClientHelper" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/usr/sbin/NetBootClientHelper"
    /bin/chmod 555 "${targetVol}/usr/sbin/NetBootClientHelper"
    /usr/bin/ditto $opt "${tempDir}/com.apple.NetBootClientHelper.plist" "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    /bin/chmod 644 "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    # finally, make sure it isn't disabled...
    /usr/libexec/PlistBuddy -c "Delete :com.apple.NetBootClientHelper" "${targetVol}/var/db/launchd.db/com.apple.launchd/overrides.plist" > /dev/null 2>&1
    fi
    return 0
    # If any exist, install configuration profiles to the install image
    InstallConfigurationProfiles()
    local tempDir="${1}"
    local targetVol="${2}"
    local profilesDir="${targetVol}/var/db/ConfigurationProfiles"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/configProfiles.txt" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Configuration Profiles"
    fi
    /bin/mkdir -p "${profilesDir}/Setup" || return 1
    # Make sure the perms are correct
    /usr/sbin/chown root:wheel "${profilesDir}"
    /bin/chmod 755 "${profilesDir}"
    /usr/sbin/chown root:wheel "${profilesDir}/Setup"
    /bin/chmod 755 "${profilesDir}/Setup"
    /usr/bin/touch "${profilesDir}/.profilesAreInstalled"
    CopyEntriesFromFileToPath "${tempDir}/configProfiles.txt" "${profilesDir}/Setup" || return 1
    # Enable MCX debugging
    if [ 1 == 1 ]; then
    if [ -e  "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" ]; then
    /usr/libexec/PlistBuddy -c "Delete :debugOutput" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Delete :collateLogs" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    /usr/libexec/PlistBuddy -c "Add :debugOutput string -2" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    /usr/libexec/PlistBuddy -c "Add :collateLogs string 1" "${targetVol}/Library/Preferences/com.apple.MCXDebug.plist" > /dev/null 2>&1
    fi
    fi
    # Converts a list of scripts (full paths contained in the file at $1) into packages in $3
    InstallScriptsFromFile()
    local tempDir="${1}"
    local theFile="${2}"
    local targetDir="${3}"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Converting scripts into install packages"
    fi
    while read FILE
    do
    if [ -e "${FILE}" ]; then
    # make an installer package out of the script
    CreateInstallPackageForScript "$tempDir" "${FILE}" || return 1
    # copy the resulting package to the Packages directory
    local leafName=`basename "${FILE}"`
    /usr/bin/ditto $opt "${tempDir}/${leafName}.pkg" "${targetDir}/${leafName}.pkg" || return 1
    # clean up
    /bin/rm -r "${tempDir}/${leafName}.pkg"
    fi
    done < "${theFile}"
    return 0
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PostFlightDestination()
    local tempDir="${1}"
    local destDir="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Performing post install cleanup"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    opt="-v"
    fi
    fi
    # delete the DS indices to force reindexing...
    if [ -e "${mountPoint}/var/db/dslocal/indices/Default/index" ]; then
    /bin/rm $opt "${mountPoint}/var/db/dslocal/indices/Default/index"
    fi
    # detach the disk and remove the mount folder
    DetachAndRemoveMount "${mountPoint}"
    if [ $? != 0 ]; then
    echo "Failed to detach and clean up the mount at '${mountPoint}'."
    return 1
    fi
    echo "Correcting permissions. ${ownershipInfoKey} $destDir"
    /usr/sbin/chown -R "${ownershipInfoKey}" "$destDir"
    # Prepare the source by deleting stuff we don't want to copy if sourcing a volume
    PreCleanSource()
    local srcVol="$1"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    opt="-v"
    fi
    fi
    if [ -e "$srcVol/private/var/vm/swapfile*" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Removing swapfiles on $1"
    fi
    /bin/rm $opt "$srcVol/private/var/vm/swapfile*"
    fi
    if [ -d "$srcVol/private/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/tmp/*"
    fi
    if [ -d "$srcVol/private/var/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/var/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/var/tmp/*"
    fi
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out devices and volumes on $1"
    fi
    if [ -d "$srcVol/Volumes" ]; then
    /bin/rm -r $opt "$srcVol/Volumes/*"
    fi
    if [ -d "$srcVol/dev" ]; then
    /bin/rm $opt "$srcVol/dev/*"
    fi
    if [ -d "$srcVol/private/var/run" ]; then
    /bin/rm -r $opt "$srcVol/private/var/run/*"
    fi
    # Copy kernel and build the kext cache on the boot image
    PrepareKernelAndKextCache()
    local srcDir="$1"
    local destDir="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and kext cache for t          /bin/rmdir "${theMount}" || return 1
    return 0
    # If the pieces exist, enable remote access for the shell image
    EnableRemoteAccess()
    local srcVol="${1}"
    local opt=""
    if [ -e "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Enabling shell image remote access support"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    fi
    # install some things (again which aren't part of BaseSystem) needed for remote ASR installs
    /usr/bin/ditto $opt "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" "${mountPoint}/usr/lib/pam/pam_serialnumber.so.2" || return 1
    if [ -e "${srcVol}/usr/sbin/installer" ]; then
    /usr/bin/ditto $opt "${srcVol}/usr/sbin/installer" "${mountPoint}/usr/sbin/installer" || return 1
    fi
    # copy the sshd config and add our keys to the end of it
    if [ -e "${srcVol}/etc/sshd_config" ]; then
    /bin/cat "${srcVol}/etc/sshd_config" - > "${mountPoint}/etc/sshd_config" << END
    HostKey /private/var/tmp/ssh_host_key
    HostKey /private/var/tmp/ssh_host_rsa_key
    HostKey /private/var/tmp/ssh_host_dsa_key
    END
    fi
    fi
    return 0
    # If it exists, install the sharing names and/or directory binding support to the install image
    HandleNetBootClientHelper()
    local tempDir="${1}"
    local targetVol="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/bindingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Directory Service binding information"
    fi
    /usr/bin/ditto $opt "${tempDir}/bindingNames.plist" "${targetVol}/etc/bindingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/bindingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/bindingNames.plist"
    fi
    if [ -e  "${tempDir}/sharingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Sharing Names support"
    fi
    /usr/bin/ditto $opt "${tempDir}/sharingNames.plist" "${targetVol}/etc/sharingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/sharingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/sharingNames.plist"
    fi
    if [ -e  "${tempDir}/NetBootClientHelper" ]; then
    /usr/bin/ditto $opt "${tempDir}/NetBootClientHelper" "${targetVol}/usr/sbin/NetBootClientHelper" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/usr/sbin/NetBootClientHelper"
    /bin/chmod 555 "${targetVol}/usr/sbin/NetBootClientHelper"
    /usr/bin/ditto $opt "${tempDir}/com.apple.NetBootClientHelper.plist" "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    /bin/chmod 644 "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    # finally, make sure it isn't disabled...
    /usr/libexmountPoint=`mktemp -d "/tmp/mnt.XXXXXXXX"`
    errExit()
    echo "Execution of '`basename ${0}`' failed. Cleaning up."
    # detach the disk and remove the mount folder
    DetachAndRemoveMount "${mountPoint}"
    /bin/rm -r "${destPath}"
    exit 1
    # Set up for script debugging
    debug_opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    debug_opt="-v"
    fi
    # Prepare the destination
    CreateOrValidatePath "$destPath" || errExit
    # update progress information
    echo "${progressPrefix}_creatingImage_"
    if [ -e "${installSource}/BaseSystem.dmg" ]; then
    size=$2
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    echo "Creating disk image (Size: $size MB)"
    fi
    /usr/bin/hdiutil create "$destPath/$dmgTarget" -megabytes $size -volname "${dmgVolName}" -uid 0 -gid 80 -mode 1775 -layout "SPUD" -fs "$destVolFSType" -stretch 500g -ov -puppetstrings || errExit
    echo "${progressPrefix}_copyingSource_"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    echo "Attaching disk image"
    fi
    /usr/bin/hdiutil attach "${destPath}/${dmgTarget}.dmg" -owners on -nobrowse -noautoopen -mountpoint "${mountPoint}" -quiet || errExit
    # Copy source Volume base system to
    /usr/bin/ditto $debug_opt "${installSource}" "${mountPoint}" || errExit
    else
    echo "This does not appear to be a Mac OS X Install DVD."
    errExit
    fi
    # If adding any additional packages or scripts
    if [ -e "${1}/OSInstall.collection" ]; then
    /usr/bin/ditto $debug_opt "${1}/OSInstall.collection" "${mountPoint}/Packages/OSInstall.collection" || errExit
    /usr/sbin/chown root:wheel "${mountPoint}/Packages/OSInstall.collection"
    # If adding any additional packages
    if [ -e "${1}/additionalPackages.txt" ]; then
    CopyPackagesWithDestinationsFromFile "${1}/additionalPackages.txt" || errExit
    fi
    # If adding any scripts
    if [ -e "${1}/additionalScripts.txt" ]; then
    InstallScriptsFromFile "${1}" "${1}/additionalScripts.txt" "${mountPoint}/Packages" || errExit
    fi
    fi
    # If it exists, install the partition data onto the install image
    ProcessAutoPartition "${1}" || errExit
    # If it exists, install minstallconfig.xml (AutoInstall data) onto the install image
    ProcessMinInstall "${1}" || errExit
    # update progress information
    echo "${progressPrefix}_buildingBooter_"
    # Copy kernel and boot loader
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and boot loader for the boot image"
    fi
    # make sure this doesn't exist
    if [ -e "${destPath}/i386" ]; then
    /bin/rm -rf "${destPath}/i386"
    fi
    /bin/mkdir -p $debug_opt "${destPath}/i386/x86_64" || errExit
    # copy these directly off the install media
    /usr/bin/ditto $debug_opt "${installSource}/boot.efi" "${destPath}/i386/booter" || errExit
    /usr/bin/chflags nohidden "${destPath}/i386/booter"
    # Grab the relevant portion of the com.apple.Boot.plist
    kernelFlags=`/usr/libexec/PlistBuddy -c "print :'Kernel Flags'" "${installSource}/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"`
    /usr/libexec/PlistBuddy -c "add :'Kernel Flags' string ${kernelFlags}" "${destPath}/i386/com.apple.Boot.plist" > /dev/null 2>&1
    /usr/bin/ditto $debug_opt "${installSource}/System/Library/CoreServices/PlatformSupport.plist" "${destPath}/i386/PlatformSupport.plist" || errExit
    # extract the kernel & kernelcache for the boot shell
    /usr/bin/lipo -extract i386 "${mountPoint}/kernelcache" -output "${destPath}/i386/kernelcache" || errExit
    /usr/bin/lipo -extract x86_64 "${mountPoint}/kernelcache" -output "${destPath}/i386/x86_64/kernelcache" || errExit
    # Apply choice changes, if any
    if [ -e "${1}/MacOSXInstaller.choiceChanges" ]; then
    echo "Copy over package choice selection."
    /usr/bin/ditto $debug_opt "${1}/MacOSXInstaller.choiceChanges" "${mountPoint}/Packages/Extras/MacOSXInstaller.choiceChanges"
    fi
    # update progress information
    echo "${progressPrefix}_finishingUp_"
    # perform the final cleanup
    PostFlightDestination "${1}" "$destPath" || errExit
    errExit
    Vol/private/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/tmp/*"
    fi
    if [ -d "$srcVol/private/var/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/var/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/var/tmp/*"
    fi
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out devices and volumes on $1"
    fi
    if [ -d "$srcVol/Volumes" ]; then
    /bin/rm -r $opt "$srcVol/Volumes/*"
    fi
    if [ -d "$srcVol/dev" ]; then
    /bin/rm $opt "$srcVol/dev/*"
    fi
    if [ -d "$srcVol/private/var/run" ]; then
    /bin/rm -r $opt "$srcVol/private/var/run/*"
    fi
    # Copy kernel and build the kext cache on the boot image
    PrepareKernelAndKextCache()
    local srcDir="$1"
    local destDir="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and kext cache for tPERCENT:0.000000
    PERCENT:4.332841
    PERCENT:8.985722
    PERCENT:12.358444
    PERCENT:14.524864
    PERCENT:16.617430
    PERCENT:19.522402
    PERCENT:21.614967
    PERCENT:23.535204
    PERCENT:26.070902
    PERCENT:29.271296
    PERCENT:33.111767
    PERCENT:38.847858
    PERCENT:42.343674
    PERCENT:44.707043
    PERCENT:46.578041
    PERCENT:49.138355
    PERCENT:51.772526
    PERCENT:55.563763
    PERCENT:58.567207
    PERCENT:62.210735
    PERCENT:64.795670
    PERCENT:69.719353
    PERCENT:74.741508
    PERCENT:77.055641
    PERCENT:79.591331
    PERCENT:83.013290
    PERCENT:85.548988
    PERCENT:88.010834
    PERCENT:91.728210
    PERCENT:97.710487
    PERCENT:100.000000
    PERCENT:-1.000000
    Finalizing disk image.
    created: /Users/vm/Desktop/NetInstall of Install Mac OS X Lion/NetInstall.dmg
    /bin/rmdir "${theMount}" || return 1
    return 0
    # If the pieces exist, enable remote access for the shell image
    EnableRemoteAccess()
    local srcVol="${1}"
    local opt=""
    if [ -e "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Enabling shell image remote access support"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    fi
    # install some things (again which aren't part of BaseSystem) needed for remote ASR installs
    /usr/bin/ditto $opt "${srcVol}/usr/lib/pam/pam_serialnumber.so.2" "${mountPoint}/usr/lib/pam/pam_serialnumber.so.2" || return 1
    if [ -e "${srcVol}/usr/sbin/installer" ]; then
    /usr/bin/ditto $opt "${srcVol}/usr/sbin/installer" "${mountPoint}/usr/sbin/installer" || return 1
    fi
    # copy the sshd config and add our keys to the end of it
    if [ -e "${srcVol}/etc/sshd_config" ]; then
    /bin/cat "${srcVol}/etc/sshd_config" - > Creating working path at /Users/vm/Desktop/NetInstall of Install Mac OS X Lion
    Creating disk image (Size: 4062 MB)
    /tmp/ssh_host_dsa_key
    END
    fi
    fi
    return 0
    # If it exists, install the sharing names and/or directory binding support to the install image
    HandleNetBootClientHelper()
    local tempDir="${1}"
    local targetVol="${2}"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    opt="-v"
    fi
    if [ -e  "${tempDir}/bindingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Directory Service binding information"
    fi
    /usr/bin/ditto $opt "${tempDir}/bindingNames.plist" "${targetVol}/etc/bindingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/bindingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/bindingNames.plist"
    fi
    if [ -e  "${tempDir}/sharingNames.plist" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Installing Sharing Names support"
    fi
    /usr/bin/ditto $opt "${tempDir}/sharingNames.plist" "${targetVol}/etc/sharingNames.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/etc/sharingNames.plist"
    /bin/chmod 644 "${targetVol}/etc/sharingNames.plist"
    fi
    if [ -e  "${tempDir}/NetBootClientHelper" ]; then
    /usr/bin/ditto $opt "${tempDir}/NetBootClientHelper" "${targetVol}/usr/sbin/NetBootClientHelper" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/usr/sbin/NetBootClientHelper"
    /bin/chmod 555 "${targetVol}/usr/sbin/NetBootClientHelper"
    /usr/bin/ditto $opt "${tempDir}/com.apple.NetBootClientHelper.plist" "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist" || return 1
    /usr/sbin/chown root:wheel "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    /bin/chmod 644 "${targetVol}/System/Library/LaunchDaemons/com.apple.NetBootClientHelper.plist"
    # finally, make sure it isn't disabled...
    /usr/libex
    # update progress information
    echo "${progressPrefix}_creatingImage_"
    if [ -e "${installSource}/BaseSystem.dmg" ]; then
    size=$2
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    echo "Creating disk image (Size: $size MB)"
    fi
    /usr/bin/hdiutil create "$destPath/$dmgTarget" -megabytes $size -volname "${dmgVolName}" -uid 0 -gid 80 -mode 1775 -layout "SPUD" -fs "$destVolFSType" -stretch 500g -ov -puppetstrings || errExit
    echo "${progressPrefix}_copyingSource_"
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ] ; then
    echo "Attaching disk image"
    fi
    /usr/bin/hdiutil attach "${destPath}/${dmgTarget}.dmg" -owners on -nobrowse -noautoopen -mountpoint "${mountPoint}" -quiet || errExit
    # Copy source Volume base system to
    /usr/bin/ditto $debug_opt "${installSource}" "${mountPoint}" || errExit
    else
    echo "This does not appear to be a Mac OS X Install DVD."
    errExit
    fi
    # If adding any additional packages or scripts
    if [ -e "${1}/OSInstall.collection" ]; then
    /usr/bin/ditto $debug_opt "${1}/OSInstall.collection" "${mountPoint}/Packages/OSInstall.collection" || errExit
    /usr/sbin/chown root:wheel "${mountPoint}/Packages/OSInstall.collection"
    # If adding any additional packages
    if [ -e "${1}/additionalPackages.txt" ]; then
    CopyPackagesWithDestinationsFromFile "${1}/additionalPackages.txt" || errExit
    fi
    # If adding any scripts
    if [ -e "${1}/additionalScripts.txt" ]; then
    InstallScriptsFromFile "${1}" "${1}/additionalScripts.txt" "${mountPoint}/Packages" || errExit
    fi
    fi
    # If it exists, install the partition data onto the install image
    ProcessAutoPartition "${1}" || errExit
    # If it exists, install minstallconfig.xml (AutoInstall data) onto the install image
    ProcessMinInstall "${1}" || errExit
    # update progress information
    echo "${progressPrefix}_buildingBooter_"
    # Copy kernel and boot loader
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Preparing the kernel and boot loader for the boot image"
    fi
    # make sure this doesn't exist
    if [ -e "${destPath}/i386" ]; then
    /bin/rm -rf "${destPath}/i386"
    fi
    /bin/mkdir -p $debug_opt "${destPath}/i386/x86_64" || errExit
    # copy these directly off the install media
    /usr/bin/ditto $debug_opt "${installSource}/boot.efi" "${destPath}/i386/booter" || errExit
    /usr/bin/chflags nohidden "${destPath}/i386/booter"
    # Grab the relevant portion of the com.apple.Boot.plist
    kernelFlags=`/usr/libexec/PlistBuddy -c "print :'Kernel Flags'" "${installSource}/Library/Preferences/SystemConfiguration/com.apple.Boot.plist"`
    /usr/libexec/PlistBuddy -c "add :'Kernel Flags' string ${kernelFlags}" "${destPath}/i386/com.apple.Boot.plist" > /dev/null 2>&1
    /usr/bin/ditto $debug_opt "${installSource}/System/Library/CoreServices/PlatformSupport.plist" "${destPath}/i386/PlatformSupport.plist" || errExit
    # extract the kernel & kernelcache for the boot shell
    /usr/bin/lipo -extract i386 "${mountPoint}/kernelcache" -output "${destPath}/i386/kernelcache" || errExit
    /usr/bin/lipo -extract x86_64 "${mountPoint}/kernelcache" -output "${destPath}/i386/x86_64/kernelcache" || errExit
    # Apply choice changes, if any
    if [ -e "${1}/MacOSXInstaller.choiceChanges" ]; then
    echo "Copy over package choice selection."
    /usr/bin/ditto $debug_opt "${1}/MacOSXInstaller.choiceChanges" "${mountPoint}/Packages/Extras/MacOSXInstaller.choiceChanges"
    fi
    # update progress information
    echo "${progressPrefix}_finishingUp_"
    # perform the final cleanup
    PostFlightDestination "${1}" "$destPath" || errExit
    rrExit
    # Apply choice changes, if any
    if [ -e "${1}/MacOSXInstaller.choiceChanges" ]; then
    echo "Copy over package choice selection."
    /usr/bin/ditto $debug_opt "${1}/MacOSXInstaller.choiceChanges" "${mountPoint}/Packages/Extras/MacOSXInstaller.choiceChanges"
    fi
    # update progress information
    echo "${progressPrefix}_finishingUp_"
    # perform the final cleanup
    PostFlightDestination "${1}" "$destPath" || errExit
    tDestination "${1}" "$destPath" || errExit
    errExit
    Vol/private/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/tmp/*"
    fi
    if [ -d "$srcVol/private/var/tmp" ]; then
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out /private/var/tmp on $1"
    fi
    /bin/rm -r $opt "$srcVol/private/var/tmp/*"
    fi
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    echo "Cleaning out devices and volumes on $1"
    fi
    if [ -d "$srcVol/Volumes" ]; then
    /bin/rm -r $opt "$srcVol/Volumes/*"
    fi
    if [ -d "$srcVol/dev" ]; then
    /bin/rm $opt "$srcVol/dev/*"
    fi
    if [ -d "$srcVol/private/var/run" ]; then
    /bin/rm -r $opt "$srcVol/private/var/run/*"
    fi
    # Copy kernel and build the kext cache on the boot image
    PrepareKernelAndKextCache()
    local srcDir="$1"
    local destDir="$2"
    local opt=""
    if [ "${scriptsDebugKey}" == "VERBOSE" -o "${scriptsDebugKey}" == "DEBUG" ]; then
    Stopping image creation.
    Terminating script!
    Image creation failed.

  • System image restore new hard drive

    Hard drive failed. Brought new one and are trying to do a system image restore. Boot using Win 7 repair disk. Start image recovery. Runs for a min or two and give me the following error.
    Windows back up failed to extend or mount the file system on the recovered volume. (0x80780124) , I don't have win 7 disk as it did not come with the computer, I did create  a repair disk and several system images as back up but am now stuck.
    Help !
    This question was solved.
    View Solution.

    I feel your pain, I went through several installs of a Samsung SSD. First SSD died within several months, the second one  did too (refurbished btw, Samsung won't give ya a new one) and had to do it again. Myself I keep debating whether to worry over the data I have and just do a complete clean install each time. This last go round I did a 'clone' of the HP provided OS with all the bloatware and junk on it and since have found that there is a way to do a windows only install using ABR(autobackupand restore)utility that'll record all your proprietery data like COA key so when you do an install you won't have to keep verifying it every 90 days...BTDT. Found that one on this forum as a good way to do an OS install and keep the original code applied to the new install. 
    All the really important (to me) stuff I keep on an external hdd or big thumb drive, speaking of which theres a 64 gb 3.0 usb on Amazon for under 30 bucks including shipping, ya can't beat that. All my games and stuff I have on seperate HDDs with none of that RAID business. 
    Found out the hard way in order to use the HP recovery discs the pc has to be put back in its original form. I had put in another drive (solid state) and a better graphics card and better RAM sticks only to find that I had to go back and put all that out of the box stuff back in to get the discs to work....they were giving me red alerts in Command Prompts or CMD.  I had never seen Red CMD it was one of those **bleep** moments,  spending half a day googling led to to someone who had been there and done that (btdt) HP won't let you put their OS on another Hard Drive which I think is stupid..the disc knows if the drive is different therefore the bright red CMD window that blinks in your face and doesn't have the courtesy to tell you to change equipment.Oh well time to quit blathering.

  • Faulty Windows after 'successful' System Image restore to new hard drive.

    This question posted as ' Cut down Win 7 after System Image restore to new HDD'  in the community but no satisfactory answer.  Please may I ask here.
    Win reported a successful System Image creation of C: on my E: drive.  C was replaced with a new 2TB drive (previously 1.5Tb) and the image restored.  Win reported 'successful' restoration of C: immediately followed by the common 'You must restart
    your computer to apply these changes...' which I assumed was just Win taking note of the new drive.
    On running, everything seems fine at first but you start to notice faults.  Most importantly Win doesn't seem to recognise itself.  If you start some of the functions in control panel (eg System Manager) you get a message from User Account
    Control  'Do you want to allow the following program from an unknown publisher to make changes to this computer?'.
    Windows Live Mail won't work.  You get a message 'Windows Live Mail could not be started.  Closing Windows Live Mail.  Your calendar contains corrupt data that is forcing Windows Live Mail to close (0x8E5E0247).'  I have never used the
    calendar function so there shouldn't be any data there.
    Browsing history in IE is there on very first opening but is immediately lost and never recovered.  Favourites are intact but all login details are lost.  All your internet feeds are lost.  Message 'The feed download was interrupted.....' 
    Trying to create new feeds is unsuccessful.     When you try and download something the usual IE message 'Do you want to run or save ... ' comes up at the bottom of the screen but the buttons do not work so you cannot get any downloads.
    Installed non-Windows applications do seem to run OK though I usually switch back to the original drive pretty quick.
    2 x Dell Precision T5500 desktops, both reasonably high spec and more or less identical though one is nearly 3 years old and the other approaching 4.  Both Win7 x64.  The fault identical on both machines.  I have had these drives in and out
    so many times trying to solve this there is a real risk of damaging the disk or lead.  Can anyone suggest what might be wrong or how Win could be fixed??  I assume 2Tb is ok.  Is it normal to get a restart message after a 'Successful' image
    restore message.  I've tried cloning the drive as well but got exactly the same messages and faults.  Next I was going to try creating the image after running something like EndItAll and  then seeing if the image would restore more successfully
    to a different 1.5Tb drive though I don't see this should make any difference.  'Clutching at straws' comes to mind.
    Thanks.

    Hello,  thanks for your interest.
    Yes, principally it's the Windows features which are faulty.  It's not that they don't work at all (except for win live mail which gives that message about being forced to shutdown), rather that there are faulty features.
    All of the functions in control panel, for example, work OK. But when you select them there is this message from user account control ' Do you want to allow the following program from an unknown publisher to make changes to this computer'.   It
    then goes on to give details the oddity being that the publisher is listed as 'Unknown'.  This is the standard User Account Control dialogue but the strange thing is that it is not recognising the functions coming with windows.    If you
    click yes it goes on to open device manager or whichever one it was that you wanted and the function works quite normally.  
    Non windows applications (including Microsoft Office) run normally without the user account control dialogue.  The only oddity I noticed today was that one program seemed to have lost it's licencing information and gave a message that the
    month trial period was up with an invitation to licence.
    Today I tried to restore an image to a replacement 1.5TB disc. (i.e. the same size as the image was made from). The whole process went quite smoothly and Windows seemed to be working without the faults on the replacement drive.     So
    having shown that the image must be OK I tried swapping the 1.5 drive for the 2Tb drive and repeating the restore from the same image.   Immediately on running, Windows gave me the message 'You must restart the computer to apply these changes....
    (which it had not done for the 1.5Tb restoration) and all the old faults were back.   The message might be quite innocent and simply indicate that Windows is taking note or the different size drive but it seems to be associated with the arrival of
    the faults. (The new drive is formatted as for the 1.5Tb with C: and Recovery partitions and the extra space left unallocated).
    No, I have not tried Reinstalling Windows Live Mail yet. Today I was working on the newer machine and my mail is on the older one. It is odd that both machines show exactly the same problem. It must be something to do with the move to a different size disk.   I
    guess I would have to reinstall IE as well as that was the other application that was really faulty.
    Yes, that is the thread I tried in the community but I didn't get any solution.

  • Yoga 13 System Image Restore Fails Due To Excluded Disk

    Hello:
    I am trying to execute a restore from a system image disc created shortly after I installed my principal programs without destroying the OKR partition or files.  However, I  do not want to go all the way back to factory condition at this time.  The issue is that when I attempt to follow the reimage instructions in win 8.1, I am presented with a dialog box that has two check boxes.  The first asks "Format and repartition disk" and the second asks "only restore system drives".  
    Based on everything I've read about preserving the C:/ and D:/ drive partitions, I would have expected to check the second box and not the first.  But the system will not let me make this choice.  Instead, the first box is automatically checked, and greyed out, with a second dialogue asking me if there are any disks I want to exclude from repartitioning.  When following this second dialogue I am asked if I want to exclude Disk 0 (Samsung MZMTD128HAfV -00l1) which has 119Gb of capacity.  If I try to exclude this disk, the operation fails with following error:   "Restore failed because a disk that was critical at backup is excluded"  My question is, if I do not exclude this disk, will the restore operation still leave the D:/ partition intact so I can use OKR in the future.
    I have read quite a bit of imformation here and elsewhere about restoring system images and OKR, but have not seen any discussion about this disalogue, or the fact that I am being forced to reformat and repartition the disk without excluding the d:/ drive.  Other posters have stated that retsoringa  system image will only restore C;? drive, but this dialogue seems to conflict with those statements.  Anyone else have any experience with this operation?
    Thank you,

    Hello:
    I am trying to execute a restore from a system image disc created shortly after I installed my principal programs without destroying the OKR partition or files.  However, I  do not want to go all the way back to factory condition at this time.  The issue is that when I attempt to follow the reimage instructions in win 8.1, I am presented with a dialog box that has two check boxes.  The first asks "Format and repartition disk" and the second asks "only restore system drives".  
    Based on everything I've read about preserving the C:/ and D:/ drive partitions, I would have expected to check the second box and not the first.  But the system will not let me make this choice.  Instead, the first box is automatically checked, and greyed out, with a second dialogue asking me if there are any disks I want to exclude from repartitioning.  When following this second dialogue I am asked if I want to exclude Disk 0 (Samsung MZMTD128HAfV -00l1) which has 119Gb of capacity.  If I try to exclude this disk, the operation fails with following error:   "Restore failed because a disk that was critical at backup is excluded"  My question is, if I do not exclude this disk, will the restore operation still leave the D:/ partition intact so I can use OKR in the future.
    I have read quite a bit of imformation here and elsewhere about restoring system images and OKR, but have not seen any discussion about this disalogue, or the fact that I am being forced to reformat and repartition the disk without excluding the d:/ drive.  Other posters have stated that retsoringa  system image will only restore C;? drive, but this dialogue seems to conflict with those statements.  Anyone else have any experience with this operation?
    Thank you,

  • System Image Restore in Window 8.1

    I have not been able to find a data migration application that works at cloning a Windows 8.1 hard drive to a new SSD.  With that in mind I want to go about moving the contents, data and operating system from my working C: to a new SSD.  I want
    to go about it as if I have backed up my system, my C: drive has failed so I need to install a new drive and restore my data and operating system to the new drive.  I can't seem to find any simple (this should be simple) straight forward way to do this
    nor can I find any form of written instruction on how to go about this. 
    I would love to have someone articulate this.  As it stands I have a fully operational intact C drive.  I have completed a disk image to a second separate hard drive.  I now want to restore that content to a third (SSD ) drive.
    Where do I begin? 

    There is a system backup tool called System Image Backup, follow these steps to conduct this:
    Swipe in from the right edge of the screen, and then tap Search.
    (If you're using a mouse, point to the upper-right corner of the screen, move the mouse pointer down, and then click Search.)
    Enter File History in the search box, tap or click File History, and then click System Image Backup at the left part.
    See the screenshot as below, you can backup it on local machine or a DVD or a network share folder:
    Besides, I need to point out that this backup method will generate a vhd file, if you want to restore the system you need an DVD installation midia.
    You cannot just restore a vhd file directly to the hard drive.
    regards
    v-yamliu

  • System Image Restore can't see USB hard drive

    Hi
    I've just spent a day taking System Image backup images of three different hard drives. Well ok I didn't just sit and watch the bar move across the screen although it did hold up my computer. Anyway, what a waste of a day from my PC because
    when I try to restore using System Image backup from my USB drive, the USB drive cannot be found. I have followed the procedure on page 750 of Configuring Windows 7, 70-680 precisely.  I tried booting from an OS DVD and a Windows Repair
    DVD, but no USB drive.  I tried using a blank usb stick and that can't be found either. The USB drive can be seen when I logon to Windows to get the images on it. Might this be more to do with hardware such as adjusting BIOS boot settings,
    or updating BIOS firmware. There seems to be others with unresolved problems like this. Should I join them and buy Acronis instead?
    Tx

    Hi,
    Could you please check the following newsgroup posts for your answer. The posts lists different scenarios that might work for you.
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
    Best Regards,
    Kim Zhou
    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.
    Thanks for sending me these links and I will check them out. I think I came across most of the answer on the following link although doubts are raised: 
    http://answers.microsoft.com/en-us/windows/forum/windows_7-system/windows-7-restore-from-image-wont-recognize/ce8e3d0a-236d-4eff-8370-c171d2dfa555?tm=1333929198413&page=1#footer
    Basically, I should have had three files on the external drive as follows:
    a.      A file named: MediaID.bin
    b.      A file that has the same named as your computer name (this is where the .zip files are located).
    c.      The 'System Image' folder named 'WindowsImageBackup'.
    By moving my backups into a folder out of the way and doing a fresh backup I prevented some confusion in the system. After this I could at last see the external drive and backup when doing a system image recovery. But how is
    it be possible to store more than one backup of hard drives on an external disk? The only way I know is by moving backups in and out of a folder which will take ages to do. Maybe I can rename the unused backups but this will get confusing
    because there are thee files to a backup and I think files are overwritten when doing backups if left in the route of the external drive. I is too easy to overwrite a backup of another drive by accident.

  • System image,Restore

    Back In late Nov I created a system image, today I restored that Image successfully, not because I needed to. I created a filehistory and created a storage space and used the storage space drive for filehistory after I created my system Image.
    Anyone interested in the outcome, I bet.
    After restore of the image, the system/OS recognized my drive as a storage space and enabled storage space with the format of the drive when I created this storage space. The drive letter of my storage space drive changed after restore of
    the image. surprisingly the filehistory folder was there with all the files after restore of the image. I used the options in filehistory to select a new drive for file history and bingo everything works as expected.
    NOTE: If this happens to you, copy the old file history files to a folder because this new filehistory will replace the old one and you will lose all your files you had before you created your image.

    Back In late Nov I created a system image, today I restored that Image successfully, not because I needed to. I created a filehistory and created a storage space and used the storage space drive for filehistory after I created my system Image.
    Anyone interested in the outcome, I bet.
    After restore of the image, the system/OS recognized my drive as a storage space and enabled storage space with the format of the drive when I created this storage space. The drive letter of my storage space drive changed after restore of
    the image. surprisingly the filehistory folder was there with all the files after restore of the image. I used the options in filehistory to select a new drive for file history and bingo everything works as expected.
    NOTE: If this happens to you, copy the old file history files to a folder because this new filehistory will replace the old one and you will lose all your files you had before you created your image.

  • System image restore before ever opening cs6 loaded by reseller.

    I restored my computer from a system image before registering my product ior creating an adobe id.

    I don't know where to start. I bought the computer from a reseller all wiped and loaded with cs6. cs6 showed in my list of programs. after a restore from system image all the cs6 contents are in a folder and there is now right click for RUN to install. I haven't done anything yet I don't want to make a mistake. I don't have a product id or anything but I assume the it at the store did when he loaded it for me as a bonus to seal our deal. I can not ask him for it anylonger.

  • Windows System Image Manager (WSIM) fails to catalog

    WSIM (version 6.3.9600.16384) from Windows 8.1 AIK does not work with Windows 10 Preview Enterprise. It fails to generate a catalog file for the Windows 10 .wim image.
    Error message shown below
    Log file
    1:39 PM : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    1:44 PM :
    1:44 PM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    1:44 PM :
    1:44 PM : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace:
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)
    WSIM Version
    Surprising that it fails on the cleaning up portion, after mounting, serializing and un-mounting the Image.
    Is there an updated version of AIK or WSIM that needs to be used?

    It uses a new image format. The DISM and imaging api from even version 6.3.x (win 8.1) won't be able to access it. 
    But I think it's got some issues.  I can do a get-windowsimage -ImagePath install.wim and see the images, but dism /image:install.wim /? says "Unable to access the image.  Same with the boot wim. 
    Here's what dism.log says that is relevant:
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Loading Provider from location C:\Windows\System32\Dism\FfuProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Connecting to the provider located at C:\Windows\System32\Dism\FfuProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2014-10-09 13:25:29, Error                 DISM   FolderManager: PID=1724 base\ntsetup\opktools\dism\providers\folderprovider\dll\folderimage.h:190 - CFolderImage::CreateFolderImage(hr:0x80070032)
    2014-10-09 13:25:29, Info                  DISM   DISM WIM Provider: PID=1724 TID=3028 [c:\temp\boot.wim] does not exist and is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2014-10-09 13:25:29, Info                  DISM   DISM VHD Provider: PID=1724 TID=3028 [c:\temp\boot.wim] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Getting Provider VHDManager - CDISMProviderStore::GetProvider
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2014-10-09 13:25:29, Info                  DISM   DISM VHD Provider: PID=1724 TID=3028 [c:\temp\boot.wim] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2014-10-09 13:25:29, Info                  DISM   DISM Imaging Provider: PID=1724 TID=3028 The provider VHDManager does not support CreateDismImage on c:\temp\boot.wim
    - CGenericImagingManager::CreateDismImage
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2014-10-09 13:25:29, Info                  DISM   DISM Provider Store: PID=1724 TID=3028 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2014-10-09 13:25:29, Info                  DISM   DISM WIM Provider: PID=1724 TID=3028 [c:\temp\boot.wim] does not exist and is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2014-10-09 13:25:29, Info                  DISM   DISM Imaging Provider: PID=1724 TID=3028 The provider WimManager does not support CreateDismImage on c:\temp\boot.wim
    - CGenericImagingManager::CreateDismImage
    2014-10-09 13:25:29, Info                  DISM   DISM Imaging Provider: PID=1724 TID=3028 No imaging provider supported CreateDismImage for this path - CGenericImagingManager::CreateDismImage
    2014-10-09 13:25:29, Error                 DISM   DISM.EXE: Failed to access the image folder or image's windows folder.
    2014-10-09 13:25:29, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.

  • How to select and delete an INDIVIDUAL System Image restore point (backup) in Windows 7

    Hi all,
    I have two System Image Backups of my current running windows 7 system, whole drive (C), stored on an external USB drive. I would like to delete the latest System Image Backup but to keep my first/earliest one.
    Please advise me in this regard.
    TY
    PS. if the post is not relevent I would like the moderator to transfer the post to Windows 7 forum as I cannot access there with my account. 
    David De

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    Since your post is off-topic, I am moving it to the
    off topic forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • System Imaging Fails

    Don't know why - get no helpful error message other than "Image Creation Failed. The action encountered an error.
    This is all I see in the Console:
    7/13/11 10:21:03 AM          [0x0-0x17017].com.apple.server.SystemImageUtility[1219]          2011-07-13 10:21:03.274 bridge[2559:e07] Bridge is launching external task.
    7/13/11 10:53:22 AM          [0x0-0x17017].com.apple.server.SystemImageUtility[1219]          2011-07-13 10:53:22.494 bridge[2559:e07] Bridge finished
    7/13/11 10:53:22 AM          System Image Utility[1219]          Failed to create image from script createNetRestore.sh.
    Certainly there MUST be something more that can give me an idea what's going wrong? Other logs somewhere?
    I did a "Disk Verify" on the target MacBook and ran "Repair Permissions" two times before trying to create the image.
    XServe is running 10.6.8 - with all the latest updates - at least "Software Updates" tells me everything is up to date.
    I'm going to try to build another image on another laptop and see if that might be the problem. I have been able to create images successfully

    Hi,
    Re:-
    /Volumes/MAGNUM-110712 1/Users/ls/Pictures/iChat Icons:
    I do have a listing for that file in My Pictures folder but it is an Alias to a folder in Hard Drive/Library/Application Support/Apple/iChat Icons
    Repairing Permissions run from Disk Utility from the Boot Drive will only change permissions on global (System) files that are read from the current data base.
    This data base may have been updated due to OS Updates compared to the one held on the Install Disk.
    Doing a Get Info on the Alias does not display a Ownership and Permissions tab to the Info panel.
    For some reason on mine the original Folder has Read and Write Permissions for Admin as well as System  (Custom Access)  Using/looking in OS 10.5.8
    May be this will point to something.
    (I posted as I was searching for iChat posts and did not think that when I installed the icons that was where they were put.  They were Offered as an Add on at one stage.  I have never created  System Image)
    9:43 PM      Friday; July 15, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • Cannot connect my phone to PC suite

    I have a Nokia 7373 and I am trying to connect it to the PC suite using bluetooth. The version of PC Suite I have is 6.83. I am also using Windows XP. I have done everything the manual told me to do, and bluetooth is switched on. If anyone can help m

  • Process chains issue:very urgent

    Hi All, This issue is related to process chains.Last weekend our Basis team changed the BW PRD from BWBPRD to BWBPRD1.The process chains were schedlued previously on BWBPRD, so after the server change none of the process chains were triggered. We hav

  • I am unable to change my AD password in Lion

    We have two installs of Lion running right now at my company, and we are both unable to change our Active Directory passwords through System Preferences, Users & Groups, Change Password.  This is the error we are receiving: "Your system administrator

  • Biometry Sample Problem on JCOP v2.4.1 R3

    Hi, I find some errors on running JCOP v2.4.1 R3 simulation of biometry sample included on JC 2.2.2 Dev Kit by using Eclipse. The CAP file has been produced but cannot upload like following session. cm> set-key 255/1/DES-ECB/404142434445464748494a4b4

  • Media Browser crashes when accessing XSan

    When using Media Browswer, (premiere or prelude) if I click on our XSAN root on the left, the 'View as:' switches to 'XDCAM-HD' and the program freezes (pinwheel).  I can import items from the SAN and play footage just fine using the import dialog in