Hey
We have some new notebook computers that need imaging via SCCM 2012. The notebooks primary disk is a Sandisk Sata 3 128GB (G25), which is not an advanced format disk. When imaging the computer, the process fails when an attempt is made to write to the disk
after it has been partitioned and formatted. Thus:
Partition disk: OK
Format partition: OK
Download image: fail
The following errors have been recorded in the SMSTS.log file:
Failed to save environment to (80070057)
TSManager25/07/2013 13:17:551580 (0x062C)
Failed to save the current environment block. Error: 80070057;TSManager1580 (0x062C)
Failed to persist execution state. Error 0x(80070057)TSManager25/07/2013 13:17:551580 (0x062C)
Failed to save execution state and environment to local hard diskTSManager25/07/2013 13:17:551580 (0x062C)
Failed to save environment to (80070057)
TSManager25/07/2013 13:18:151580 (0x062C)
Failed to save the current environment block. Error: 80070057TSManager25/07/2013 13:18:151580 (0x062C)
Failed to persist execution state. Error 0x(80070057)TSManager25/07/2013 13:18:151580 (0x062C)
Failed to save execution state and environment to local hard diskTSManager25/07/2013 13:18:151580 (0x062C)
System partition not setApplyOperatingSystem25/07/2013 13:18:151968 (0x07B0)
Unable to find the system diskApplyOperatingSystem25/07/2013 13:18:151968 (0x07B0)
Failed to make volume C:\ bootable. (Error: 80004005)ApplyOperatingSystem25/07/2013 13:18:151968 (0x07B0)
Failed to run [...] Apply Operating System. (Error: 80004005)TSManager25/07/2013 13:18:151580 (0x062C)
The error specified by the task sequence failure is: 800004005
The full log file, from the first error to the end is shown below
So... please help!
-- Matt
Volume C:\ has 127935234048 bytes of free space
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Volume C:\ is not bootable
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Volume D:\ is not a fixed hard drive
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Volume E:\ is not a fixed hard drive
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Volume X:\ is not a fixed hard drive
TSManager
25/07/2013 13:17:55
1580 (0x062C)
TSM root drive =
TSManager
25/07/2013 13:17:55
1580 (0x062C)
We do not find an available volume to store the local data path
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a global environment variable _SMSTSNextInstructionPointer=1
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a TS execution environment variable _SMSTSNextInstructionPointer=1
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a global environment variable _SMSTSInstructionStackString=0
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a TS execution environment variable _SMSTSInstructionStackString=0
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Save the current environment block
TSManager
25/07/2013 13:17:55
1580 (0x062C)
pszPath[0] != L'\0', HRESULT=80070057 (e:\nts_sccm_release\sms\framework\core\ccmcore\path.cpp,60)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Filesystem::Path::Add(sEnvPath, EnvDataFileName, sEnvPath), HRESULT=80070057 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,655)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Failed to save environment to (80070057)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,842)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
SaveEnvironment(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,420)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Failed to persist execution state. Error 0x(80070057)
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Failed to save execution state and environment to local hard disk
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Start executing an instruciton. Instruction name: Partition Disk 0. Instruction pointer: 1
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a global environment variable _SMSTSCurrentActionName=Partition Disk 0
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a global environment variable _SMSTSNextInstructionPointer=1
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDDiskIndex
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDDiskType
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDDiskpartBiosCompatibilityMode
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDGPTBootDisk
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitionStyle
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0Bootable
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0FileSystem
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0QuickFormat
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0Size
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0SizeUnits
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0Type
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a local default variable OSDPartitions0VolumeName
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Evaluating an AND expression
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Evaluating a variable condition expression
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Variable = _SMSTSClientCache
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Value =
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Operator = notExists
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: notExists
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: _SMSTSClientCache
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string:
TSManager
25/07/2013 13:17:55
1580 (0x062C)
The variable condition expression is evaluated to be TRUE
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Evaluating a variable condition expression
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Variable = _SMSTSMediaType
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Value = OEMMedia
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Operator = notEquals
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: notEquals
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: _SMSTSMediaType
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: OEMMedia
TSManager
25/07/2013 13:17:55
1580 (0x062C)
The variable condition expression is evaluated to be TRUE
TSManager
25/07/2013 13:17:55
1580 (0x062C)
The AND expression is evaluated to be TRUE
TSManager
25/07/2013 13:17:55
1580 (0x062C)
The condition for the action (Partition Disk 0) is evaluated to be true
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: osddiskpart.exe
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string:
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Command line for extension .exe is "%1" %*
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Set command line: osddiskpart.exe
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Start executing the command line: osddiskpart.exe
TSManager
25/07/2013 13:17:55
1580 (0x062C)
!--------------------------------------------------------------------------------------------!
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Expand a string: WinPE
TSManager
25/07/2013 13:17:55
1580 (0x062C)
Executing command line: osddiskpart.exe
TSManager
25/07/2013 13:17:55
1580 (0x062C)
==============================[ OSDDiskPart.exe ]==============================
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Command line: "osddiskpart.exe"
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Reading partition size info for partition 0
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Remaining size before partition: 128034708480
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
size units: SIZE_PERCENT
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
100% size specified.
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Remaining size after partition 0: 0
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Checking volume 'C:' for BitLocker
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Volume 'C:' is on disk '0l'
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
0, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\encryptablevolume.cpp,367)
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Volume 'C:' is not an encryptable volume
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Checking volume 'D:' for BitLocker
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Checking volume 'E:' for BitLocker
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Checking volume 'X:' for BitLocker
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Command line for extension .exe is "%1" %*
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Set command line: "X:\WINDOWS\system32\diskpart.exe" /s "X:\WINDOWS\TEMP\osddiskpart.txt"
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Executing command line: "X:\WINDOWS\system32\diskpart.exe" /s "X:\WINDOWS\TEMP\osddiskpart.txt"
OSDDiskPart
25/07/2013 13:17:55
1660 (0x067C)
Process completed with exit code 0
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Formatting partitions
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Formatting drive C: with NTFS filesystem, method quick
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Creating instance of service loader
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Loading service
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Waiting for service to initialize
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for software providers
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS software provider
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsSwProvider
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for packs
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS pack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsPack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for volumes
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS software provider
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsSwProvider
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for packs
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS pack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsPack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for volumes
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS volume
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsVolumeMF
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for access paths
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS pack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsPack
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for volumes
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a VDS volume
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsVolumeMF
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for access paths
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Found a volume with access path 'C:\'
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsVolume
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
Querying for IVdsVolumeMF
OSDDiskPart
25/07/2013 13:18:01
1660 (0x067C)
OSDDiskPart.exe completed successfully
OSDDiskPart
25/07/2013 13:18:14
1660 (0x067C)
Process completed with exit code 0
TSManager
25/07/2013 13:18:14
1580 (0x062C)
!--------------------------------------------------------------------------------------------!
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Successfully completed the action (Partition Disk 0) with the exit win32 code 0
TSManager
25/07/2013 13:18:14
1580 (0x062C)
MP server http://ict0dep-v.westlands.local. Ports 80,443. CRL=false.
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Setting authenticator
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Set authenticator in transport
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Sending StatusMessage
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Setting message signatures.
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Setting the authenticator.
TSManager
25/07/2013 13:18:14
1580 (0x062C)
CLibSMSMessageWinHttpTransport::Send: URL: ict0dep-v.westlands.local:80 CCM_POST /ccm_system/request
TSManager
25/07/2013 13:18:14
1580 (0x062C)
Request was succesful.
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSLastActionRetCode=0
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSLastActionSucceeded=true
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Expand a string: %_SMSTSMDataPath%\Logs
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Clear local default environment
TSManager
25/07/2013 13:18:15
1580 (0x062C)
User did not specify local data drive
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Volume C:\ has 127935234048 bytes of free space
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Volume C:\ is not bootable
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Volume D:\ is not a fixed hard drive
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Volume E:\ is not a fixed hard drive
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Volume X:\ is not a fixed hard drive
TSManager
25/07/2013 13:18:15
1580 (0x062C)
TSM root drive =
TSManager
25/07/2013 13:18:15
1580 (0x062C)
We do not find an available volume to store the local data path
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSNextInstructionPointer=2
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a TS execution environment variable _SMSTSNextInstructionPointer=2
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSInstructionStackString=0
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a TS execution environment variable _SMSTSInstructionStackString=0
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Save the current environment block
TSManager
25/07/2013 13:18:15
1580 (0x062C)
pszPath[0] != L'\0', HRESULT=80070057 (e:\nts_sccm_release\sms\framework\core\ccmcore\path.cpp,60)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Filesystem::Path::Add(sEnvPath, EnvDataFileName, sEnvPath), HRESULT=80070057 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,655)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Failed to save environment to (80070057)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,842)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
SaveEnvironment(), HRESULT=80070057 (e:\nts_sccm_release\sms\client\tasksequence\executionengine\executionenv.cxx,420)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Failed to persist execution state. Error 0x(80070057)
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Failed to save execution state and environment to local hard disk
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Start executing an instruciton. Instruction name: Apply Operating System. Instruction pointer: 2
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSCurrentActionName=Apply Operating System
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSNextInstructionPointer=2
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a local default variable OSDImageIndex
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Expand a string: OSDApplyOS.exe /image:WES0007B,%OSDImageIndex%
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Expand a string:
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Command line for extension .exe is "%1" %*
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Set command line: OSDApplyOS.exe /image:WES0007B,%OSDImageIndex%
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Start executing the command line: OSDApplyOS.exe /image:WES0007B,%OSDImageIndex%
TSManager
25/07/2013 13:18:15
1580 (0x062C)
!--------------------------------------------------------------------------------------------!
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Expand a string: WinPE
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Executing command line: OSDApplyOS.exe /image:WES0007B,%OSDImageIndex%
TSManager
25/07/2013 13:18:15
1580 (0x062C)
Command line for extension .exe is "%1" %*
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
Set command line: "OSDApplyOS.exe" /image:WES0007B,1
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
Not a data image
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
ApplyOSRetry:
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
TSLaunchMode: PXE
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
OSDUseAlreadyDeployedImage: FALSE
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
Searching for next available volume:
ApplyOperatingSystem
25/07/2013 13:18:15
1968 (0x07B0)
Volume E:\ is not a local hard drive.
ApplyOperatingSystem
25/07/2013 13:18:15
196