Jump to content


fotc

Established Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by fotc

  1. open the advertisement and click on the Interaction tab. uncheck the box for "use custom countdown notification length (minutes):". you may need to delete the advertisement and recreate it with that box unchecked for clients to not show the balloons.
  2. here's a working task sequence that does what you need: <?xml version="1.0"?> <SmsTaskSequencePackage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BootImageID>HQ0001C9</BootImageID> <Category /> <DependentProgram /> <Description /> <Duration>360</Duration> <Name>XP Image Capture</Name> <ProgramFlags>152084496</ProgramFlags> <SequenceData> <sequence version="3.00"> <referenceList> <reference package="HQ000194" /> </referenceList> <step type="SMS_TaskSequence_RebootAction" name="Restart Computer" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>smsboot.exe /target:WinPE</action> <defaultVarList> <variable name="SMSRebootMessage" property="Message"> </variable> <variable name="SMSRebootTimeout" property="MessageTimeout">1</variable> <variable name="SMSRebootTarget" property="Target" hidden="true">WinPE</variable> </defaultVarList> </step> <step type="BDD_UsePackage" name="Use Toolkit Package" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>smsswd.exe /run:HQ000194 cscript.exe Scripts\ZTISCCM.wsf</action> <defaultVarList> <variable name="BDDPackageID" property="PackageID" hidden="true">HQ000194</variable> </defaultVarList> </step> <step type="SMS_TaskSequence_SetVariableAction" name="Set Backup Location Variable" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>tsenv.exe "ComputerBackupLocation=\\u264\xpbackupimages"</action> <defaultVarList> <variable name="VariableName" property="VariableName" hidden="true">ComputerBackupLocation</variable> <variable name="VariableValue" property="VariableValue" hidden="true">\\u264\xpbackupimages</variable> </defaultVarList> </step> <step type="SMS_TaskSequence_SetVariableAction" name="Set WIM FileName Variable" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>tsenv.exe "BackupFile="</action> <defaultVarList> <variable name="VariableName" property="VariableName" hidden="true">BackupFile</variable> <variable name="VariableValue" property="VariableValue" hidden="true"> </variable> </defaultVarList> </step> <step type="SMS_TaskSequence_RunCommandLineAction" name="Capture Image" description="" runIn="WinPEandFullOS" successCodeList="0 3010"> <action>smsswd.exe /run: cscript.exe "%scriptroot%\ZTIBackup.wsf"</action> <defaultVarList> <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%scriptroot%\ZTIBackup.wsf"</variable> <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable> <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable> <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable> <variable name="SMSTSRunCommandLineUserPassword" property="UserPassword"> </variable> </defaultVarList> </step> </sequence> </SequenceData> <SourceDate>2011-03-10T16:24:07</SourceDate> <SupportedOperatingSystems /> <IconSize>0</IconSize> </SmsTaskSequencePackage>
  3. To resolve the issue for missing or expired certificates on Boot Media, a new certificate needs to be created: 1. Recreate the Boot Media by going in the Configuration Manager Admin Console to Site Database --> Computer Management --> Operating System Deployment. 2. Right clicking on Task Sequences and choosing Create Task Sequence Media. 3. Step through the Task Sequence Media Wizard to create the appropriate media. 4. In the Security screen, locate the Create self-signed media certificate option. 5. Make sure that the Set start date is set to either today or some date in the past. 6. Make sure that the Set expiration date is set to some date in the future. 7. Finish stepping through the Task Sequence Media Wizard to finish creating the ISO or USB Flash Drive. 8. Go to Site Database --> Site Management --> <Site_Code> --> Site Settings --> Certificates --> Boot Media and verify that there is now a valid non-expired non-blocked Certificate. 9. If using CDs/DVDs, once the ISO is created, create a CD/DVD from the ISO and dispose any previous OSD CDs or DVDs. 10. If using a USB Flash Drive, make sure to recreate all USB Flash Drives be redoing steps 1-8 above. To resolve the issue for missing or expired certificates on a PXE Service Point, a new Certificate needs to be created: 1. Go to Site Database --> Site Management --> <Site_Code> --> Site Settings --> Site Systems and choose the server where the PXE Service Point is located. 2. In the right pane, right click on the ConfigMgr PXE service point and choose Properties. 3. Click on the Database tab and locate the Create self-signed PXE certificate option. 4. Under Create self-signed PXE certificate, set the Set expiration date option to some time in the future. 5. Click OK. 6. Go to Site Database --> Site Management --> <Site_Code> --> Site Settings --> Certificates --> PXE and verify that there is now a valid non-expired non-blocked Certificate. 7. Update the Boot Images by going to Site Database --> Computer Management --> Operating System Deployment --> Boot Images. 8. Expand both the Boot image (x64) and Boot image (x86) nodes (and any custom Boot Images if present). 9. For each Boot Image, right click on Distribution Points and choose Update Distribution Points. 10. Step through the Manage Distribution Points wizard until it has completed rebuilding the Boot Images. 11. Restart the Windows Deployment Services (WDS) Server service. To resolve the issue if the certificate is blocked, follow these steps: 1. Go to Site Database --> Site Management --> <Site_Code> --> Site Settings --> Certificates. 2. Choose either Boot Media (if the deployment is being done via a boot media) or PXE (if the deployment is being done via PXE). You will be able to see all of the certificates associated with either the Boot Media or the PXE point. 3. Check to see if the applicable certificate is set to "Blocked" under the Status column. If the certificate is blocked, unblock it. To unblock a certificate, right click on it and choose "Unblock". If you are not certain which certificate is the applicable one, you may have to unblock the certificates one at a time, retry the deployment again, and then see if the error goes away. Once you have determined the applicable certificate, you may want to go back and re-block the certificates that were not applicable and were unblocked during the testing. credit: http://blogs.technet.com/b/configurationmgr/archive/2008/10/23/configmgr-2007-osd-task-sequence-fails-with-the-error-an-error-occurred-while-retrieving-policy-for-this-computer-0x80004005.aspx
  4. I have 2 task sequences...one to capture the existing XP image to a network share...and another to deploy the Win7 OS and install required software. Both TS's run just fine independently, but when I combine them into one full process, it fails at the beginning of the deployment phase (diskpart). The workstations are configured with WinXP, 1 hard disk with 2 partitions (C & D)....c is the OS and d is for miscellaneous data. Server is Win 2k3 Ent R2 w/ SCCM 2007 SP2 R2 w/ MDT integrated. After combining the task sequences, I get access denied... this is the error: The task sequence execution engine failed executing the action (Partition Disk 0) in the group (Install Operating Systems) with the error code 5 Action output: ==============================[ OSDDiskPart.exe ]============================== Command line: "osddiskpart.exe" Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' Reading partition size info for partition 0 Remaining size before partition: 79999073280 size units: SIZE_MB Set partition size: 104857600 Remaining size after partition 0: 79894215680 Reading partition size info for partition 1 Remaining size before partition: 79894215680 size units: SIZE_PERCENT 100% size specified. Remaining size after partition 1: 0 Disk 0 contains protected path "D:\_SMSTaskSequence\StateStore" FALSE, HRESULT=00000005 (e:\nts_sms_fre\sms\client\osdeployment\osddiskpart\main.cpp,1421) Attempt to partition disk containing a protected path. Disk index = 0 OSDDiskPart.exe failed: 0x00000005. The operating system reported error 5: Access is denied. I'm almost positive it's failing because the TS and other data is being written to the D partition (the protected path); but i don't know how to make the _SMSTaskSequence folder to be written elsewhere. I'm not using USMT at all. I'm using the ZTIBackup.wsf script to perform the backup task.
  5. fotc

    ZTIBackup

    you should use the MDT integration and then import the following Task Sequence. Make sure you change the backup location. And the variable "BackupFile"...by leaving it blank, it will use the computer name as the file name...(ex computername.wim) <?xml version="1.0"?> <SmsTaskSequencePackage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <BootImageID>ZZ0001C9</BootImageID> <Category /> <DependentProgram /> <Description /> <Duration>360</Duration> <Name>XP Image Capture</Name> <ProgramFlags>152084496</ProgramFlags> <SequenceData> <sequence version="3.00"> <referenceList> <reference package="ZZ000194" /> </referenceList> <step type="SMS_TaskSequence_RebootAction" name="Restart Computer" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>smsboot.exe /target:WinPE</action> <defaultVarList> <variable name="SMSRebootMessage" property="Message"> </variable> <variable name="SMSRebootTimeout" property="MessageTimeout">1</variable> <variable name="SMSRebootTarget" property="Target" hidden="true">WinPE</variable> </defaultVarList> </step> <step type="BDD_UsePackage" name="Use Toolkit Package" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>smsswd.exe /run:ZZ000194 cscript.exe Scripts\ZTISCCM.wsf</action> <defaultVarList> <variable name="BDDPackageID" property="PackageID" hidden="true">ZZ000194</variable> </defaultVarList> </step> <step type="SMS_TaskSequence_SetVariableAction" name="Set Backup Location Variable" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>tsenv.exe "ComputerBackupLocation=\\server01\xpbackupimages"</action> <defaultVarList> <variable name="VariableName" property="VariableName" hidden="true">ComputerBackupLocation</variable> <variable name="VariableValue" property="VariableValue" hidden="true">\\server01\xpbackupimages</variable> </defaultVarList> </step> <step type="SMS_TaskSequence_SetVariableAction" name="Set WIM FileName Variable" description="" runIn="WinPEandFullOS" successCodeList="0"> <action>tsenv.exe "BackupFile="</action> <defaultVarList> <variable name="VariableName" property="VariableName" hidden="true">BackupFile</variable> <variable name="VariableValue" property="VariableValue" hidden="true"> </variable> </defaultVarList> </step> <step type="SMS_TaskSequence_RunCommandLineAction" name="Capture Image" description="" runIn="WinPEandFullOS" successCodeList="0 3010"> <action>smsswd.exe /run: cscript.exe "%scriptroot%\ZTIBackup.wsf"</action> <defaultVarList> <variable name="CommandLine" property="CommandLine" hidden="true">cscript.exe "%scriptroot%\ZTIBackup.wsf"</variable> <variable name="SMSTSDisableWow64Redirection" property="DisableWow64Redirection">false</variable> <variable name="_SMSTSRunCommandLineAsUser" property="RunAsUser">false</variable> <variable name="SuccessCodes" property="SuccessCodes" hidden="true">0 3010</variable> <variable name="SMSTSRunCommandLineUserPassword" property="UserPassword"> </variable> </defaultVarList> </step> </sequence> </SequenceData> <SourceDate>2011-03-10T16:24:07</SourceDate> <SupportedOperatingSystems /> <IconSize>0</IconSize> </SmsTaskSequencePackage>
×
×
  • 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.