SCCM 2012 R2 OSD Task Sequence option
Hi, What to have an Install Applications step option that will identify computer record names with embed names for example
embedded name XXX inside a computer record for example:
Tabletxxx01
Tabletxxx02
Tabletabc01 - this computer record would skip the TS step.
Thanks!
Hi,
Here are an example on a WMI query checking for a computername using wildcards,.
http://fritschetom.blogspot.com/2012/03/sccm-task-sequence-add-wmi-condition.html
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec
Similar Messages
-
SCCM 2012 SP1 - OSD Task Sequence - Auto Apply Drivers
I have a basic task sequence created, capture User State, reboot into Windows PE, Apply Operating system, apply Windows Settings, Auto Apply Drivers, Setup Windows and Configuration, Install Applications, Restore User state
The problem I'm having is auto Apply the drivers. My test system is a Dell Opitiplex 3010, with a realtek PCI GBE Family Controller being the only driver added to the driver database.
During the task sequence, I see it down loading the driver, then proceed though the whole sequence. The system restarts and brings up the login. Here is the problem, the network drivers don't install, so the system is still in a workgroup, with no user state
restore.
I repeat the task, this time during the Setup Windows and Configuration, I press F8, and copy the _SMSTaskSequence folder to C:\temp.
Once the task in complete, I see the network drivers saved in _SMSTaskSequence\Drivers & \contentCache. I able to install the network drivers from this location.
What am I missing, why are the network drivers not being setup correctly in Windows 7?
From the \logs\SMST.LOG, I can see the driver being installed correctly, but one the sequence is complete the driver has not been installed.
From the SMSTS.LOG:
Installing driver "Realtek PCI GBE Family Controller" OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Copying "C:\_SMSTaskSequence\ContentCache\BA4B1243-742B-4BFA-8245-89E7B33DE1C5" to "C:\_SMSTaskSequence\drivers\1". OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Successfully installed driver "Realtek PCI GBE Family Controller". OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Entering ReleaseSource() for C:\_SMSTaskSequence\ContentCache\BA4B1243-742B-4BFA-8245-89E7B33DE1C5 OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
reference count 1 for the source C:\_SMSTaskSequence\ContentCache\BA4B1243-742B-4BFA-8245-89E7B33DE1C5 before releasing OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Released the resolved source C:\_SMSTaskSequence\ContentCache\BA4B1243-742B-4BFA-8245-89E7B33DE1C5 OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Microsoft ACPI-Compliant System'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Microsoft Basic Render Driver'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel(R) 82802 Firmware Hub Device'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Generic volume'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'ACPI Fixed Feature Button'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'HID-compliant mouse'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Motherboard resources'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'CD-ROM Drive'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'USB Root Hub'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'System timer'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Generic USB Hub'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'USB Input Device'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'ACPI Power Button'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'High Definition Audio Controller'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Motherboard resources'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Microsoft System Management BIOS Driver'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel Processor'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel Processor'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel Processor'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Intel Processor'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'PCI Simple Communications Controller'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'HID Keyboard Device'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Generic volume'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'Generic Monitor'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Failed to find a suitable device driver for device 'USB Input Device'. OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Exiting with return code 0x00000000 OSDDriverClient 3/21/2014 5:52:37 PM 900 (0x0384)
Process completed with exit code 0 TSManager 3/21/2014 5:52:37 PM 1300 (0x0514)
!--------------------------------------------------------------------------------------------! TSManager 3/21/2014 5:52:37 PM 1300 (0x0514)
Successfully completed the action (Auto Apply Drivers) with the exit win32 code 0 TSManager 3/21/2014 5:52:37 PM 1300 (0x0514)Yes, I open a dos box during the Windows Setup, xcopy SMSTaskSequence to C:\temp
Then once Windows install is completed, I login to the local Admin account(only thing available), device manager and install the network driver from C:\temp\SMSTaskSequence\drivers\1
From Earlier in Setupact.log:
PnPIBS: C:\_SMSTaskSequence\drivers is listed as a driver path in unattend.xml ...
2014-03-25 12:27:22, Info PnPIBS: Found the file rt64win7.inf
2014-03-25 12:27:22, Info PnPIBS: Added driver C:\_SMSTaskSequence\drivers\1\rt64win7.inf to the list of drivers. -
SCCM 2012 SP1 MDT task sequence fails on reboot does not retain ip
we are having a sccm 2012 sp1 server that used for installation of win 8.1 Enterprise , the task sequence works perfectly fine but when we run the same task on HP Elite 8300 system having Intel 82579LM Adapter from Windows XP , after the reboot the
task fails as no ip address is assigned the NIC , We did download the WInPE Adapter drivers from HP site and injecting to the x86 Boot Image (6.2.9200) however the task still fails ,
Our environment uses all static ip address , the same task as mentioned earlier has worked fine with Different brands of HP elite 8200/8100 , infact the elite 8200 also uses the same NIC card
Find below the smsts.log file
Main error in the log file is
No physical network adapters found OSDNetSettings 2/12/2014 1:02:38 AM 2064 (0x0810)
Found network adapter "Intel(R) 82579LM Gigabit Network Connection" with IP Address 169.254.181.151. TSMBootstrap 2/12/2014 1:05:41 PM 1984 (0x07C0)
Xtract from LOG
SMSTSRebootDelay=60 Reboot 2/12/2014 1:01:56 AM 3496 (0x0DA8)
SMSTSRebootMessage=A new Microsoft Windows operating system is being installed. The computer must restart to continue. Reboot 2/12/2014 1:01:56 AM 3496 (0x0DA8)
SMSTSRebootRequested=WinPE Reboot 2/12/2014 1:01:56 AM 3496 (0x0DA8)
Process completed with exit code 0 TSManager 2/12/2014 1:01:56 AM 1876 (0x0754)
!--------------------------------------------------------------------------------------------! TSManager 2/12/2014 1:01:56 AM 1876 (0x0754)
Successfully completed the action (Restart to Windows PE) with the exit win32 code 0 TSManager 2/12/2014 1:01:56 AM 1876 (0x0754)
Set authenticator in transport TSManager 2/12/2014 1:01:56 AM 1876 (0x0754)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Clear local default environment TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Updated security on object E:\_SMSTaskSequence. TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Set a global environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Set a global environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Save the current environment block TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Executing command line: "bcdedit.exe" TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
CreateProcess failed. Code(0x80070002) TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Command line execution failed (80070002) TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
Staging boot image UNB0003A TSManager 2/12/2014 1:01:57 AM 1876 (0x0754)
ResolveSource flags: 0x00000000 TSManager 2/12/2014 1:01:59 AM 1876 (0x0754)
SMSTSPersistContent: . The content for package UNB0003A will be persisted TSManager 2/12/2014 1:01:59 AM 1876 (0x0754)
Set authenticator in transport TSManager 2/12/2014 1:01:59 AM 1876 (0x0754)
WinHttp credentials set TSManager 2/12/2014 1:01:59 AM 1876 (0x0754)
List of files to be downloaded TSManager 2/12/2014 1:01:59 AM 1876 (0x0754)
Downloaded file from http://unb-ho-sccmdb.exch1.mas.unb.com:80/SMS_DP_SMSPKG$/UNB0003A/sccm?/WinPE.UNB0003A.wim to E:\_SMSTaskSequence\Packages\UNB0003A\WinPE.UNB0003A.wim TSManager 2/12/2014 1:02:22 AM 1876
(0x0754)
VerifyContentHash: Hash algorithm is 32780 TSManager 2/12/2014 1:02:22 AM 1876 (0x0754)
Found boot image E:\_SMSTaskSequence\Packages\UNB0003A\WinPE.UNB0003A.wim TSManager 2/12/2014 1:02:25 AM 1876 (0x0754)
Copying boot image locally... TSManager 2/12/2014 1:02:25 AM 1876 (0x0754)
Failed to find ADK installation root registry key TSManager 2/12/2014 1:02:32 AM 1876 (0x0754)
Opening image file E:\_SMSTaskSequence\WinPE\sources\boot.wim TSManager 2/12/2014 1:02:32 AM 1876 (0x0754)
Applying image 1 to volume E:\_SMSTaskSequence\WinPE TSManager 2/12/2014 1:02:32 AM 1876 (0x0754)
Closing image file E:\_SMSTaskSequence\WinPE\sources\boot.wim TSManager 2/12/2014 1:02:35 AM 1876 (0x0754)
Capturing WinPE bootstrap settings TSManager 2/12/2014 1:02:35 AM 1876 (0x0754)
Environment scope successfully created: Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} TSManager 2/12/2014 1:02:35 AM 1876 (0x0754)
Executing command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} TSManager 2/12/2014 1:02:35 AM 1876 (0x0754)
==============================[ OSDNetSettings.exe ]=========================== OSDNetSettings 2/12/2014 1:02:36 AM 2064 (0x0810)
Command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} OSDNetSettings 2/12/2014 1:02:36 AM 2064 (0x0810)
No adapters found with non-empty DNSDomainSuffixSearchOrder OSDNetSettings 2/12/2014 1:02:36 AM 2064 (0x0810)
Adapter "ROOT\SYMC_TEEFER2MP\0000" not found OSDNetSettings 2/12/2014 1:02:38 AM 2064 (0x0810)
No physical network adapters found OSDNetSettings 2/12/2014 1:02:38 AM 2064 (0x0810)
OSDNetSettings finished: 0x00000000 OSDNetSettings 2/12/2014 1:02:38 AM 2064 (0x0810)
Process completed with exit code 0 TSManager 2/12/2014 1:02:38 AM 1876 (0x0754)
Installing boot image to hard drive TSManager 2/12/2014 1:02:38 AM 1876 (0x0754)
Backing up existing boot system before trying to set up new boot system TSManager 2/12/2014 1:02:38 AM 1876 (0x0754)
BootLoader::backup: C:\, E:\_SMSTaskSequence\backup TSManager 2/12/2014 1:02:39 AM 1876 (0x0754)
BootLoader::restore: E:\_SMSTaskSequence\WinPE, C:\ TSManager 2/12/2014 1:02:43 AM 1876 (0x0754)
Saving bcd store to E:\_SMSTaskSequence\WinPE\boot\BCD TSManager 2/12/2014 1:02:43 AM 1876 (0x0754)
Executing command line: "E:\_SMSTaskSequence\WinPE\SMS\bin\i386\bootsect.exe" /NT60 SYS /MBR TSManager 2/12/2014 1:02:45 AM 1876 (0x0754)
Process completed with exit code 0 TSManager 2/12/2014 1:02:46 AM 1876 (0x0754)
Updated security on object E:\_SMSTaskSequence. TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a global environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a global environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Save the current environment block TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Updated security on object D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Updated security on object E:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Updated security on object E:\_SMSTaskSequence. TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a global environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSNextInstructionPointer=59 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a global environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Set a TS execution environment variable _SMSTSInstructionStackString=0 41 57 TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Save the current environment block TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
Expand a string: %_SMSTSMDataPath%\Logs TSManager 2/12/2014 1:02:47 AM 1876 (0x0754)
<![LOG[LOGGING: Finalize process ID set to 780]LOG]!><time="01:04:01.537+480" date="02-12-2014" component="TSBootShell" context="" type="1" thread="784" file="tslogging.cpp:1495">
1/1/1601 12:00:00 AM 1995266923 (0x76ED5B6B)
==============================[ TSBootShell.exe ]============================== TSBootShell 2/12/2014 1:04:01 AM 784 (0x0310)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' TSBootShell 2/12/2014 1:04:01 AM 784 (0x0310)
Debug shell is enabled TSBootShell 2/12/2014 1:04:01 AM 784 (0x0310)
Waiting for PNP initialization... TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(3)\_SMSTASKSEQUENCE\WINPE\SOURCES\BOOT.WIM TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
WinPE boot path: E:\_SMSTASKSEQUENCE\WINPE\SOURCES\BOOT.WIM TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
Booted from fixed disk TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
Found config path E:\_SMSTaskSequence TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
Can not find DeploymentType in file TsmBootstrap.ini or the file doesn't exist. This is not running on Windows To Go. TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430) TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
Restoring boot system from E:\_SMSTaskSequence\backup TSBootShell 2/12/2014 1:04:01 AM 796 (0x031C)
Successfully loaded the BCD boot system TSBootShell 2/12/2014 1:04:05 AM 796 (0x031C)
Successfully loaded an exported NTLDR boot system TSBootShell 2/12/2014 1:04:05 AM 796 (0x031C)
BootLoader::restore: E:\_SMSTaskSequence\backup, C:\ TSBootShell 2/12/2014 1:04:05 AM 796 (0x031C)
Successfully merged logs from cache. TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,430) TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Loading bootstrap settings from E:\_SMSTaskSequence\WinPE TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Loading saved WinPE settings TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00450037004500350042004200360039002D0036003100390038002D0034003500350035002D0042003500430041002D003600430034003600410032004200350045004200370038007D00' TSBootShell
2/12/2014 1:04:06 AM 796 (0x031C)
Environment scope successfully created: Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Configuring WinPE bootstrap settings TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Creating WinPE answer file TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Setting hive location to "X:\windows\system32" TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Getting namespace "Microsoft-Windows-Setup" for architecture "x86" TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Configuring global network settings TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Join type: TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
DNS domain: exch1.mas.unb.com TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
DNS domain search order: TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
IP filter sec enabled: false TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
No adapters found in environment. Performing global configuration only. TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Writing configuration information to E:\_SMSTaskSequence\WinPE\WinPeUnattend.xml TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Successfully saved configuration information to E:\_SMSTaskSequence\WinPE\WinPeUnattend.xml TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
Executing command line: wpeinit.exe -winpe TSBootShell 2/12/2014 1:04:06 AM 796 (0x031C)
The command completed successfully. TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
Starting DNS client service. TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
Finalizing network settings TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
No adapters found in environment. Performing global finalization only. TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
Finalizing global network settings TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
DNS domain: exch1.mas.unb.com TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
DNS domain search order: TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
DNS for WINS enabled: false TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
LMHosts file enabled: true TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
Host lookup file: TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
WINS scope ID: TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
Executing command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:E:\_SMSTaskSequence TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
The command completed successfully. TSBootShell 2/12/2014 1:05:40 AM 796 (0x031C)
==============================[ TSMBootStrap.exe ]============================== TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:E:\_SMSTaskSequence TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Succeeded loading resource DLL 'X:\sms\bin\i386\TSRESNLC.DLL' TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Adding SMS bin folder "X:\sms\bin\i386" to the system environment PATH TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Failed to open PXE registry key. Not a PXE boot. TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Resuming Task Sequence in WinPE TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00' TSMBootstrap
2/12/2014 1:05:40 AM 1984 (0x07C0)
Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912} TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00' TSMBootstrap
2/12/2014 1:05:40 AM 1984 (0x07C0)
Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03} TSMBootstrap 2/12/2014 1:05:40 AM 1984 (0x07C0)
Loading the Task Sequencing Environment from "E:\_SMSTaskSequence\TSEnv.dat". TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Updating the local data path in the Task Sequencing Environment. TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Setting LogMaxSize to 1000000 TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Setting LogMaxHistory to 1 TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Setting LogLevel to 0 TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Setting LogEnabled to 1 TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Setting LogDebug to 1 TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Command line for extension .exe is "%1" %* TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Set command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:WinPE TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
Executing command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:WinPE TSMBootstrap 2/12/2014 1:05:41 AM 1984 (0x07C0)
==========[ TsProgressUI started in process 2004 ]========== TsProgressUI 2/12/2014 1:05:41 AM 2008 (0x07D8)
Command line: "X:\sms\bin\i386\TsProgressUI.exe" /Register:W
In dire need of help,
I have already gone through the below articles on the NET
http://social.technet.microsoft.com/Forums/systemcenter/en-US/0fe5cded-51cf-487a-97e3-837fb3426a3e/install-software-updates-in-osd-reboots-leaves-clients-in-provisioning-mode?forum=configmgrosd
http://social.technet.microsoft.com/Forums/systemcenter/en-US/c590e486-d3ca-423f-8953-e596160f3567/updates-hang-during-osd-kb2509007-not-working-for-me?forum=configmgrosd
Awating response,
Hasan RezaWell Finally I sorted my issue ,
Just want to share the solution, may be it would be helpful to some one else and save some times
The problem was that the Xp images has lot of hidden NIC installed , this would not allow the system to work with the correct NIC card and Ip address (System -> View Hidden Devices) , what I did 2 things
1) Copied the OSD Script folder from the SCCM Server to the Client pc and ran that ztigather.wsf and captured the output , it was evident that it showed capturing multiple adapters , (There are some blogs that pointed out that OSD can capture only one nic
due to the only one Adapter0 section being defined in the ZTIgather.xml file,)
2) I open the registry at the xp pc navigated to HKLM-> System ->Current Control Set-> Services-> TCPIP -> Parameters-> Interfaces ->
Expect for the NIC card that had the Ip address assigned I deleted all other nic card's guid,
As then post running deleting the old scanstate (USMTUTIL /rd c:\statestore) , reran the task and VOILA..
All worked fine , below are the two post I followed , though notvery relevant but they were helpful and help me reached the conclusion.
Thanks,
Hasan Reza.
http://systemscenter.ru/mdt2012.en/ztigatherwsf.htm
http://social.technet.microsoft.com/Forums/windowsserver/en-US/8acb7cd1-7028-4ffe-86c9-eb43041cf8b3/how-do-i-get-rid-of-second-169254xx-ipv4-address-on-windows-server-2008-sp2-x86?forum=winservergen -
Dear,
We do not have Orchestrator running in our SCCM 2012 R2 environment. Though I wonder if we could accomplish the following scenario with it:
Task sequence Windows 7 => Orchestrator step which queries assigned installations to the computer object and installs them one by one.
Could you advise?
Kind regards,
Stev.
SteveWonB> > Define "assigned to computer objects". How is this done technically?
Well, computer objects are members of collections via AD memberships, like the collection "W7-Google-Chrome" (exists of 100 computer objects).
Deploy of packages is done to these collections. So a computer member of "W7-Google-Chrome" will automatically get Google Chrome.
Some computers are member of 30 collections, some of 80.
Goal is to have the task sequence run all applications/packages assigned (with their reboots if needed).
Kind regards,
Steven
SteveWonB -
I am trying to update office via the SCCM 2012 R2 OSD task sequence. I know offline updating only updates the core components in the WIM and I'm trying to figure out how to add office updates as well. I am aware of using powershell to try and kick off
a WU scan as seen here:
http://myitforum.com/myitforumwp/2012/01/24/use-powershell-commands-to-assist-with-patching-during-sccm-image-build/
But the kicker is we don't use SCCM to update the workstations (Solo WSUS install). Is there a way to do this (maybe set the client in the TS to switch on SUP, then off again when it goes off into production) rather than have to build a new image every month?You could use the ZTI_WindowsUpdates.wsf script from MDT.
http://scriptimus.wordpress.com/2012/03/22/mdt-2012-automating-updates-in-lite-touch-deployments/
How does it work?
The task sequence steps run a script called ZTIWindowsUpdate.wsf. The script uses the
Windows Update Agent API to manage the downloading and installation of updates. All audit information is written to the
ZTIWindowsUpdate.log file. If you find any unusual error codes in your log returned from the API (although I never have) you can compare the codes
here. The script will also check and update the
Windows Update Agent(WUA) as needed at the start.
In its default state, the ZTIWindowsUpdate.wsf script will connect to Microsoft Update then search for and download all available updates including Security Patches, Drivers, Browser Updates and Service Packs. This is essentially the same
as opening the GUI and selecting check for updates.
Daniel Ratliff | http://www.PotentEngineer.com -
UDI OSD Task Sequences started failing with 0x80070002 error in SCCM 2012
This is kind of long, but here goes...
We built a UDI task sequence in SCCM 2012 (with MDT integration) that we were testing for deployment of a couple of different Win7 images. We customized the UDI experience thru the UDI wizard and XML file and OS deployment worked as expected
thru the task sequence (testing on Hyper-V VMs). Recently, this UDI TS started failing with error 0x80070002 during what appears to be the "Use Toolkit Package" step. This is after the OS image has already been laid down and after the ConfigMgr
client has been installed/configured. The SMSTS.log reports "Failed to open the task sequence key HKLM\Software\Microsoft\SMS\Task Sequence. Error code 0x8007002" Among other errors...I will post the entire log below...
After the error during deployment, Win7 will boot normally, however, you have no network connectivity and it appears the proper network driver didn't get loaded in the OS. Combine this with the fact that the TS should have joined the machine to our domain,
but you can't login because no network.. Im not sure if the network issue is a product of the TS failing early or the actual cause of the TS failure.
Anyway, I attempted to build another UDI task sequence using the same boot image and toolkit/settings packages, but am experiencing the same error during deployment. We have a few OSD task sequences built without UDI and those all still work just fine.
So, I am at a loss for where the root problem lies. Any suggestions or assistance would be greatly appreciated.
Here is the entire SMSTS.log and BDD.log...
https://skydrive.live.com/redir?resid=D65B1C4362892A26!110&authkey=!AKu5mOvDsXaEgvc
Thanks
Richie Tenhetyour failure does appear to be network (driver or otherwise) or dns related and it cannot contact the management point FQDN just around the time where it should download and execute the
Use Toolkit Package step...
"Starting Task Sequence Engine . . . "
"Non fatal error 0x80072ee7 in sending task sequence execution status message to MP"
"Start executing an instruciton. Instruction name: Use Toolkit Package. Instruction pointer: 83"
"unknown host (gethostbyname failed)"
"sending with winhttp failed; 80072ee7"
"Tried all the available http based locations. SMB based locations will be attempted now."
"Failed to resolve the source for SMS PKGID=P0100015, hr=0x80070002"
"Failed to run the action: Use Toolkit Package.
The system cannot find the file specified. (Error: 80070002; Source: Windows)"
that said, check that the package referenced above actually exists and is the correct source version on your distribution points, also verify (press F8 and check can you ping the FQDN of your management point) that you have network connectivity
around the time of the failure.
Step by Step Configuration Manager Guides >
2012 Guides |
2007 Guides | I'm on Twitter > ncbrady -
SCCM 2012 OSD Task Sequence Fails "An error occurred while retrieving policy for this computer"
We have SCCM 2012 R2. I amm trying to start OSD task sequence from bootable media.
Hyper-v client gets DHCP ip and starts MDT bootable media, but could not find policy.
From F8 I can ping SCCM/DP/MP server.
What could be the cause?Yes, this DHCP client is in the same subnet as other working clients.
smsts.log from client
Request was successful. TSPxe
21.03.2014 14:14:14 324 (0x0144)
pNext != NULL, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,1970)
TSPxe 21.03.2014 14:14:14
324 (0x0144)
reply has no message header marker TSPxe
21.03.2014 14:14:14 324 (0x0144)
DoRequest (sReply, true), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\osdmessaging\libsmsmessaging.cpp,5868)
TSPxe 21.03.2014 14:14:14
324 (0x0144)
Failed to get client identity (80004005)
TSPxe 21.03.2014 14:14:14
324 (0x0144)
ClientIdentity.RequestClientIdentity (), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1113)
TSPxe 21.03.2014 14:14:14
324 (0x0144)
failed to request for client
TSPxe 21.03.2014 14:14:14
324 (0x0144)
Exiting TSMediaWizardControl::GetPolicy. TSPxe
21.03.2014 14:14:14 324 (0x0144) -
SCCM 2012 OSD Task Sequence - force Policy and SCEP update?
Hi,
How can I force a policy update to update machine policy and scep definitions at the end of
SCCM 2012 OSD Task Sequence,
Thanks,
Ward.Hi,
I normally use this solution from Chris Nackers to deploy the latest EP definitions during OSD and deploy a custom EP policy, it works great. The policy will be downloaded when the client is registered.
Regards,
Jörgen
-- My System Center blog ccmexec.com -- Twitter
@ccmexec -
Creative Cloud: "Build" MSI Hangs During SCCM OSD Task Sequence Installation
I wanted to share problem and solution I found when deploying Creative Cloud Packager-created packages/application using SCCM 2012 R2. I encountered this problem packaging this as both a Package and as an Application in SCCM.
When installing the software through SCCM Software Center onto a client, Software Center would close right as the installation of the "Build" folder MSI completed. This is abnormal behavior.
When installing the application as part of an OSD Task Sequence, the software would get installed (as shown by logs) but SCCM would hang forever at the "Installing Application" step.
I tried all sorts of different settings in SCCM and with the MSIEXEC command line and eventually traced it to the Reboot Manager functionality in MSIEXEC that will close and attempt to restart processes using files that the installer needs. Reboot Manager clobbered part of SCCM and in the Task Sequence, the connection between SCCM and the installer was broken.
The solution is to pass the property "MSIRESTARTMANAGERCONTROL=Disable" along the command line when calling MSIEXEC on the Build folder MSI file. This setting disabled Restart Manager so it didn't mess up SCCM. Once I did this, my Software Center installs and OSD Task Sequences ran as intended.
For reference, I used the REBOOT=ReallySuppress property for reboots and let SCCM determine what to do with reboots based on the return code. My testing was done with Windows 8.1 Enterprise x64.Like said, did you configure my proposal: "Configuration Manager client will force a mandatory device
restart" ? After you've configured that, update your deployment type manually and remove the old revisions of the application and try running the TS again. I'm guessing you're a little bit too fast on your doings so the ConfigMgr doesn't play a long very
nicely...
The TS stops because of your Hard Reboot (exit code 1641), I've seen this before and I configured my application so that ConfigMgr client will force device restart and that fixed my problem. Although, also my application is the last one in the TS, but still,
the TS continues after the reboot.
Btw. have you tried changing your command line to:
msiexec.exe /i cd-ord.msi TRANSFORMS=sv-se.mst MVLICENSE_KEY=xxxxxxxxxxxxxxxxx /L*V "%temp%\cdord.log" /qn
/norestart -
OSD Task Sequence fails to install SCCM client
Hello,
Our OSD task sequence fails to install the SCCM client with certain images.
The TS gets to the "Setup Windows and Configuration" step, during which it downloads all the necessary SCCM client files (silverlight, C++ redistributable, client.msi....etc.). At this point computer restarts and in never loads back into the
task sequence, instead it enters the minisetup (setup is starting services, setup is installing devices, setup is applying system settings...preparing computer for first use), after which the computer restarts and you are back at the CTR+ALT+Del screen.
The computer has joined the domain and has run all other steps but it has failed to install SCCM client. I can also see the leftovers of an incomplete TS under c:\_SMSTaskSequence
If we change the image specified under "Apply Operating System" step, everything works ok.
It appears there is something wrong with this particular image. Any ideas?
Logs show no errors. Let me know which logs you'd like me to post (and from which location)
There is no ccm folder under c:\windowsHoping you are using ConfigMgr 2012 R2. If a client machine Join to Domain and doesn't proceed with other steps and not installing the CCM client, then problem seems to be with the Image.Do you have any RunOnce registry setting specified in the Image? You
can mount the Image and check those settings.
RunOnce Key Reference :
https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx
If the above key is present in the Image, TS Engine won't resume after the reboot.
You need to use a new variable "SMSTSPostAction" at the end of the Task Sequence, to add your custom actions.
The above variable is applicable in CM 2012 SP1 and R2.
Thanks, Senthil. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. Click on "vote as Helpful" if you feel this post helpful to you. This
can be beneficial to other community members reading the thread. -
SCCM OSD Task sequence variables via Powershell.
Hi,
I am trying to come up with a genernic function to read
SCCM 2012 OSD task sequence variables where
I can pass a varibale name:
Is this the correct way of doing it below?
Thanks,
Ward
# fnRead_SCCM_Variable
function fnRead_SCCM_Variable($sccm_variable)
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$data = $tsenv.Value($sccm_variable)
return $data
$log_path = fnRead_SCCM_Variable "_SMSTSLogPath"That should do the trick. For a nice blog post about the usage of task sequence variables in PowerShell, see:
http://blogs.technet.com/b/mniehaus/archive/2009/09/22/running-powershell-scripts-as-part-of-a-task-sequence.aspx
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
USMT Capture Doesn't Run on "Required" OSD Task Sequences?
Hello,
I have a strange issue with USMT and my OSD Task Sequence. I'm upgrading Windows XP to Windows 7 Enterprise via in-place upgrade with SCCM 2012 SP1 integrated with MDT. My TS runs 100% perfectly if I deploy the TS to my collection, make it "Available,"
and run it from the Software Center. All configured profiles get copied and restored using hardlinks as expected.
When I create a "Required" deployment, however, and let it run on it's own, the USMT never runs and I lose all profile information as a result of the drive format. The rest of the TS runs as expected, but as I said, the USMT (scanstate.exe) won't
run. There are no discernible errors in the SMSTS.log file. I see where it processes my TS variable (OSDMigrateAdditionalCaptureOptions) and where it processes the "Capture User State" step, but scanstate.exe never kicks off or creates a log file.
Am I missing something here? Is this expected behavior? I can't find documentation on this, at least not yet. I have reproduced this exact behavior three times now, and I'm out of ideas.
Snippet of log from working, "Available" deployment:
Parsing step node: Capture User State
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Description: Tue 02/04/2014 9:09:06 AM
260 (0x0104)
ContinueOnError: Tue 02/04/2014 9:09:06 AM
260 (0x0104)
SuccessCodeList: 0 Tue 02/04/2014 9:09:06 AM
260 (0x0104)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
No condition is associated with the step.
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Disable: Tue 02/04/2014 9:09:06 AM
260 (0x0104)
Run in attribute: FullOS Tue 02/04/2014 9:09:06 AM
260 (0x0104)
Timeout: Tue 02/04/2014 9:09:06 AM
260 (0x0104)
DefaultVarlist found Tue 02/04/2014 9:09:06 AM
260 (0x0104)
Variable name: OSDMigrateContinueOnLockedFiles
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: OSDMigrateEnableVerboseLogging
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: OSDMigrateFileAccess
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: OSDMigrateMode Tue 02/04/2014 9:09:06 AM
260 (0x0104)
Variable name: _OSDMigrateOfflineUserState
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: OSDMigrateSkipEncryptedFiles
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: _OSDMigrateUseHardlinks
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Variable name: _OSDMigrateUsmtPackageID
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Action command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%
Tue 02/04/2014 9:09:06 AM 260 (0x0104)
Adding instruction at 23 Tue 02/04/2014 9:09:06 AM
260 (0x0104)
***Shortly after the above step runs, the Scanstate.exe runs and creates a log file
Snippet from non-working, "Required" deployment:
Parsing step node: Set OSDMigrateAdditionalCaptureOptions
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Description: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
ContinueOnError: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
SuccessCodeList: 0 Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
No condition is associated with the step.
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Disable: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Run in attribute: WinPEandFullOS Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Timeout: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
DefaultVarlist found Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
No variables found in default variable list
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Action command line: tsenv.exe "OSDMigrateAdditionalCaptureOptions=/uel:30 /ue:*"
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Adding instruction at 23 Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Parsing step node: Capture User State
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Description: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
ContinueOnError: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
SuccessCodeList: 0 Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
No condition is associated with the step.
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Disable: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Run in attribute: FullOS Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Timeout: Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
DefaultVarlist found Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Variable name: OSDMigrateContinueOnLockedFiles
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: OSDMigrateEnableVerboseLogging
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: OSDMigrateFileAccess
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: OSDMigrateMode Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Variable name: _OSDMigrateOfflineUserState
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: OSDMigrateSkipEncryptedFiles
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: _OSDMigrateUseHardlinks
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Variable name: _OSDMigrateUsmtPackageID
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Action command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%
Tue 02/04/2014 9:25:41 AM 2024 (0x07E8)
Adding instruction at 24 Tue 02/04/2014 9:25:41 AM
2024 (0x07E8)
Any thoughts or advice would be appreciated. This can be done using "Available," but having to log in to each machine in order to kick-off the TS via Software Center seems inefficient.My deployments have the same settings (except the ones that change when going from Available to Required, of course), so that doesn't appear to be the culprit. I re-examined my Capture User State step, and it looks fine, but I'll post my settings just in
case I'm missing something. I can't post the screen capture here for some reason, so below is an outline of my settings:
Package for User State Migration Tool: (My USMT package is listed here)
Capture all user profiles by using standard options is selected
Verbose Logging is OFF
Skip files using EFS is OFF
Copy by using file system access is selected
Continue if some files cannot be captured is ON
Capture locally by using links instead of by copying files is OFF
Capture off-line mode (Windows PE Only) is OFF
Capture by using VSS is not selected
Image is hosted at: imgur (dot) com / RnGyF8d - I can't post links until verified... -
Fasten the Process of MDT UDI OD Installation in SCCM 2012 R2 OSD
Hi,
I have implemented MDT UDI Task Sequence in SCCM 2012 R2 OSD. The issue which I am facing is the UDI Installation progress is very slow. it is taking around 2 hours to complete the whole Installation.
Is there any way to fasten the Process of MDT UDI OD Installation in SCCM 2012 R2 OSD.
Thanks & Regards,
Sanjay DubeyApplication installs can take awhile - it depends on what applications you're installing, and how many. For instance, installing Office is clearly going to take longer than say 7-Zip. How many applications are you installing during a normal OS
deployment? You can check the AppEnforce.log to see how long an application(s) is taking to install, as the start and end times are recorded.
As for the MDT Settings package, how many times are you calling this package? My task sequence only calls it 5 times, and one of them is before you even get the UDI wizard, while the second and third is an either/or situation, depending on whether
you do a refresh or a fresh PC build. -
Install Software Updates fails (timeouts) during OSD Task Sequence
Hi
As one of the lasts steps in our OSD Task Sequence we have an "Install Software Update" step where "Mandatory Software Updates" is choosen. It worked a week ago, but now the step fails with error code 0x800705B4
(This operation returned because the timeout period expired.)
When examining the WindowsUpdate.log I see an error followed by several minutes without log activity:
2014-02-18 10:39:13:874
416 b74
Report CWERReporter finishing event handling. (00000000)
2014-02-18 10:39:13:874
416 b74
Report CWERReporter finishing event handling. (00000000)
2014-02-18 10:39:13:874
416 b74
Report CWERReporter finishing event handling. (00000000)
2014-02-18 10:39:13:999
1632 4e4
COMAPI - Updates found = 260
2014-02-18 10:39:13:999
1632 4e4
COMAPI ---------
2014-02-18 10:39:13:999
1632 4e4
COMAPI -- END -- COMAPI: Search [ClientId = CcmExec]
2014-02-18 10:39:13:999
1632 4e4
COMAPI -------------
2014-02-18 10:39:18:835
416 b74
Report CWERReporter finishing event handling. (00000000)
2014-02-18 11:08:12:225
416 4dc
AU AU received policy change subscription event
2014-02-18 11:08:12:334
416 4dc
AU AU Options changed from policy.
2014-02-18 11:08:12:334
416 4dc
AU Successfully wrote event for AU health state:0
2014-02-18 11:08:12:334
416 4dc
AU ########### AU: Policy change processed ###########
When examining the WUAHadler.log - again there is no log activity during the Software Update step.
Its a WSUS Update Source type ({DCA8EDB2-927C-42AC-9D2E-3D98C3BC3759}), adding it.
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Existing WUA Managed server was already set (http://<servername>:8530), skipping Group Policy registration.
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Added Update Source ({DCA8EDB2-927C-42AC-9D2E-3D98C3BC3759}) of content type: 2
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Scan results will include all superseded updates.
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Async searching of updates using WUAgent started.
WUAHandler 18-02-2014 10:39:05
2016 (0x07E0)
Async searching completed. WUAHandler
18-02-2014 10:39:13 1108 (0x0454)
Successfully completed scan. WUAHandler
18-02-2014 10:39:15 2016 (0x07E0)
Removed Update Source ({DCA8EDB2-927C-42AC-9D2E-3D98C3BC3759}) of content type: 2
WUAHandler 18-02-2014 11:06:25
1160 (0x0488)
CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3;
for bundles WUAHandler
18-02-2014 11:09:25 2232 (0x08B8)
The Software Update Step started at 10:27 and the timeout came at 11:05.
Any ideas why the step times out? Or which logs I should look at?
Regards,
FCPolicyEvaluator.log:
No errors. The last event is:
Received notification that Local policy has changed.
PolicyAgent_PolicyEvaluator 19-02-2014 10:51:11
1692 (0x069C)
Raising event:
instance of CCM_PolicyAgent_SettingsEvaluationComplete
ClientID = "GUID:C2E937AA-CF24-420F-AD81-E8CEADBD7649";
DateTime = "20140219095123.565000+000";
PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
ProcessID = 1748;
ThreadID = 1768;
PolicyAgent_PolicyEvaluator
19-02-2014 10:51:23 1768 (0x06E8)
Forcing settings update for local policy change.
PolicyAgent_PolicyEvaluator 19-02-2014 10:51:23
2900 (0x0B54)
Updating settings in \\.\root\ccm\policy\machine\actualconfig
PolicyAgent_PolicyEvaluator 19-02-2014 10:51:33
2900 (0x0B54)
Raising event:
instance of CCM_PolicyAgent_SettingsEvaluationComplete
ClientID = "GUID:C2E937AA-CF24-420F-AD81-E8CEADBD7649";
DateTime = "20140219095144.641000+000";
PolicyNamespace = "\\\\.\\root\\ccm\\policy\\machine\\actualconfig";
ProcessID = 1748;
ThreadID = 2900;
PolicyAgent_PolicyEvaluator
19-02-2014 10:51:44 2900 (0x0B54)
UpdatesHandler.log:
No errors. A couple of lines:
Successfully initiated scan. UpdatesHandler
19-02-2014 10:54:10 1768 (0x06E8)
Updates scan completion received, result = 0x0.
UpdatesHandler 19-02-2014 10:55:23
3572 (0x0DF4)
UpdatesStore.log
No errors. Just quering updates, and the last line:
Querying update status completed successfully.
UpdatesStore 19-02-2014 10:56:27
3300 (0x0CE4)
In the smsts.log I found an interesting thing:
Successfully initiated RefreshUpdates operation
InstallSWUpdate 19-02-2014 10:51:37
3424 (0x0D60)
Waiting for RefreshUpdates complete notification from Updates Deployment Agent
InstallSWUpdate 19-02-2014 10:51:37
3424 (0x0D60)
FALSE, HRESULT=800705b4 (e:\nts_sccm_release\sms\client\osdeployment\installswupdate\installswupdate.cpp,1273)
InstallSWUpdate 19-02-2014 11:21:37
3424 (0x0D60)
Timedout waiting for updates refresh complete notification
InstallSWUpdate 19-02-2014 11:21:37
3424 (0x0D60)
It times out after exactly 30 minutes. Does 2012 have the same "feature" as 2007? (http://support.microsoft.com/kb/2009754/da)
Still the last event in windowsupdate.log is:
2014-02-19 10:55:37:251
324 dd0
Report CWERReporter finishing event handling. (00000000)
Regards,
FC -
Win 7 x64 OSD Task Sequence BSOD with SSD
Hello,
I have recently rebuilt my OSD Task Sequences into ConfigMgr 2012 R2 and consistently experiencing BSODs on machines with SSDs after the machine boots after the "Setup and Windows ConfigMgr" step. When the machine reboots and starts Windows
Setup, it Blue Screens immediatley after attempting to Update System Registry with the Stop Code 0x000000f4
To validate the health of the SSDs, I am able to successfully build the same machines using bootable media from the (still standing) 2007 environment. Also, replacing the SSD with a standard HDD builds the machine successfully which makes me question
my driver packages less than when I first saw this. I am unable to see any steps in the Task Sequence that appear different between the 2 environments.
I have captured the logs from WinPE as well as the system drive before the crashes have occured - can anyone suggest where I should be looking to help flush out why this is occuring? For what it's worth, the drives are Crucial m4 SSD 2.5 128GB SATA
6Gb/s with the most current firmware.
Thanks
ScottHere is a quick update as I continue to struggle with the same issue on a few different models in our environment.
I have made attempts with multiple different combinations of drivers in packages and continue to see BSODs when the TS reboots after configuring the ConfigMgr client. I have deployed the captured Win 7 image using a basic Task Sequence and have also
brought the Win 7 image from the 2007 environment into 2012 and replaced it in the MDT Task Sequence and the results are all the same.
Given that I can build machines using a Task Sequence with SCCM 2007 but not with ConfigMgr 2012 R2 points at this being a Task Sequence and\or Driver issue. I am appreciative of any suggestions or ideas.
Thanks
Scott
Maybe you are looking for
-
NTSC monitor? WHAT SYSTEM? AVCHD and how much RT?
http://www.youtube.com/watch?v=mhp4NsJFRpU I think you may have to copy and paste the url to the browser. The link does not seem to work otherwise. The link above might help answer some questions. I am not saying my editing system is the best. A deck
-
Optimize Performance in getting Quantity of Open PO per Material and Plant
Hi, Recently I have a project that requires me to get the quantity of the open Purchase Orders (no Goods Reciept yet). The current code I have to get this are as follows (with some alterations): <b>select MATNR WERKS MENGE from EKPO into table i_purc
-
Can't open files created in CS3 with CS4
When I try to open a file that was created in CS3 I get this message: Cannot open the file "OpenEnrollSample.indd". Adobe InDesign may not suport the file format, a plug-in that supports the file format may be issing, or the file may be open in anoth
-
DONT WANT TO LOSE MY 1200 SONGS
My mp3 player was stuck in recovery, have tried disc cleanup and know i guess the only option is to reformat (any other suggestions please help!!!). I am overseas and dont go home for three months. I dont want to lose my songs, i dont have my usb wit
-
How could I find table with match codes
I have to enlarge matchcode for table fields. How could I do that. Where to find it and how I would highly appreciate an example Thank you in advance