Failed to run the action: Apply Operating System Image. There is not enough space on the disk. (Error: 80070070; Source: Windows)
SCCM 2007 SP2 R2, deploying Windows 7 Enterprise SP1 x64 I have a TS which is intended to build bare metal machines and rebuild existing machines (with Bitlocker enabled). Deploying my image to a bare metal machine wirks fine but in a rebuild scenario I get the error above in my smsts.log file. I believe that this is occurring because the TS is trying to down load the OS WIM file onto our Bitlocker partition which is only 1500Mb in size. Does anyone know how to get around this? I'm thinking that there must be a way of changing the location than Win PE downloads the content to but have no idea what it is! The only workaround that I can see working at the moment is to increase our Bitlocker partition to be greater in size than our OS WIM but this seems like an excessive measure. Another option might be to change the drive letter assignment - for some reason my Bitlocker partition has a drive letter of C: assigned within Win PE - If I could change this drive letter to something higher than the OS partition so it was first in the list then this might get around the problem. Again - I'm not sure on how to achieve this. I have read the following two articles which don't seem to be relevant to my situation: http://blogs.technet.com/b/configurationmgr/archive/2010/04/21/resolution-error-image-does-not-contain-os-architecture-information-when-using-a-configmgr-2007-osd-task-sequence.aspx?sd=phrss http://blogs.technet.com/b/configurationmgr/archive/2010/04/12/how-to-set-up-a-task-sequence-to-deploy-windows-7-images-captured-via-an-sccm-2007-capture-cd.aspx Below is an exerpt from the smsts.log file: Execution of the instruction (Apply Operating System Image - NEW COMPUTER) has been skipped TSManager 06/07/2012 09:19:55 128 (0x0080) Start executing an instruciton. Instruction name: Apply Operating System Image - REFRESH. Instruction pointer: 27 TSManager 06/07/2012 09:19:55 128 (0x0080) Set a global environment variable _SMSTSCurrentActionName=Apply Operating System Image - REFRESH TSManager 06/07/2012 09:19:55 128 (0x0080) Set a global environment variable _SMSTSNextInstructionPointer=27 TSManager 06/07/2012 09:19:55 128 (0x0080) Set a local default variable OSDConfigFileName TSManager 06/07/2012 09:19:55 128 (0x0080) Set a local default variable OSDImageIndex TSManager 06/07/2012 09:19:55 128 (0x0080) Set a global environment variable _SMSTSLogPath=X:\windows\TEMP\SMSTSLog TSManager 06/07/2012 09:19:55 128 (0x0080) Evaluating an AND expression TSManager 06/07/2012 09:19:55 128 (0x0080) Evaluating a variable condition expression TSManager 06/07/2012 09:19:55 128 (0x0080) Variable = Drive_Protected TSManager 06/07/2012 09:19:55 128 (0x0080) Value = TRUE TSManager 06/07/2012 09:19:55 128 (0x0080) Operator = equals TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: equals TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: Drive_Protected TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: TRUE TSManager 06/07/2012 09:19:55 128 (0x0080) The variable condition expression is evaluated to be TRUE TSManager 06/07/2012 09:19:55 128 (0x0080) The AND expression is evaluated to be TRUE TSManager 06/07/2012 09:19:55 128 (0x0080) The condition for the action (Apply Operating System Image - REFRESH) is evaluated to be true TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: OSDApplyOS.exe /image:CAA0008E,%OSDImageIndex% "/config:CAA0002F,%OSDConfigFileName%" /target:D: TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: TSManager 06/07/2012 09:19:55 128 (0x0080) Command line for extension .exe is "%1" %* TSManager 06/07/2012 09:19:55 128 (0x0080) Set command line: OSDApplyOS.exe /image:CAA0008E,%OSDImageIndex% "/config:CAA0002F,%OSDConfigFileName%" /target:D: TSManager 06/07/2012 09:19:55 128 (0x0080) Start executing the command line: OSDApplyOS.exe /image:CAA0008E,%OSDImageIndex% "/config:CAA0002F,%OSDConfigFileName%" /target:D: TSManager 06/07/2012 09:19:55 128 (0x0080) !--------------------------------------------------------------------------------------------! TSManager 06/07/2012 09:19:55 128 (0x0080) Expand a string: WinPE TSManager 06/07/2012 09:19:55 128 (0x0080) Executing command line: OSDApplyOS.exe /image:CAA0008E,%OSDImageIndex% "/config:CAA0002F,%OSDConfigFileName%" /target:D: TSManager 06/07/2012 09:19:55 128 (0x0080) Command line for extension .exe is "%1" %* ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) Set command line: "OSDApplyOS.exe" /image:CAA0008E,1 "/config:CAA0002F,Unattend.xml" /target:D: ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) Not a data image ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) ApplyOSRetry: ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) TSLaunchMode: PXE ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) OSDUseAlreadyDeployedImage: FALSE ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) The volume D:\ exists and is a local hard drive. ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) The volume D:\ is using a valid file system. ApplyOperatingSystem 06/07/2012 09:19:55 1240 (0x04D8) Verifying boot volume is NTFS. ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) The machine does not have a local client cache. ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) DownloadOnDemand flag is true. Attempting to download content locally for Package CAA0008E.. ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Package Flags: 0x4000000 ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) GetDirectoryListing() entered ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Initializing HTTP transport. ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Setting URL = :80/SMS_DP_SMSPKGE%24/CAA0008E/">http://<SERVERNAME>:80/SMS_DP_SMSPKGE%24/CAA0008E/ ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) File: Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
July 6th, 2012 5:28am

