Jump to content


keeop

Established Members
  • Posts

    42
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by keeop

  1. Cheers. Glad it wasn't just me! Keeop
  2. OK, thanks. Shouldn't affect anything then. Log attached. I noticed there is a step to set OSPART (Check DriveLetter and Set OSPART variable) in the Scanstate section. Maybe if I moved this to the beginning of the Backup section that would solve the problem? Cheers. Keeop smsts.log
  3. Yep, creating the WIM on the network share right now. I am getting 'OSDTargetDriveCache is DIRTY' in the logs - can you please explain what that means? Might have spoken too soon as well. The .WIM file seems stuck at 1kb, although I don't really know how ImageX works - does it create a 'temp' file somewhere else or anything like that? I'll give it a little longer then kill it and get that log across. Cheers. Keeop
  4. Oh, MDT 2012 SP1. Keeop
  5. Thanks anyweb. I'll generate one again without the variable dump. Yes, it's getting the computer name OK. It's working out the correct folder to back up TO, i.e. C:\backup or \\network\backup, it's failing to find the source disk - i.e., what to image/backup. I'll put in that OSDTargetDrive variable and I imagine it will work. Cheers. Keeop
  6. Hi, I'll enclose the relevant section: <![LOG[set a global environment variable _SMSTSNextInstructionPointer=115]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[Expand a string: tsenv.exe "ComputerBackupLocation=C:\Backup"]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Expand a string: ]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="commandline.cpp:228"> <![LOG[set command line: tsenv.exe "ComputerBackupLocation=C:\Backup"]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="commandline.cpp:731"> <![LOG[start executing the command line: tsenv.exe "ComputerBackupLocation=C:\Backup"]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:2930"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:2959"> <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Executing command line: tsenv.exe "ComputerBackupLocation=C:\Backup"]LOG]!><time="11:49:04.926-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="commandline.cpp:827"> <![LOG[Finished with error code 0]LOG]!><time="11:49:04.958-60" date="06-04-2014" component="TSEnv" context="" type="1" thread="1956" file="main.cpp:93"> <![LOG[Process completed with exit code 0]LOG]!><time="11:49:04.958-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="commandline.cpp:1123"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:49:04.958-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:3012"> <![LOG[successfully completed the action (Set ComputerBackupLocation to C:\Backup) with the exit win32 code 0]LOG]!><time="11:49:04.958-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:3038"> <![LOG[MP server http:/xxx. Ports 80,443. CRL=false.]LOG]!><time="11:49:04.958-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="utils.cpp:5300"> <![LOG[setting authenticator]LOG]!><time="11:49:04.989-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="utils.cpp:5322"> <![LOG[set authenticator in transport]LOG]!><time="11:49:04.989-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="libsmsmessaging.cpp:7751"> <![LOG[sending StatusMessage]LOG]!><time="11:49:05.020-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="libsmsmessaging.cpp:4025"> <![LOG[setting message signatures.]LOG]!><time="11:49:05.036-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="libsmsmessaging.cpp:1297"> <![LOG[setting the authenticator.]LOG]!><time="11:49:05.036-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="libsmsmessaging.cpp:1327"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: xxx:80 CCM_POST /ccm_system/request]LOG]!><time="11:49:05.036-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="libsmsmessaging.cpp:8621"> <![LOG[Request was succesful.]LOG]!><time="11:49:05.083-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="libsmsmessaging.cpp:8956"> <![LOG[set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="11:49:05.083-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="11:49:05.083-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="11:49:05.083-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Clear local default environment]LOG]!><time="11:49:05.117-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:807"> <![LOG[updated security on object C:\_SMSTaskSequence.]LOG]!><time="11:49:05.286-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="utils.cpp:1121"> <![LOG[set a global environment variable _SMSTSNextInstructionPointer=116]LOG]!><time="11:49:05.301-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a TS execution environment variable _SMSTSNextInstructionPointer=116]LOG]!><time="11:49:05.301-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:386"> <![LOG[set a global environment variable _SMSTSInstructionStackString=0 84 113]LOG]!><time="11:49:05.301-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a TS execution environment variable _SMSTSInstructionStackString=0 84 113]LOG]!><time="11:49:05.301-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:414"> <![LOG[save the current environment block]LOG]!><time="11:49:05.301-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:833"> <![LOG[successfully save execution state and environment to local hard disk]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="engine.cxx:255"> <![LOG[start executing an instruction. Instruction name: Full WIM backup of old computer. Instruction pointer: 116]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="engine.cxx:117"> <![LOG[set a global environment variable _SMSTSCurrentActionName=Full WIM backup of old computer]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a global environment variable _SMSTSNextInstructionPointer=116]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[set a local default variable SMSTSDisableWow64Redirection]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:700"> <![LOG[set a local default variable _SMSTSRunCommandLineAsUser]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:700"> <![LOG[set a global environment variable _SMSTSLogPath=X:\WINDOWS\TEMP\SMSTSLog]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:668"> <![LOG[Evaluating an AND expression]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:593"> <![LOG[Evaluating a variable condition expression]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:776"> <![LOG[Variable = DoBackup]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:794"> <![LOG[Value = True]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:795"> <![LOG[Operator = equals]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:796"> <![LOG[Expand a string: equals]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Expand a string: DoBackup]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Expand a string: True]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[The variable condition expression is evaluated to be TRUE]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:900"> <![LOG[The AND expression is evaluated to be TRUE]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:626"> <![LOG[The condition for the action (Full WIM backup of old computer) is evaluated to be true]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:2914"> <![LOG[Expand a string: smsswd.exe /run: Cscript "%ScriptRoot%\ZTIBackup.wsf"]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Expand a string: ]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="commandline.cpp:228"> <![LOG[set command line: smsswd.exe /run: Cscript "%ScriptRoot%\ZTIBackup.wsf"]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="commandline.cpp:731"> <![LOG[start executing the command line: smsswd.exe /run: Cscript "%ScriptRoot%\ZTIBackup.wsf"]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:2930"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:2959"> <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="executionenv.cxx:782"> <![LOG[Executing command line: smsswd.exe /run: Cscript "%ScriptRoot%\ZTIBackup.wsf"]LOG]!><time="11:49:05.395-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="commandline.cpp:827"> <![LOG[[ smsswd.exe ]]LOG]!><time="11:49:05.426-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="main.cpp:289"> <![LOG[PackageID = '']LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="main.cpp:318"> <![LOG[baseVar = '', ContinueOnError='']LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="main.cpp:319"> <![LOG[ProgramName = 'Cscript "C:\_SMSTaskSequence\WDPackage\Scripts\ZTIBackup.wsf"']LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="main.cpp:320"> <![LOG[swdAction = '0001']LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="main.cpp:321"> <![LOG[set command line: Run command line]LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="0" thread="1960" file="commandline.cpp:731"> <![LOG[Working dir 'not set']LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="runcommandline.cpp:542"> <![LOG[Executing command line: Run command line]LOG]!><time="11:49:05.442-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="commandline.cpp:827"> <![LOG[Process completed with exit code 5456]LOG]!><time="11:49:05.598-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="commandline.cpp:1123"> <![LOG[Command line returned 5456]LOG]!><time="11:49:05.598-60" date="06-04-2014" component="InstallSoftware" context="" type="1" thread="1960" file="runcommandline.cpp:565"> <![LOG[Process completed with exit code 5456]LOG]!><time="11:49:05.616-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="commandline.cpp:1123"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:49:05.630-60" date="06-04-2014" component="TSManager" context="" type="1" thread="1832" file="instruction.cxx:3012"> <![LOG[Could not find CCM install folder. Don't use ccmerrors.dll]LOG]!><time="11:49:05.630-60" date="06-04-2014" component="TSManager" context="" type="0" thread="1832" file="string.cpp:1364"> <![LOG[Failed to run the action: Full WIM backup of old computer. Unknown error (Error: 00001550; Source: Unknown)]LOG]!><time="11:49:05.630-60" date="06-04-2014" component="TSManager" context="" type="3" thread="1832" file="instruction.cxx:3103"> I have run through the scripts and it's definitely the ZTIUtility script that's returning the error due to it not being able to set the GetOSTargetDriveLetterEx value. Does something like OSDTargetDrive need to be set in the TS? Cheers. Keeop
  7. Done some digging and it looks like it's this section from the ZTI scripts: If IsEmpty(GetOSTargetDriveLetterEx) then oLogging.CreateEntry "DestinationDisk and Partition did not yield a target Partition.", logTypeInfo If bRequired then oLogging.ReportFailure "Unable to determine Destination Disk, Partition, and/or Drive. See BDD.LOG for more information.", 5456 End if Else So, the function GetOSTargetDriveLetterEx is not yielding any results in the ZTIUtility.vbs script. I shall have a poke around but I'm no expert, so any help would be appreciated! Cheers. Keeop
  8. OK, now having some issues with the Backup section. All the various options are bombing the TS. Looks like the ZTIBackup script is returning code 5456. Is this something you've come across before? Cheers. Keeop
  9. Anyhoo, turns out the offline scheduled updates applied to the OS image borked it. Everything is working like a dream now, the bits I have tried anyway. Need to do some backup testing now. Great stuff! Keeop
  10. Stuck with 2012 SP1.
  11. Hi anyweb - epic TS!! Can you confirm that the the 'outstanding fixes' still need to be implemented? For example it says to change the line: arr[arr.length] = "USMTdropdown: " + usmtvalue; .. but I don't have that line, I have: arr[arr.length] = "USMTvalue: " + usmtvalue ..as the nearest match. Plus, this line was slightly different: "%~2\USMTbits\amd64\loadstate.exe" "%~1" /c /lac:Password /i:% The bottom line, my Windows 8 install is bombing out so I'm wondering if it's anything to do with the edits I've made that may not have had to have been made. I'm about to trawl through the logs to see if I can find anything. It seems to have problems after initiating a reboot. Windows then continues to configure 'devices', seems to complete it but then the TS error branch kicks in and displays a failure message. After that, Windows complains about an 'unscheduled reboot' and says the install can't continue. Anyway, off to the logs......... Cheers. Keeop
  12. Hi, Yep, integrated: Ah, I noticed the drop-down this time to 'Ignore Dependency'. Got it! Thanks. Keeop
  13. Hi, The CM 12 BitLocker FrontEnd HTA.zip file from the \SP1 folder. I am using SCCM 2012 SP1. Cheers. Keeop
  14. Hi again. I tried unzipping, making some changes to the package ID's and replacing the Site Code etc., zipping back up but the import routine says 'the specified file is not valid' so I guess that's not the way to do it. I'm stumped then! Cheers. Keeop
  15. Thanks anyweb, I'll try and fudge it. It won't actually let me import the TS, that's the thing. Complains about 'cannot validate a dependency to Boot Image Package'. Hence, I assumed I need to go and edit the .xml files etc. However, from your answer above, it sounds like I shouldn't be getting this error? Cheers. Keeop
  16. First off, a massive thank you to anyweb for these fantastic guides - they are the best I have found. Now, on to topic... I'm having trouble importing the Task Sequence because of all the package references etc. - these all relate to your P01 packages which, of course, I don't have. Could you maybe create a list of reference IDs versus package names so I can manually replace your packages references with my own, or is there another way to look at this? I'd love to be able to use this HTA as it looks excellent and covers off a lot of the tasks I'm currently looking at. Cheers. Keeop
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.