Unsolved
This post is more than 5 years old
4 Posts
0
47650
DDP- Reboot step
After running the VBS script above to troubleshoot a DDP TS problem we get the following output:
D:\>cscript Testit.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
D:\Testit.vbs(16, 1) SWbemLocator: The RPC server is unavailable.
We also see the RPC server is unavailable in the SMSTS.LOG file in the installation deployment log.
Any suggestions on what to try next?
PS. Firewalls are turned off for troubleshooting.
D:\>cscript Testit.vbs
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
D:\Testit.vbs(16, 1) SWbemLocator: The RPC server is unavailable.
We also see the RPC server is unavailable in the SMSTS.LOG file in the installation deployment log.
Any suggestions on what to try next?
PS. Firewalls are turned off for troubleshooting.
DELL-Greg R
118 Posts
0
October 13th, 2009 21:00
Set objSMS= objLoc.ConnectServer(strSMSServer, "root\sms", strUsername, strPassword)
make sure you updated the variables earlier int he script, where you set strSMSServer, strUserName, strPassword, intResourceID, etc...
make sure that you can ping your site (should be where the sms provider is located) from the client.
jduren1
4 Posts
0
October 14th, 2009 09:00
Thanks for the quick reply, here is more info...
This is the line:
Set objSMS = objLoc.ConnectServer(Loc.Machine, "root\sms\site_" & _
Loc.SiteCode, strUserName, strPassword)
The variables are set as below:
strSMSServer = "10.32.71.225" 'The server name of the site server
strVarName = "TestRebootStepCollVar" 'the variable name to create
strVarValue = "200" 'the variable value
intMask = 0 ' set to 0 to NOT mask the variable value
intResourceID = 701 'the resourceID of the client to modify. To find the ResourceID, right-click on the computer object,
'and select Properties fromt he ConfigMgr Admin Console.
strUserName = "gblappqa\BranchTest" 'domain/username of the account
strPassword = "Pa$word" 'password of the account
Also, not only can I ping the configmgr server from the client, these are the same credentials I use to map a drive to the configmgr server to copy over the smsts.log to view the error.
DELL-Greg R
118 Posts
0
October 14th, 2009 10:00
jduren1
4 Posts
0
October 14th, 2009 19:00
DELL-Greg R
118 Posts
0
October 14th, 2009 22:00
Is the ConfigMgr Site, ConfigMgr (SMS) provider, and SQL database all on the same site? the server name you enter should be the sms provider, which is normally on the site server.
for troubleshooting, you may want to hard code information into this line. . and maybe even reove the line continuation. . so for example of my site server is "myLABServer" and my site code is "LAB", it would look like this:
Set objSMS = objLoc.ConnectServer("myLABServer", "root\sms\site_LAB", "mydomain\myusername", "MYPass")
make sure this username/password has rights to configmgr, not just the ability to map a drive.
jduren1
4 Posts
0
October 15th, 2009 09:00
Creating computer settings object
D:\Testit.vbs(38, 1) SWbemObjectEx: Generic failure
This refers to the line below:
If settings.Count = 0 Then
Wscript.Echo "Creating computer settings object"
Set computerSettings = connection.Get("SMS_MachineSettings").SpawnInstance_
computerSettings.ResourceID = computerId
computerSettings.SourceSite = siteCode
computerSettings.LocaleID = 1033
computerSettings.Put_ <<
End If
DELL-Greg R
118 Posts
0
October 15th, 2009 16:00
1 - the other variables need updated (comptuerID should be the ResourceID for the system to modify, and SiteCode should be the site code of the site server . . . if I recall)
2 - the account you're using does not have proper rights to modify machine variables. to check this, I would launch the admin console using that user's rights, and see if you can manually modify a machine variable.
Boomer50BMG
11 Posts
0
November 12th, 2009 11:00
I have tried using the CreateTSVariable.vbs script and get the same results. What am I missing? Using the script is pretty telling. I mean if I omit the step of putting the lowrightsuser account in the local administrators group, I get CreateTSVariable(12, 1) SWbemLocator: Access is denied.
Anyone have any ideas?
Boomer50BMG
11 Posts
0
November 12th, 2009 12:00
Any ideas?
DELL-Greg R
118 Posts
0
November 12th, 2009 12:00
Boomer50BMG
11 Posts
0
November 12th, 2009 13:00
Boomer50BMG
11 Posts
0
November 17th, 2009 12:00
amanda.defalco
1 Message
0
October 15th, 2010 13:00
netjim661
1 Message
0
January 21st, 2011 18:00
Randy - check the task sequence condition and see if it corresponds to the value of the rebootstep variable. If the values do not match it will go to the next step. Also, try creating a fresh task sequence. I've had that help in the past when I've messed with it too much. And also, start over and make a new advert and clear any variables in SCCM for that client.