Your assessment is correct: it is trying to use the smaller system partition. You'll have to implement some logic (in the form of a script) to detect this scenario and target the second disk/partition. Here's an example to use/start with: http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/613b5c4e-7180-4332-aa64-37d2b55a7a68/Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2012 8:29am

If you use the Advanced Options under Format and Partition, you can set the drive variable for the Operating System to deploy to. You'll also need to modify the Operating system step under Destination to use Logical Drive letter stored in a variable and you would re-use the same variable as above. Do you have the Apply Operating System set to Next Available Partition? Try the above if it's not set to that already.
July 6th, 2012 10:01am

Your assessment is correct: it is trying to use the smaller system partition. You'll have to implement some logic (in the form of a script) to detect this scenario and target the second disk/partition. Here's an example to use/start with: http://social.technet.microsoft.com/Forums/en-US/configmgrosd/thread/613b5c4e-7180-4332-aa64-37d2b55a7a68/ Jason | http://blog.configmgrftw.com | Twitter @JasonSandys Hi Jason - thanks for taking the time to reply. The problem I have is that even with the information gathered by the script you have suggested I am not sure what to do with the information it returns. You can see from the smsts.log file that it knows that the D: drive is there (OSDISK) and yet WinPE still trys to download the OS WIM onto the Bitlocker partition in any case - I am assuming that this is hardcoded into WinPE. Is there a way of forcing WinPE to download the image to another partition? For some reason the important part of the log file was truncated from my original post. The more relevant parts are below: There is not enough disk space left on this machine for staging the content for content CAA0008E. ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80070070 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3002) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80070070 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3130) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80070070 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3031) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents ), HRESULT=80070070 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1354) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) resolvePkgSource(), HRESULT=80070070 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1396) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Apply(), HRESULT=80070070 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1456) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Installation of image 1 in package CAA0008E failed to complete.. There is not enough space on the disk. (Error: 80070070; Source: Windows) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) installer.install(), HRESULT=80070070 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1527) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\CAA0008E ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) The user tries to release a source directory C:\_SMSTaskSequence\Packages\CAA0008E that is either already released or we have not connected to it ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia ), HRESULT=80070070 (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,373) ApplyOperatingSystem 06/07/2012 09:19:56 1240 (0x04D8) Process completed with exit code 2147942512 TSManager 06/07/2012 09:19:56 128 (0x0080) !--------------------------------------------------------------------------------------------! TSManager 06/07/2012 09:19:56 128 (0x0080) Failed to run the action: Apply Operating System Image - REFRESH. There is not enough space on the disk. (Error: 80070070; Source: Windows) TSManager 06/07/2012 09:19:56 128 (0x0080) Sending status message . . . TSManager 06/07/2012 09:19:56 128 (0x0080) Send a task execution status message SMS_TSExecution_ActionFailError TSManager 06/07/2012 09:19:56 128 (0x0080) MP server C-CAP-SCCM-02.CORPAD.CORP.EDINBURGH.GOV.UK and port 80. SSL=false. CRL=false. TSManager 06/07/2012 09:19:56 128 (0x0080) Site code: CAB TSManager 06/07/2012 09:19:56 128 (0x0080) Client machine name: DT-BTED900126 TSManager 06/07/2012 09:19:56 128 (0x0080) Client Identity: GUID:0F1C4C0F-3C2C-4AC9-8D51-78B9CC8881C8 TSManager 06/07/2012 09:19:56 128 (0x0080) Advertisement ID: CAA2007B TSManager 06/07/2012 09:19:56 128 (0x0080) Package ID: CAA000DE TSManager 06/07/2012 09:19:56 128 (0x0080) Sending StatusMessage TSManager 06/07/2012 09:19:56 128 (0x0080) Formatted header: TSManager 06/07/2012 09:19:56 128 (0x0080) <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>170b3e51-d691-4fde-a0c0-f031fbaaea3d</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-07-06T17:19:56Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4272"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 06/07/2012 09:19:56 128 (0x0080) CLibSMSMessageWinHttpTransport::Send: URL: C-CAP-SCCM-02.CORPAD.CORP.EDINBURGH.GOV.UK:80 CCM_POST /ccm_system/request TSManager 06/07/2012 09:19:56 128 (0x0080) The request has succeeded. 200 OK TSManager 06/07/2012 09:19:56 128 (0x0080) Set a global environment variable _SMSTSLastActionRetCode=-2147024784 TSManager 06/07/2012 09:19:56 128 (0x0080) Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 06/07/2012 09:19:56 128 (0x0080) Clear local default environment TSManager 06/07/2012 09:19:56 128 (0x0080) Let the parent group (Apply OS Settings) decides whether to continue execution TSManager 06/07/2012 09:19:56 128 (0x0080) The execution of the group (Apply OS Settings) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) TSManager 06/07/2012 09:19:56 128 (0x0080) Failed to run the last action: Apply Operating System Image - REFRESH. Execution of task sequence failed. There is not enough space on the disk. (Error: 80070070; Source: Windows) TSManager 06/07/2012 09:19:56 128 (0x0080) Sending status message . . . TSManager 06/07/2012 09:19:56 128 (0x0080) Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 06/07/2012 09:19:56 128 (0x0080)Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2012 10:05am

