Unsolved
This post is more than 5 years old
9 Posts
0
572324
March 11th, 2009 08:00
Operating System Deployment (OSD) Fail on task sequence step:" set RebootStep Variable"
Hello,
Have anyone running into problems with the deployment for Dell Poweredge M605/M905? I have a problem running the first step of the task sequence ("Set RebootStep Variable"), this step have no logs, except de smsts.log. The error in the log is:
####################################################################
###
### ERROR CODE: 1
### DESCRIPTION: Get ResourceID: ERROR: Could not locate the computer ID in WMI
### SEVERITY: 3 (critical error)
###
####################################################################
***************************************************************************
Dumping *All* Task Sequence Environment Variables:
.....
.....
There is a NAA account
I run SCCM SP1 R2
The deploy server obtain's a ip-adress and it doensn't mather wich server i take (M605 or M905).
Does anyone have the same problem here?
Have anyone running into problems with the deployment for Dell Poweredge M605/M905? I have a problem running the first step of the task sequence ("Set RebootStep Variable"), this step have no logs, except de smsts.log. The error in the log is:
####################################################################
###
### ERROR CODE: 1
### DESCRIPTION: Get ResourceID: ERROR: Could not locate the computer ID in WMI
### SEVERITY: 3 (critical error)
###
####################################################################
***************************************************************************
Dumping *All* Task Sequence Environment Variables:
.....
.....
There is a NAA account
I run SCCM SP1 R2
The deploy server obtain's a ip-adress and it doensn't mather wich server i take (M605 or M905).
Does anyone have the same problem here?
No Events found!



