DEL "\\?\C:\Path to File" /F /Q /AH

On Mon, Jun 10, 2013 at 3:13 PM, Burke, John <[email protected]>wrote:

> **
> have you folks gotten this script to actually work? i'm not seeing it do
> much for me.
>
>  ------------------------------
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Michael Niehaus
> *Sent:* Tuesday, March 05, 2013 4:05 PM
> *To:* [email protected]
> *Subject:* [MDT-OSD] RE: Directory not Empty error on apply operating
> systep in SCCM OSD
>
>   Are you using ConfigMgr 2012 SP1?  It’s supposed to handle this better.*
> ***
>
> ** **
>
> Basically, something couldn’t be cleaned from the drive (typically due to
> ACLs that prevent SYSTEM from deleting it) and that causes ConfigMgr to
> fail.  There are scripts that have been published (e.g.
> http://blogs.msdn.com/b/alex_semi/archive/2012/02/22/os-refresh-fails-with-ntldr-can-t-be-found-error.aspx)
> that talk about this, but SP1 is the longer-term solution.****
>
> ** **
>
> -Michael****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Burke, John
> *Sent:* Tuesday, March 5, 2013 10:36 AM
> *To:* [email protected]
> *Subject:* [MDT-OSD] RE: Directory not Empty error on apply operating
> systep in SCCM OSD****
>
> ** **
>
> Hi, Just resending this. I'm not seeing any activity after I sent this
> which is a bit odd. Where is everyone today?****
>
> ** **
>
>  ------------------------------
>
> *From:* [email protected] [
> mailto:[email protected] <[email protected]>] *On
> Behalf Of *Burke, John
> *Sent:* Tuesday, March 05, 2013 12:44 AM
> *To:* [email protected]
> *Subject:* [MDT-OSD] Directory not Empty error on apply operating systep
> in SCCM OSD****
>
> Hi Folks,****
>
>  ****
>
> I'm wondering how you folks deal with this error. It seems to be a pretty
> common one as far as our errors going. I was thinking that I could try a
> check disk when this error happens, and retry the operating system step,
> but was wondering how you deal with it.****
>
>  ****
>
>  \nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,676)
> ApplyImage(), HRESULT=80070091 
> (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1416)
> Apply(), HRESULT=80070091 
> (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1456)
> installer.install(), HRESULT=80070091 
> (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1527)
> Closing image file C:\_SMSTaskSequence\Packages\NS2003AF\W7x64SP1_v3.5.wim
> Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\NS2003AF
> reference count 1 for the source C:\_SMSTaskSequence\Packages\NS2003AF before 
> releasing
> Released the resolved source C:\_SMSTaskSequence\Packages\NS2003AF
> InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, 
> g_ConfigPackageID, g_ConfigFileName, bOEMMedia ), HRESULT=80070091 
> (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,373)
> Installation of image 1 in package NS2003AF failed to complete..  *
> The directory is not empty*. (Error: *80070091*; Source: Windows) ****
>
>

Reply via email to