OSD Task Sequence - Install Software failed, hr=0x80008013
I am attempting to add Cyberlink PowerDVD into a Task Sequence to deploy to our Dell desktops. If I advertise the package to a member of a collection, it will install successfully in a Windows XP environment without any issues. However, if I add a step in a Task Sequence to install the package, it fails with the following error;
The task sequence execution engine failed executing the action (Install Cyberlink PowerDVD 7.0.0.1024) in the group (Dell) with the error code 2147516435
Action output: Per-system Unattended",PKG_PackageID="DC10009A"'
Verified policy is compiled in 'root\ccm\policy\machine' namespace
content location count = 1
Invoking Execution Manager to install software
FALSE, HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\installsoftware.cpp,282)
0, HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\installsoftware.cpp,746)
Entering ReleaseSource() for \\server.domain.com\SMSPKGD$\DC10009Areference count 1 for the source \\server.domain.com\SMSPKGD$\DC10009A\ before releasing
Released the resolved source \\server.domain.com\SMSPKGD$\DC10009ApInstall->Install(sPackageID, sProgramName), HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\main.cpp,374)
Failed to invoke Execution Manager to Install Software for PackageID='DC10009A' ProgramID='Per-system Unattended' AdvertID='DC1200A9' hr=0x80008013
InstallSoftware failed, hr=0x80008013
Install Software failed, hr=0x80008013.
Any help or ideas would be greatly appreciated.
Thanks in advance.
bradz123 wrote:
The 0x80008013 is a return result failing to detect that the dependency was installed. I ran into this one myself and have struggled quite a bit with it.
E_FAIL_DEPENDENCY_NOT_RUN 0x80008013
http://technet.microsoft.com/en-us/library/bb632794.aspx
The trouble is that in the OSD, SCCM is not smart enough to detect and run the dependent program, even though all of the data is available and in the database for it to build this information on it's own.
This is a HUGE downfall of the OSD and requires one of a few workarounds.
You can either ensure that the package is installed prior to that one by manually install the dependant application or use the MDT databse add the correct fields.
Another pain in the arse is when you have a package that has a custom action which REQUIRES it to be run on the local drive and not from a network drive which is an even worse beast.
Brad
As a side note to any Microsoft staff out there looking at this, is this ever going to be an option/fix in future releases? You can script it a whole infrastructure to just do this option since everything is already there but it's much less fun that just pointing and clicking, not to mention you have less logging and error control and it's a pain.
If you are taking any suggestions for additional features or functionality I'd add this one and an update to how the driver library functions.
Thanks,
Brad
Similar Messages
-
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 -
SCCM problem Task Sequence install software
Hi,
I have a problem concerning sccm OS Deployment.
following scenario:
OS Deployment worked great before Christmas. From the end of December to the second week in January, nobody in the company, no changes to the server.
Now in the new year, i tried to deploy the first Client, without success. The first step in the task sequence, which is related to a software installation ends with the error mesage "installation failed with error 0x80041002".
So i tried "Continue on error". But the result was that the next software ends with the same error. The really strange thing is that the software which ends with the error code is properly installed on the machine.
It goes even further, I configured a complete OSD with Continue on error to exclude the possibility that some software package has a failure. Result, the eror code occurs on every step where software is installed.
In Execmgr.log i got always the same error. Exit code -2147217406
Now I created a new software package in SCCM and applied this to the TS, same error. New SCCM client package , same error. An update on the DPs of the affected packages, nothing.
Installation with another WIM file, same problem.are you sure that's the right error ?
a quick search tells me this... Error code, 80041002 occurs when you execute a VBScript connecting to WMI (Windows Management Instrumentation). This is a spelling error check the names of the objects. Alternatively, you could be trying to use
a class that does not exist, e.g. Win32_Services. It should be the singular Win32_Service
so do you have a simple spelling or WMI class error ?
Step by Step ConfigMgr 2007
Guides
Step by Step ConfigMgr 2012
Guides
I'm on Twitter > ncbrady -
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 -
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 -
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. -
Service Pack for Proliant installing successfully but returning failure in OSD task sequence
Building bare metal servers with SCCM 2012 SP1 CU2 OSD and running into an issue with HPs where they attempt to install the Service Pack for Proliant 2013.02.0. I am using a package with a program. Here is the program command line:
Hpsum.exe /use_latest /allow_non_bundle_components /current_credential /silent
The application installs successfully but there is a distinct delay and then errors thrown that fails the TS. Setting 'continue on error' is a work around but not what I want to have in the production environment. How can I get around this issue?
This is the same exact package and program that ran perfectly fine in SCCM 2007, but we are seeing this as a new issue since the migration to SCCM 2012.
I'd like to solve this issue as well as get rid of the "Waiting for job status notification....InstallSoftware"
Any suggestions?
SMSTS.LOG
Invoking Execution Manager to install software InstallSoftware
12/3/2013 9:59:49 AM 1568 (0x0620)
Installing software for PackageID='WCD002D2' ProgramID='Silent install' AdvertID='WC120008' has started, jobID='{8B4082A9-9477-4D1F-9DEC-6A3F19EC3F6F}'
InstallSoftware 12/3/2013 9:59:50 AM
1568 (0x0620)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_WCD002D2_WC120008_Silent install'='{8B4082A9-9477-4D1F-9DEC-6A3F19EC3F6F}'
InstallSoftware 12/3/2013 9:59:50 AM
1568 (0x0620)
Waiting for installation job to complete.. InstallSoftware
12/3/2013 9:59:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:00:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:00:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:01:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:01:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:02:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:02:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:03:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:03:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:04:20 AM 1568 (0x0620)
Launching command shell. OSDSetupHook
12/3/2013 10:04:25 AM 2696 (0x0A88)
Windows station: WinSta0 OSDSetupHook
12/3/2013 10:04:25 AM 2696 (0x0A88)
Desk"Apple-tab-span" style="white-space:pre;"> OSDSetupHook
12/3/2013 10:04:25 AM 2696 (0x0A88)
executing command: C:\WINDOWS\system32\cmd.exe /k
OSDSetupHook 12/3/2013 10:04:25 AM
2696 (0x0A88)
executed command: C:\WINDOWS\system32\cmd.exe /k
OSDSetupHook 12/3/2013 10:04:25 AM
2696 (0x0A88)
Waiting for job status notification... InstallSoftware
12/3/2013 10:04:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:05:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:05:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:06:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:06:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:07:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:07:50 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:08:20 AM 1568 (0x0620)
Waiting for job status notification... InstallSoftware
12/3/2013 10:08:50 AM 1568 (0x0620)
CompleteExecution received InstallSoftware
12/3/2013 10:09:00 AM 3320 (0x0CF8)
CompleteExecution processed InstallSoftware
12/3/2013 10:09:00 AM 3320 (0x0CF8)
Received job completion notification from Execution Manager
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Installation completed with exit code 0x80070001
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Installation failed with error (0x80070001)
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_WCD002D2_WC120008_Silent install'=''
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
GetExecRequestMgrInterface successful InstallSoftware
12/3/2013 10:09:00 AM 1568 (0x0620)
Releasing job request, jobID='{8B4082A9-9477-4D1F-9DEC-6A3F19EC3F6F}'
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Releasing of Job Request successful InstallSoftware
12/3/2013 10:09:00 AM 1568 (0x0620)
CompleteJob successful InstallSoftware
12/3/2013 10:09:00 AM 1568 (0x0620)
Entering ReleaseSource() for D:\_SMSTaskSequence\Packages\WCD002D2
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
reference count 1 for the source D:\_SMSTaskSequence\Packages\WCD002D2 before releasing
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Released the resolved source D:\_SMSTaskSequence\Packages\WCD002D2
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
pInstall->Install(sPackageID, sProgramName), HRESULT=80070001 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361)
InstallSoftware 12/3/2013 10:09:00 AM
1568 (0x0620)
Install Software failed, hr=0x80070001 InstallSoftware
12/3/2013 10:09:00 AM 1568 (0x0620)
Process completed with exit code 2147942401
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Failed to run the action: HP Server Pack for ProLiant 2013.02.
Incorrect function. (Error: 80070001; Source: Windows)
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
MP server http://MP_server.company.com. Ports 80,443. CRL=false.
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Setting authenticator TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Set authenticator in transport TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Sending StatusMessage TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Setting message signatures. TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Setting the authenticator. TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
CLibSMSMessageWinHttpTransport::Send: URL: MP_server.company.com:80 CCM_POST /ccm_system/request
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Request was succesful. TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Set a global environment variable _SMSTSLastActionRetCode=-2147024895
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Set a global environment variable _SMSTSLastActionSucceeded=false
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Clear local default environment TSManager
12/3/2013 10:09:00 AM 3372 (0x0D2C)
Let the parent group (System Management Install) decides whether to continue execution
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
The execution of the group (System Management Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)
Failed to run the last action: HP Server Pack for ProLiant 2013.02. Execution of task sequence failed.
Incorrect function. (Error: 80070001; Source: Windows)
TSManager 12/3/2013 10:09:00 AM
3372 (0x0D2C)Hello Guys!
HP ProLiant Support Pack / Service Pack uses different Exit Codes, due to that this software support other operating systems than Windows. Therefore HP has standardized to use other Exit Codes, which Windows Detect as failures.
HPSum Exit Codes:
ExitCode 1 = "Installation Successful"
ExitCode 2 = "Installation Successful, but a reboot is required"
ExitCode 3 = "Installation was canceled, or no components were updated"
EcitCode 9009 = "Installation did not complete. Check the path and make sure that the Installation exists at the specified location"
HP recommends to use following Batch File to workaround this issue for SCCM:
=======================START_BatchFile=============================
:Init
@Echo Off
Cls
:Main
Echo HP Proliant Service Pack Setup
Echo Source : %~dp0
Echo ===============================================================================
Echo Installing the HP Proliant Service Pack Setup
Echo Command: "%~dp0hpsum.exe" /use_latest /target:%COMPUTERNAME% /force /Use_WMI /s
"%~dp0hpsum.exe" /use_latest /target:%COMPUTERNAME% /force /Use_WMI /s
:CheckForErrors
Echo HP Proliant Service Pack Stauts:
If "%errorlevel%"=="0" (
Echo *******************************************************************************
Echo INSTALLATION FAILED!
Echo *******************************************************************************
exit 1
If "%errorlevel%"=="1" (
Echo Installation Successful!
exit 0
If "%errorlevel%"=="2" (
Echo Installation Successful, but a reboot is required.
exit 3010
If "%errorlevel%"=="3" (
Echo Installation was canceled, or no components were updated
exit 0
If "%errorlevel%"=="9009" (
Echo Installation did not complete. Check the path and make sure that the
Echo Installation exists at the specified location:
Echo Path: %~dp0
Exit 1
:End
Echo An unknown status code was returned from the PSP.
Echo This status code is [%errorlevel%]. This will be treated as a success,
Echo but please check the installation to make sure it completedly properly!
Exit 0
=======================STOP_BatchFile=============================
God Luck!
Best Regards Anders Horgen -
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 -
PXE OSD Task Sequence fails to run on new laptop
We are trying to run a working PXE OSD task sequence on a new HP laptop. It's a Elitebook 840 G2. We've downloaded the provided driver package & created a new driver package in SCCM. We inserted the driver into the boot image &
updated the DPs. When we PXE boot the laptop it flashes the splash screen & reboots. Other laptops & desktops boot properly. This looks like a driver issue but we wanted to run it past the forum to see if anyone had any other suggestions.
The SMSTS log file is copied below.
LOGGING: Finalize process ID set to 728
TSBootShell
4/23/2015 4:20:40 PM
732 (0x02DC)
==============================[ TSBootShell.exe ]==============================
TSBootShell 4/23/2015 4:20:40 PM
732 (0x02DC)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
TSBootShell 4/23/2015 4:20:40 PM
732 (0x02DC)
Debug shell is enabled TSBootShell
4/23/2015 4:20:40 PM 732 (0x02DC)
Waiting for PNP initialization... TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
RAM Disk Boot Path: NET(0)\SMSIMAGES\ALN00001\BOOT.ALN00001.WIM
TSBootShell 4/23/2015 4:20:40 PM
736 (0x02E0)
Booted from network (PXE) TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
Network(PXE) path: X:\sms\data\ TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
Found config path X:\sms\data\ TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
Booting from removable media, not restoring bootloaders on hard drive
TSBootShell 4/23/2015 4:20:40 PM
736 (0x02E0)
X:\sms\data\WinPE does not exist. TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
X:\_SmsTsWinPE\WinPE does not exist. TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
Executing command line: wpeinit.exe -winpe TSBootShell
4/23/2015 4:20:40 PM 736 (0x02E0)
Executing command line: X:\WINDOWS\system32\cmd.exe /k
TSBootShell 4/23/2015 4:20:40 PM
732 (0x02DC)
The command completed successfully. TSBootShell
4/23/2015 4:20:40 PM 732 (0x02DC)
Successfully launched command shell. TSBootShell
4/23/2015 4:20:40 PM 732 (0x02DC)
Executing command line: X:\WINDOWS\system32\cmd.exe /k
TSBootShell 4/23/2015 4:20:41 PM
732 (0x02DC)
The command completed successfully. TSBootShell
4/23/2015 4:20:41 PM 732 (0x02DC)
Successfully launched command shell. TSBootShell
4/23/2015 4:20:41 PM 732 (0x02DC)
Executing command line: X:\WINDOWS\system32\cmd.exe /k
TSBootShell 4/23/2015 4:20:41 PM
732 (0x02DC)
The command completed successfully. TSBootShell
4/23/2015 4:20:41 PM 732 (0x02DC)
Successfully launched command shell. TSBootShell
4/23/2015 4:20:41 PM 732 (0x02DC)
The command completed successfully. TSBootShell
4/23/2015 4:20:43 PM 736 (0x02E0)
Starting DNS client service. TSBootShell
4/23/2015 4:20:43 PM 736 (0x02E0)
Executing command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\
TSBootShell 4/23/2015 4:20:44 PM
736 (0x02E0)
The command completed successfully. TSBootShell
4/23/2015 4:20:44 PM 736 (0x02E0)
==============================[ TSMBootStrap.exe ]==============================
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
Command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL'
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
Succeeded loading resource DLL 'X:\sms\bin\i386\TSRESNLC.DLL'
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
Current OS version is 6.2.9200.0 TSMBootstrap
4/23/2015 4:20:44 PM 1124 (0x0464)
Adding SMS bin folder "X:\sms\bin\i386" to the system environment PATH
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
PXE Boot with Root = X:\ TSMBootstrap
4/23/2015 4:20:44 PM 1124 (0x0464)
Executing from PXE in WinPE TSMBootstrap
4/23/2015 4:20:44 PM 1124 (0x0464)
Loading TsPxe.dll from X:\sms\bin\i386\TsPxe.dll
TSMBootstrap 4/23/2015 4:20:44 PM
1124 (0x0464)
TsPxe.dll loaded TSPxe
4/23/2015 4:20:44 PM 1124 (0x0464)
Device has PXE booted TSPxe
4/23/2015 4:20:44 PM 1124 (0x0464)
Variable Path: \SMSTemp\2015.04.22.16.21.10.0001.{8EBA05A2-1AB7-4CBB-9DDD-497DFE8E5E07}.boot.var
TSPxe 4/23/2015 4:20:44 PM
1124 (0x0464)
Succesfully added firewall rule for Tftp TSPxe
4/23/2015 4:20:44 PM 1124 (0x0464)
Executing: X:\sms\bin\i386\smstftp.exe -i 172.20.100.51 get \SMSTemp\2015.04.22.16.21.10.0001.{8EBA05A2-1AB7-4CBB-9DDD-497DFE8E5E07}.boot.var X:\sms\data\variables.dat
TSPxe 4/23/2015 4:20:44 PM
1124 (0x0464)
Command line for extension .exe is "%1" %*
TSPxe 4/23/2015 4:20:44 PM
1124 (0x0464)
Set command line: "X:\sms\bin\i386\smstftp.exe" -i 172.20.100.51 get \SMSTemp\2015.04.22.16.21.10.0001.{8EBA05A2-1AB7-4CBB-9DDD-497DFE8E5E07}.boot.var X:\sms\data\variables.dat
TSPxe 4/23/2015 4:20:44 PM
1124 (0x0464)
Executing command line: "X:\sms\bin\i386\smstftp.exe" -i 172.20.100.51 get \SMSTemp\2015.04.22.16.21.10.0001.{8EBA05A2-1AB7-4CBB-9DDD-497DFE8E5E07}.boot.var X:\sms\data\variables.dat
TSPxe 4/23/2015 4:20:44 PM
1124 (0x0464)
Process completed with exit code 1 TSPxe
4/23/2015 4:21:31 PM 1124 (0x0464)
Succesfully removed firewall rule for Tftp TSPxe
4/23/2015 4:21:31 PM 1124 (0x0464)
uExitCode == 0, HRESULT=80004005 (e:\nts_sccm_release\sms\server\pxe\tspxe\tspxe.cpp,185)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
Failed to download pxe variable file. Code(0x00000001)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
PxeGetPxeData failed with 0x80004005
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
HRESULT_FROM_WIN32(dwError), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstraputil.cpp,1459)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
TSMBootstrapUtil::PxeGetPxeData(&bPxeBooted, sVariablesFile, sPxePasswd), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,2667)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
oTSMediaWizardControl.Run( sMediaRoot, true, sTSLaunchMode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1078)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
Execute( eExecutionEnv, sConfigPath, sTSXMLFile, uBootCount, &uExitCode ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmbootstrap.cpp,1226)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
Exiting with return code 0x80004005 TSPxe
4/23/2015 4:21:31 PM 1124 (0x0464)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)
TSPxe 4/23/2015 4:21:31 PM
1124 (0x0464)
Execution complete. TSBootShell
4/23/2015 4:21:31 PM 736 (0x02E0)
hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
GetTsRegValue() is unsuccessful. 0x80070002.
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
End program: TSBootShell
4/23/2015 4:21:31 PM 736 (0x02E0)
Finalizing logging from process 728 TSBootShell
4/23/2015 4:21:31 PM 736 (0x02E0)
Finalizing logs to root of first available drive
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)
LOGGING: Setting log directory to "D:\SMSTSLog".
TSBootShell 4/23/2015 4:21:31 PM
736 (0x02E0)Press F8 in order to get a cmd window and see if the client got an IP address.
Torsten Meringer |
There's no IP Address when trying to the command prompt. It doesn't even show a MAC Address. -
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) -
Running Task Sequence from Software Center failed after rebooting to WinPE (0x8022001B)
Hi all
I have created a task sequence to refresh client OS to windows 8.1 x64. I ran this task sequence in software center on a windows 7 client, everything went well without any fails.
But when I ran the same ts again after it refreshed to Windows 8.1, it failed immediately after rebooted to WinPE. It shows a warning with error code 0x8022001B.
My test environment: SCCM 2012 R2 (Windows Server 2012 R2). Client Device: Lenovo L430
Any suggestions? Thanks in advance!
SMSTS.log file shows below:
<![LOG[Configuring 1 of 3 network adapters]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="netsettings.cpp:186">
<![LOG[Configuring DHCP]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:417">
<![LOG[DNS suffix: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:428">
<![LOG[DNS server search order: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:437">
<![LOG[DNS registration enabled: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:444">
<![LOG[Full DNS registration enabled: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:452">
<![LOG[Permitted IP protocols: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:457">
<![LOG[Permitted TCP ports: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:461">
<![LOG[Permitted UDP ports: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:465">
<![LOG[Tcpip Netbios options: 0]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:474">
<![LOG[Enable WINS: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:480">
<![LOG[WINS server(s): ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:489">
<![LOG[MAC address: a4:17:31:f3:e4:28]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:503">
<![LOG[Adapter index: 0]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:512">
<![LOG[Adapter name: WLAN]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:516">
<![LOG[Getting namespace "Microsoft-Windows-TCPIP" for architecture "amd64"]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="smiinterface.cpp:222">
<![LOG[Added list item with key value 'a4-17-31-f3-e4-28']LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="smiinterface.cpp:441">
<![LOG[Configuring 2 of 3 network adapters]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="netsettings.cpp:186">
<![LOG[Configuring DHCP]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:417">
<![LOG[DNS suffix: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:428">
<![LOG[DNS server search order: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:437">
<![LOG[DNS registration enabled: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:444">
<![LOG[Full DNS registration enabled: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:452">
<![LOG[Permitted IP protocols: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:457">
<![LOG[Permitted TCP ports: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:461">
<![LOG[Permitted UDP ports: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:465">
<![LOG[Tcpip Netbios options: 0]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:474">
<![LOG[Enable WINS: false]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:480">
<![LOG[WINS server(s): ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:489">
<![LOG[MAC address: a4:17:31:f3:e4:28]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:503">
<![LOG[Adapter index: 1]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:512">
<![LOG[Adapter name: WLAN]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:516">
<![LOG[spItem->CreateListElement( var, &spChildItem ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\smiinterface.cpp,439)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="smiinterface.cpp:439">
<![LOG[Failed to create list element with key value 'a4-17-31-f3-e4-28' (0x8022001B)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="3" thread="808" file="smiinterface.cpp:439">
<![LOG[pSetupPass->addListItem( m_spSettingsEngine, pszNamespace, pszPath, pszKeyValue ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\smiinterface.cpp,1187)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="smiinterface.cpp:1187">
<![LOG[m_pSMIInterface->addListItem( SetupPassValue[eSetupPass], pszComponentName, pszPath, pszKeyValue ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\xmlanswerfile.cpp,738)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="xmlanswerfile.cpp:738">
<![LOG[AddListItem( eSetupPass, XML::TcpIp::ComponentName, XML::TcpIp::Interfaces::InterfaceElement, sIdentifier ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\xmlanswerfile.cpp,1063)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="xmlanswerfile.cpp:1063">
<![LOG[m_pImpl->AddAdapterTcpIpSettings( XMLAnswerFileImpl::WindowsPE, adapterInfo ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\winpeanswerfile.cpp,176)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="winpeanswerfile.cpp:176">
<![LOG[pAnswerFile->AddNetworkAdapter(adapterInfo), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\netadaptersettings.cpp,575)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netadaptersettings.cpp:575">
<![LOG[Failed to configure adapter 1 (0x8022001B)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="3" thread="808" file="netadaptersettings.cpp:575">
<![LOG[adapterSettings.Configure( pAnswerFile ), HRESULT=8022001b (e:\nts_sccm_release\sms\framework\osdcore\netsettings.cpp,188)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="netsettings.cpp:188">
<![LOG[Failed to configure network settings for adapter 2 (0x8022001B)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="3" thread="808" file="netsettings.cpp:188">
<![LOG[m_pNetSettings->Configure(pAnswerFile), HRESULT=8022001b (e:\nts_sccm_release\sms\client\tasksequence\bootshell\bootstrapsettings.cpp,191)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="bootstrapsettings.cpp:191">
<![LOG[this->createAnswerFile(sAnswerFilePath), HRESULT=8022001b (e:\nts_sccm_release\sms\client\tasksequence\bootshell\bootstrapsettings.cpp,140)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="bootstrapsettings.cpp:140">
<![LOG[pSettings->configureAnswerFile(), HRESULT=8022001b (e:\nts_sccm_release\sms\client\tasksequence\bootshell\bootshell.cpp,595)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="bootshell.cpp:595">
<![LOG[Execution failed with error 8022001B.]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="3" thread="808" file="bootshell.cpp:703">
<![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="environmentscope.cpp:493">
<![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="environmentlib.cpp:335">
<![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="environmentlib.cpp:553">
<![LOG[::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="0" thread="808" file="utils.cpp:809">
<![LOG[RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="2" thread="808" file="utils.cpp:809">
<![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="2" thread="808" file="utils.cpp:842">
<![LOG[End program: ]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="bootshell.cpp:725">
<![LOG[Finalizing logging from process 800]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="tslogging.cpp:1741">
<![LOG[Finalizing logs to root of first available drive]LOG]!><time="14:10:49.114+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="tslogging.cpp:1583">
<![LOG[LOGGING: Setting log directory to "E:\SMSTSLog".]LOG]!><time="14:10:49.130+480" date="01-09-2015" component="TSBootShell" context="" type="1" thread="808" file="tslogging.cpp:1808">Then it's using a different boot image that doesn't have the NIC driver. The OS that the TS starts out in has no impact on the WinPE environment. Either the driver is there and properly loads or it doesn't -- there is not and cannot be any connection to
the OS the system was booted into prior to PE booting.
Thus, the only possibility here is that the boot image does *not* have the NIC driver in it. You need to verify which boot image I being used in both cases.
Jason | http://blog.configmgrftw.com | @jasonsandys -
Hi everyone,
I have added a driverset (HP Z620) in SCCM for the first time using our internal procedure (Importing Drivers to SCCM, Create Driver package with specific category, apply driver package in TS using WMI to query for the model).
The Task Sequence succeeded, but the NVIDIA K2000 Graphics driver isn't installed (only HD Graphics 4000 driver).
Looking at the drivers in the Driver Package, this should normally apply since the driver is compatible with this specific GPU.
At the forums, I can see that some people have created a seperate package for the GPU driver installation using command line switches.. But looking at the environment at the customer, we have never done this and in the past, we have succesfully installed
the driver for this GPU before.
PS: The driver for the GPU in my new driver package (HP Z620) isn't the same as for previous models (HP Z220, Z230, Z600).
Could you please advise me what to do? Should I have added something in the driver sources before importing the driver to SCCM?
Thanks in advance!
Kind regardsHi
I m installing Nvidia (Quadro K2000) Driver during OSD (Task Sequence succeeded) - HP Z420
Remove the Graphics driver for NVIDIA from the current driver database
Added below task in the existing task sequence as invidual installation based on the Condition (WMI query)
Command Line
HP_Z420_Graphics_x64\Win64_332_50\setup.exe -s -k -clean -noeula
This will install the desired driver and related configurable components
WMI Query
select * from win32_ComputerSystem where manufacturer like '%hewlett%' and model like '%z420%'
Currently I m looking out for the Errors codes needed to add to this task . Success codes 3010 and 0 already added -
SCCM 2012 - OSD Task Sequence Error 0x80091007
When deploying the OSD to a laptop model the TS is failing, see below from Status Message Viewer:
The task sequence execution engine failed executing the action (Apply E6220 Driver Package) in the group (PostInstall) with the error code 2148077575
Action output: urce, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3217)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3122)
TS::Utility::ResolveSource( pszPackageId, sSource ), HRESULT=80091007 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\driverinstaller.cpp,472)
pDriverInstaller->InstallDriverPackage( sPackageId, pBootCriticalInfo ), HRESULT=80091007 (e:\nts_sccm_release\sms\client\osdeployment\osddriverclient\osddriverclient.cpp,380)
Exiting with return code 0x80091007
Hash could not be matched for the downloded content. Original ContentHash = EB2A940227C7043DDDCE0985EB37CBB650245F47F12ACD48C936521F5CECAFED, Downloaded ContentHash = 6F4ED0BD9ECC46712E6160BF681ED3785097D95A43652424FB97E12EB1EAF8E3
Failed to determine the driver source location. Code 0x80091007
Failed to provision driver. Code 0x80091007. The operating system reported error 2148077575: The hash value is not correct.
I have redistributed the Driver packages to the DP's but still no luck - does anyone have any idea's?
Thanks
MCTS | MCITP | MCSABelow is the whole thread from Expert-sex-change.com:
SCCM OS deployment error (0x80091007)
Asked by: MoritzCSA
We are getting Error on one of your Primary Child site when deploying a XP Install Package.
In the Advertisment Status we are getting following errors:
The task sequence execution engine failed executing the action
(Apply Operating System Image) in the group () with the error code
2148077575
Action output: zSource, sSourceDirectory, dwFlags, hUserToken,
pszUserName, pszUserPassword), HRESULT=80091007
(e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3130)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0),
HRESULT=80091007
(e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3031)
TS::Utility::ResolveSource( this->packageID, this->packagePath,
TS::Utility::ResolveSourceFlags::PersistContents ),
HRESULT=80091007
(e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,
160)
installer.install(), HRESULT=80091007
(e:\nts_sms_fre\sms\client\osdeployment\applyos\installscripted.cpp,
632)
Entering ReleaseSource() for
C:\_SMSTaskSequence\Packages\GID00004
The user tries to
release a source directory
C:\_SMSTaskSequence\Packages\GID00004 that is either already
released or we have not connected to it InstallScripted(
g_InstallPackageID, g_ImageIndex, targetVolume,
g_ConfigPackageID, g_ConfigFileName ), HRESULT=80091007
(e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,397).
The operating system reported error 2148077575: The hash value is
not correct.
The task sequence execution engine aborted execution for a failure
of the action (Apply Operating System Image) in the group (). The
operating system reported error 2148077575: The hash value is not
correct.
The task sequence execution engine failed execution of a task
sequence. The operating system reported error 2148077575: The
hash value is not correct.
The task sequence manager could not successfully complete
execution of the task sequence. A failure exit code of 16389 was
returned.
appreciate any help
IMAG0020.jpg
747 KBscreenshot off error on Client Computer when deploying OS
2010-02-05 at 04:39:43ID: 25117354TopicsMS System Center ,Deployment Software for DevelopmentParticipating Experts3Points0Comments9
Request Attention
Answers
EXPERT COMMENT
by: NJComputerNetworksPosted on 2010-02-05 at 05:29:05ID: 26494779
1) enable f8 boot console on your boot image: http://www.windows-noob.com/forums/index.php?/topic/546-how-can-i-troubleshoot-windows-pe-booting-in-sccm/ this will get you to a command prompt on the client
2) look at the smsts.log for exactly why your client is failing osd: http://blogs.technet.com/inside_osd/archive/2007/12/13/troubleshooting-tips.aspx
3) also look at the reports for information as to why your OSD is failing: http://blogs.technet.com/inside_osd/archive/2007/12/13/troubleshooting-tips.aspx
AUTHOR COMMENT
by: MoritzCSAPosted on 2010-02-05 at 05:39:33ID: 26494871
Hi,
Its not the Boot image what has problems. Its one single OS package as others workjust fine
EXPERT COMMENT
by: NJComputerNetworksPosted on 2010-02-05 at 06:01:11ID: 26495086
lol... ok... but enabling F8 will allow you to get to the smsts.log which should contain some more information about why the single OS package is failing.
EXPERT COMMENT
by: JonLambertPosted on 2010-02-08 at 01:43:35ID: 26512090
OK, it looks like (as descripted in the logs) that the Hash Value for the package GID00004 is not correct.
I've seen this before with Boot WIMS, if GID00004 is a boot WIM package, then try creating a new Boot Wim, deploying it to the relevant DPs, assigning it to th TS and try again.
If GID00004 is not a Boot WIM, then try updating the package, and keep an eye on DistMgr.log to ensure it get's distributed Ok.
AUTHOR COMMENT
by: MoritzCSAPosted on 2010-02-09 at 07:13:55ID: 26524885
Hi have recreated the OS Install Packlage and have distributed it again to the Primary Child site. Still the same issue as for example the same OS in English is running fine. GID00004 was an OS Install Package.
I have the log file from the F8 boot atached
smsts-20100210-001651.log
976 KBlog
smsts.log
391 KBlog2
ADMINISTRATIVE COMMENT
by: TheLearnedOnePosted on 2010-03-03 at 18:54:29ID: 27299334
MoritzCSA,
After 21 days without comment, it is time for you to finalize this old question -- accept an answer, split points, or get a refund. Please be a responsible EE Member and maintain your open questions! Click here to see your options: http://www.experts-exchange.com/help.jsp#hi331
EXPERTS,
I need your help. Please post your closing recommendations within a few days. If you do not respond, I may need to assume that no correct answer was provided.
TheLearnedOne
Experts-Exchange Cleanup Volunteer
EXPERT COMMENT
by: JonLambertPosted on 2010-03-03 at 19:17:39ID: 27299526
OK, now the package with an hash error is GID0002A .. which is the OS Install Package, Check the source directory for files with odd characters, or extremely long directory paths .. this can sometime cause a hash-check mismatch.
Hash could not be matched for the downloded content. Original ContentHash = A9173DC49D149170C0F7F5526154AC4381ED0DC0, Downloaded ContentHash = 88601C0BA124401EA13790D2F318AF04CB283DD1 ApplyOperatingSystem
9/02/2010 3:29:21 PM 1680 (0x0690)
ACCEPTED SOLUTION
by: MoritzCSAPosted on 2010-03-04 at 00:23:07ID: 27300766
I have change the OS installation to not download the package. After this change it works fine without issues.
0
excellent
Save to Personal Knowledgebase
EXPERT COMMENT
by: DSS-RMPosted on 2010-10-17 at 07:14:56ID: 33923836
Update the distribution points of the package that was failing. I have had this same problem and a distribution point update will fix it. -
Auto Login as part of OSD Task Sequence
Hi,
I am wondering if there is a way to force a Login with a specified account to Windows as part of an OSD. I have an command in the registry in HKEY Local Machine...../RunOnce that needs to run before the end user uses their computer.
Unfortunatly, it just will not run as part of a "Run Command Line" Task.
I can accomlish this by using the GUIUNATTEND AutoLogon in Sysprep, but that also presents some challenges. If there was a way in the OSD Task Sequence that I could force a login with a specified account and then logout, that would be great.
Thanks
Rosy_55The code (vb) below would be created into a step as an application installation or package installation as the second to last step, the last step would be to reboot into the default OS.
This will, during OSD set a autologin account to login until rebooted, once done the last step will reboot and log into windows, the runonce section will then run gpupdate, and then restart the machine.
It will only login once. Modify as needed.
Note that you need to modify the sUsername = "domain\user", and sPassword = "domainuserpassword"
variables.
CODE:
'after autologin this sets the computer to run gpupdate one time and then reboot
Set objShell = WScript.CreateObject("WScript.Shell")
strRunOnce = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\joinDomain"
objShell.RegWrite strRunOnce, "cmd /k gpupdate "&chr(38)&chr(38)&"shutdown -r -f -t 10", "REG_SZ"
'this configures the autologin
Const HKEY_CLASSES_ROOT = &h80000000
Const HKEY_CURRENT_USER = &h80000001
Const HKEY_LOCAL_MACHINE = &h80000002
Const HKEY_USERS = &h80000003
Const HKEY_CURRENT_CONFIG= &h80000005
Const HKEY_DYN_DATA = &h80000006
sUsername = "domain\user"
sPassword = "domainuserpassword"
Set objNetwork = CreateObject("Wscript.Network")
sComputer = objNetwork.ComputerName
strRegKey = "Software\Microsoft\Windows NT\CurrentVersion\Winlogon\"
Write64BitRegistry "REG_SZ", HKEY_LOCAL_MACHINE, strRegKey, "AutoAdminLogon", "1"
Write64BitRegistry "REG_SZ", HKEY_LOCAL_MACHINE, strRegKey, "DefaultUserName", sUsername
Write64BitRegistry "REG_SZ", HKEY_LOCAL_MACHINE, strRegKey, "DefaultDomainName", strComputer
Write64BitRegistry "REG_SZ", HKEY_LOCAL_MACHINE, strRegKey, "DefaultPassword", sPassword
Write64BitRegistry "REG_SZ", HKEY_LOCAL_MACHINE, strRegKey, "ForceAutoLogon", 1
Write64BitRegistry "REG_DWORD", HKEY_LOCAL_MACHINE, strRegKey, "AutoLogonCount", 1
Sub Write64BitRegistry (strRegType, strRootKey, strKey, strValueName, strValue)
Dim objCtx, objLocator, objReg, intReturnCode
Set objCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
objCtx.Add "__ProviderArchitecture", 64
Set objLocator = CreateObject("Wbemscripting.SWbemLocator")
Set objReg = objLocator.ConnectServer("", "root\default", "", "", , , , objCtx).Get("StdRegProv")
If Ucase(strRegType) = "KEY" Then
intReturnCode = objReg.CreateKey(strRootKey,strKey)
End If
If Ucase(strRegType) = "REG_DWORD" Then
intReturnCode = objReg.SetDWORDValue(strRootKey,strKey,strValueName,strValue)
End If
If Ucase(strRegType) = "REG_SZ" Then
intReturnCode = objReg.SetStringValue(strRootKey,strKey,strValueName,strValue)
End If
If Ucase(strRegType) = "REG_EXPAND_SZ" Then
intReturnCode = objReg.SetExpandedStringValue(strRootKey,strKey,strValueName,strValue)
End If
If Not intReturnCode = 0 Then
End If
End Sub
William Lee -
Cant get 2013 data base AdminPassword= to work in OSD task sequence
I'm using the MDT database to consolidate five windows 7 task sequences on five SCCM2007 site servers to one task sequence on one 2012 R2 site server. I got my locations by ip subnet working and most of the settings applied successfully, Join Domain, add
a group to the local admin group, but I can't seem to get the AdminPassword=MyPassword to work.
I've got an "apply windows settings" step in my task sequence. But the machine keeps getting what ever its password is set to.
If I leave it bland then I get a blank password etc.. If I run without the "apply windows settings" step then then the task sequence fails and finishes with a mini setup prompting for a computer name. I can see the other values that are collected
in the Bdd.log:
Remapping variables.
Property OSDDomainName is now = My.Domain
<Message containing password has been suppressed>
I even tried adding the default setting directly to the customsettings.ini file: AdminPassword=MyPassword. But the workstation still takes its password from the "apply windows step". I'm going to try and enable debug logging and see if the log
has anything about the local admin password. Anyone have any ideas? What am I doing wrong here?
[Settings]
Priority=LSettings, LAdmins,
[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=NO
SkipComputerBackup=YES
SkipBitLocker=YESI wrote\borrowed\modified a powershell script that gets the value of the base 64 encoded AdminPassword variable from the MDTDB, decodes it and applys it to the OSDLocalAdminPassword.
This runs after the gather step in my OSD task sequence and before the Apply Windows Settings step.
I never figured out why this was necessary but it works. Here is the power shell script if anyone has a similar problem:
http://blogs.technet.com/b/mniehaus/archive/2009/09/22/running-powershell-scripts-as-part-of-a-task-sequence.aspx
http://mylifeismymessage.net/base64-encodeddecode-functions-powershell/
Function Base64Decode($textBase64In)
$b = [System.Convert]::FromBase64String($textBase64In)
$decoded = [System.Text.Encoding]::UTF8.GetString($b)
return $decoded
$tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment
$password = $tsenv.Value("AdminPassword")
$base64out = Base64Decode($password)
$tsenv.Value("OSDLocalAdminPassword") = $base64out
Maybe you are looking for
-
IOS 7 Only Allows Find My iPhone with Primary iCloud Account
While iOS7 may be a big leap forwards in most respects, the "Find my iPhone" feature has taken a big step in reverse. This useful feature is NO LONGER AVAILABLE for use with secondary iCloud accounts, ONLY your PRIMARY account. This may not be a huge
-
How to sync photos on iphone album to iphoto
i recently got a new hard drive for my macbook, so all my photos on iphoto are gone. i still have the photos on my iphone, but they're in their own album, and everytime i try to sync my iphone to iphoto, i can only access the photos in the camera rol
-
RAW Plugin for Photoshop Elements 4.0
Where to get the RAW-Converter for Leica Digilux 3?
-
Hi! I have installed Tomcat as localhost and succeed in running scriplets. But now I want to try using jsp:useBean I have compiled a simple class, test1.class and placed it under webapps/root together with the jsp-file. When I use � <jsp:useBean id="
-
Hi there! I've just installed WLS6 and tried to find out more about EJB 2.0. But for some reason(License Exception) I could not run the EJB 2.0 Examples. The other Examples work fine (I tried InitialContext and EJB1.1), but one I try to compile an EJ