locked
scripted install with ccmsetup.exe RRS feed

  • Question

  • Hi,

    I am looking to run a script to install SCCM client on number of machines. Below is the command line I would like to use, but since we have a custom port (8880), I wanted to know if I can/should include the port details in the line below?

    CCMSetup.exe /mp:SCCM1.DOMAIN.COM SMSSITECODE=DL1 SMSMP=SCCM1.DOMAIN.COM DISABLECACHEOPT=TRUE DISABLESITEOPT=TRUE source:\\SCCM1\SMS_DL1\Client\ /logon

    Also if I run this manually from c:\windows\ccmsetup folder, ccmsetup.log keeps whoing me errors:

    sending with winhttp failed; 80072ee2

    Failed to start the ccmsetup service (1053)

    Do I have to have files loaded locally before I can run this command?

    Thanks.

    Tuesday, December 4, 2012 8:10 AM

Answers

  • The ports are stored in AD (if the schema was extended and the site is publishing to AD).
    80072ee2 = ERROR_INTERNET_TIMEOUT so ccmsetup.exe is not getting an reply from the MP.

    Torsten Meringer | http://www.mssccmfaq.de

    • Marked as answer by Lats Tuesday, December 4, 2012 2:16 PM
    Tuesday, December 4, 2012 8:45 AM
  • Note that you didn't specify /source correct -- you missed the forward slash to indicate it is an option. Also, /mp does *not* specify which MP to use. It specifies which MP to contact to determine which DP to download additional setup files from or to download those setup files from if a DP cannot be contacted.

    Jason | http://blog.configmgrftw.com

    • Marked as answer by Lats Wednesday, December 5, 2012 9:31 AM
    Tuesday, December 4, 2012 3:21 PM

All replies

  • The ports are stored in AD (if the schema was extended and the site is publishing to AD).
    80072ee2 = ERROR_INTERNET_TIMEOUT so ccmsetup.exe is not getting an reply from the MP.

    Torsten Meringer | http://www.mssccmfaq.de

    • Marked as answer by Lats Tuesday, December 4, 2012 2:16 PM
    Tuesday, December 4, 2012 8:45 AM
  • Note that you didn't specify /source correct -- you missed the forward slash to indicate it is an option. Also, /mp does *not* specify which MP to use. It specifies which MP to contact to determine which DP to download additional setup files from or to download those setup files from if a DP cannot be contacted.

    Jason | http://blog.configmgrftw.com

    • Marked as answer by Lats Wednesday, December 5, 2012 9:31 AM
    Tuesday, December 4, 2012 3:21 PM
  • Note that you didn't specify /source correct -- you missed the forward slash to indicate it is an option. Also, /mp does *not* specify which MP to use. It specifies which MP to contact to determine which DP to download additional setup files from or to download those setup files from if a DP cannot be contacted.

    Jason | http://blog.configmgrftw.com

    Thanks for pointing that out Jason.

    Script actually worked installed the agent (as far as I can see in ccmsetup.log). When I look at the Configuration Manager in Contol Panel, it still has SCCM 2007. Now in SCCM 2012, if I select the server with right click tool and say 'Assign Client to andother Site' and insert the new site code, installation continues and completes.

    Isn't the whole purpose of using  SMSSITECODE=DL1 is exactly this?

    Wednesday, December 5, 2012 9:31 AM
  • SMSSITECODE tells the client to which site it should be assigned to. Any change that there's a regkey (remainder of a GPO) that still points to the old site?

    Torsten Meringer | http://www.mssccmfaq.de

    Wednesday, December 5, 2012 9:47 AM
  • SMSSITECODE tells the client to which site it should be assigned to. Any change that there's a regkey (remainder of a GPO) that still points to the old site?

    Torsten Meringer | http://www.mssccmfaq.de

    Only pleace I can find the old site name in registry is in 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\AssignedSiteCode'. Originally these were installed using the push method and not the GPO (if it makes any difference).

    Is there any way to force it to point it to new site after the inital installation completes? 

    Wednesday, December 5, 2012 10:03 AM
  • Why are you using DISABLESITEOPT? I wouldn't be surprised if that's the source of your issue. It's not a normal option to use.

    Jason | http://blog.configmgrftw.com

    Wednesday, December 5, 2012 3:51 PM