maybe this will help - http://blog.coretech.dk/mip/usmt-4-0-hardlink-and-bitlocker-in-sccm-osd/
July 6th, 2012 1:36pm

follow this link, may be this could hekp you http://blogs.technet.com/b/configurationmgr/archive/2009/12/17/how-to-properly-set-up-a-task-sequence-to-deploy-windows-7-images-captured-via-an-sccm-2007-capture-cd.aspxSharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
Free Windows Admin Tool Kit Click here and download it now
July 8th, 2012 8:45am

It seems that the issue is not where the OS is being installed but where the content is being downloaded to - the line "There is not enough disk space left on this machine for staging the content for content CAA0008E" means it must be trying to pre-stage the content to the C:\ drive which in my case is the 1500Mb Bitlocker partition. The other two disks have a combined total of free space between 30 and 40Gb so my issue is trying to get the TS to use one of these other drives to download/pre-stage the content to. Any ideas anyone? My only alternative that I can see is to increase the size of my Bitlocker partition to a size which can accommodate the download of the OS image.Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
July 9th, 2012 6:53am

Is the problem from the drive being encrypted not really the size? Can you view the contents from WinPE? Enable the command line support. If it says it doens't recognize the file system then that's probalby the reason. If that is the case, run diskpart to delete all partitions and then try imaging it and see if it works.
Free Windows Admin Tool Kit Click here and download it now
July 9th, 2012 1:40pm