sccm_ddp_eng
16 Posts
0
April 3rd, 2009 16:00
The _SMSTSClientIdentity variable should hold the proper GUID that should be in SMS_R_System.
sccm_ddp_eng
16 Posts
0
April 3rd, 2009 16:00
The problem does not appear to be with the client script. See the error "Failed to resolve the source for SMS PKGID=2010009B, hr=0x800700a1". All the other messages are directly from SCCM code, not from the script.
This usually means that the package could not be found at a reachable DP. You should check the SMSTS.LOG file in WinPE to get more details about the issue.
sccm_ddp_eng
16 Posts
0
April 3rd, 2009 16:00
The "Failed to save environment" and following messages are normal when you are booting to PXE and there is not a valid drive for SCCM to store logs and other info. You can safely ignore those messages.
However, what should be happening is that when the "Reboot to PXE/USB" step runs, it contacts the site server and increments the RebootStep machine variable and resets the PXE advertisement. The task groups in the task sequence are conditioned on the variable being at a certain level, and will run or not run depending on the value. During each cycle of the task sequence, it should be running a different set of steps, then exiting and rebooting and starting where it left off. When the task sequence goes past the last step in WinPE it will reboot, either back to WinPE (if we've reset the advertisement), or to a disk partition based WinPE or regular OS.
If you're saying the task sequence is in WinPE, runs through and then just sits there, then that is strange.
cougar694u1
17 Posts
0
April 6th, 2009 07:00
I changed all SMS_R_System and SMSUniqueIdentifier in CustomReboot.vbs & OemDeployment.vbs to v_R_System and SMS_Unique_Identifier0 and it doesn't fail anymore.
However, you can see it run the Set RebootStep Variable, then it reboots. It just does this endlessly. I'm not sure what the RebootStep variable is, but I can see where it checks Step 1, 2 & 3, and all three evaluate to false.
The only error I see in the log is this:
D:\_SMSTaskSequence\Packages\CC10006D\CustomReboot.vbs(445, 5) SWbemObjectSet: Invalid class
Right after: GetResourceID: Query: Select * from v_R_SYSTEM where SMS_Unique_Identifier0 = 'GUID:7bf6d1de-942e-44fd-9729-75cf3631f3fc'
A few lines above that, I can see where it pulls that SWbemObjectSet:
ConnectToProvider: Connecting to WMI at : 'root\sms'
ConnectToProvider: goSWbemServices returned type: SWbemServicesEx
ConnectToProvider: Connected to management point.
ConnectToProvider: Looking for instances of SMS_ProviderLocation
ConnectToProvider: ProviderLoc returned type: SWbemObjectSet
ConnectToProvider: Location returned type: SWbemObjectEx
ConnectToProvider: Machine 'snip' is the provider for the local site 'snip'
ConnectToProvider: Connecting to the server. Attempt #1
ConnectToProvider: Connected to the server.
ConnectToProvider: ending...
Any ideas?
sccm_ddp_eng
16 Posts
0
April 6th, 2009 10:00
The thing I would find out is why the GUID is appearing in the view but not in the "real" WMI class name. Without locating the computer in WMI, it cannot modify the machine variable, and cannot reset the PXE advertisement. I think you should go back to the change I suggested a while back and start there.
In CustomReboot.vbs (about line 489) and OemDeployment.vbs (about line 5142) - the query line should read:
Set colResources = goSWbemServices.ExecQuery("Select * from SMS_R_System where SMSUniqueIdentifier = '" & gsClientGuid & "'")
In CustomReboot.vbs (about line 295) and OemDeployment.vbs (about line 522), the line getting the gsClientGuid variable should read:
gsClientGuid = GetTaskSequenceVariable("_SMSTSClientIdentity")
TommyEr
20 Posts
0
April 6th, 2009 12:00
I've added a few lines from the smsts.log:
PackageID = '2010009B' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
BaseVar = '', ContinueOnError='' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
SwdAction = '0001' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
DownloadOnDemand flag is true. Attempting to download content locally for Package 2010009B.. InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Package Flags: 0x4000000 InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
GetDirectoryListing() entered InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Initializing HTTP transport. InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
TommyEr
20 Posts
0
April 6th, 2009 12:00
Downloaded file from http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/diskpartclean.bat to C:\_SMSTaskSequence\Packages\2010009B\diskpartclean.bat InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Download done setting progress bar to 100 InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Content successfully downloaded at C:\_SMSTaskSequence\Packages\2010009B InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Resolved source to 'C:\_SMSTaskSequence\Packages\2010009B' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Set command line: Run command line InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Working dir 'C:\_SMSTaskSequence\Packages\2010009B' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Executing command line: Run command line InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Microsoft (R) Windows Script Host Version 5.7 InstallSoftware 06.04.2009 13:42:33 1576 (0x0628)
Copyright (C) Microsoft Corporation. All rights reserved. InstallSoftware 06.04.2009 13:42:33 1576 (0x0628)
InstallSoftware 06.04.2009 13:42:33 1576 (0x0628)
InstallSoftware 06.04.2009 13:42:33 1576 (0x0628)
Main: starting... InstallSoftware 06.04.2009 13:42:33 1576 (0x0628)
What I've done here is that I've changed the value in the Task Sequence Variable _SMSTSInWinPE eguals (from false to) True
The script now runs until the step involving format and partition. I've created my own array settings file and I suspect there's something wrong with my setting.
TommyEr
20 Posts
0
April 6th, 2009 12:00
Is it possible to upload my smsts.log files so that you can see the whole file and what happens during a Task Sequence. There might be a lot of useful info in the log files to help me solve my "little" problem :-)
Any suggestions would be most welcome...
Tommy
TommyEr
20 Posts
0
April 6th, 2009 12:00
Address = st-f-sccm-ps.ryfylke.local, Object = /SMS_DP_SMSPKGF$/2010009B/, Port = 80. InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
WinHttp credentials set InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
CLibSMSMessageWinHttpTransport::Send: URL: st-f-sccm-ps.ryfylke.local:80 PROPFIND /SMS_DP_SMSPKGF$/2010009B/ InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Error. Status code 207 returned InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
List of files to be downloaded InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Directory: http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/ InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
File: http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/CoreUtils.vbs InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
File: http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/CustomReboot.vbs InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
File: http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/diskpartclean.bat InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
GetDirectoryListing() successfully completed InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL' InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
Downloaded file from http://st-f-sccm-ps.ryfylke.local:80/SMS_DP_SMSPKGF$/2010009B/CoreUtils.vbs to C:\_SMSTaskSequence\Packages\2010009B\CoreUtils.vbs InstallSoftware 06.04.2009 13:42:32 1576 (0x0628)
TommyEr
20 Posts
0
April 14th, 2009 13:00
sccm_ddp_eng
16 Posts
0
April 15th, 2009 12:00
So, until this issue is resolved and a fix posted, the DDP will not work when used with unknown systems. In order to deploy a server using the DPP, you must first import the computer information into ConfigMgr.
TommyEr
20 Posts
0
April 16th, 2009 00:00
cougar694u1
17 Posts
0
April 16th, 2009 08:00
masby661
6 Posts
0
May 26th, 2009 04:00
I'm having exactly the same problem. I have distributed all the packages, made sure my NAA has the correct priviledges. Deleted and recreated my task sequence but everytime it fails at the "set rebootstep variable". It fails with error code 0x00000001. I have also set my server PE2950 back to factory default but still no joy. I have also followed all the steps prescribed by "ramseyg" thanks.
Masby661
masby661
6 Posts
0
May 26th, 2009 06:00
Masby661