Hi Jonathan Do you have any reboots in your task sequence prior to running the Apply Operating System step? I have seen this same behaviour when I have had an additional reboot after booting into WinPE for the first time and prior to the Apply Operating System task sequence step. The additional reboot caused problems due to drive letter enumeration causing the task sequence to apply the operating system to the bitlocker partition (which was now assigned D:\ after enumeration)
July 9th, 2012 11:21pm

Is the problem from the drive being encrypted not really the size? Can you view the contents from WinPE? Enable the command line support. If it says it doens't recognize the file system then that's probalby the reason. If that is the case, run diskpart to delete all partitions and then try imaging it and see if it works. Hi - the drive is definately unlocked as I can see the disks in Diskpart and also see in the log files that the drive is available. I am using an article written by Niall Brady to retrieve the Bitlocker key from MBAM to unlock the drive as part of the TS (http://www.windows-noob.com/forums/index.php?/topic/4173-how-can-i-retrieve-my-bitlocker-recovery-key-from-mbam-in-windows-pe/). A build onto a blank disk (i.e. bare metal) works fine - it's a just a rebuild that causes the issue I am describing and I think it's because WinPE seems to be hard coded to use the first partition available to download the install WIM. I have increased the size of the Bitlocker partition from 1500Mb to 8Gb and the TS works fine now (i.e. the TS is able to pre-stage the conent on C: (Bitlocker) and then apply to the D: (OSPART) once it is downloaded. I wanted to avoid having such a large Bitlocker partition if possible as it shouldn't be needed which is what I'm after some help with. Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
Free Windows Admin Tool Kit Click here and download it now
July 10th, 2012 5:41am

Hello - I do have a few reboots in there and there are issues with drive letters. I've had to sit in WinPE with Diskpart open to see which drives it is using at various stages to get around this thus far.Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
July 10th, 2012 5:44am

OK cool in that case make sure you don't have any reboots after you boot into WinPE for the first time and prior to your Apply Operating System step. Try something like this: Capture User State Disable Bitlocker Restart into WinPE ... Apply Operating System As long as there are no additional reboots between "Restart into WinPE" and "Apply Operating System" then you should be OK Good luck!
Free Windows Admin Tool Kit Click here and download it now
July 10th, 2012 7:51am

OK cool in that case make sure you don't have any reboots after you boot into WinPE for the first time and prior to your Apply Operating System step. Try something like this: Capture User State Disable Bitlocker Restart into WinPE ... Apply Operating System As long as there are no additional reboots between "Restart into WinPE" and "Apply Operating System" then you should be OK Good luck! This still fails even with no reboots. Runs fine if I select the option to run over the wire for the advertisement (i.e. not prestaging the content locally) and applies the WIM file to the correct partition. The issue here is that the content is being downloaded (staged) to the smaller Bitlocker partition which is only 1500Mb and I can't see a way of changing this behaviour. If anyone knows how to get a TS to pre-stage content to a specific drive then I'm all ears!! :0)Jonathan Conway | My blog: Conway's IT Blog | Twitter: jonconwayuk | Linkedin: Jonathan Conway MCITP: Enterprise Administrator on Windows Server 2008/Enterprise Desktop Administrator on Windows 7 MCP MCSE 2003 MCTS SCCM 2007, Windows 7 Config & Deploying VCP
July 19th, 2012 6:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics