Ask a questionAsk a question
 

AnswerSCCM Console not installing with /script option

  • Thursday, November 05, 2009 10:08 AMBscuit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I have shared the SCCM Service Pack 2 on the SCCM server. I have tested a normal install and it goes through fine Windows XP Machine with Prereqs installed. I uninstalled the SCCM console and loaded the SMS 2003 console again as I need to deploy the SCCM console to upgrade the SMS 2003 console to the new one. This is the script file I am using (setup.ini):

    Command Line:

    \\hsvcsccm01\SCCMSP2\smssetup\bin\i386\SETUP.EXE /script C:\windows\setup.ini

    [Identification]
    Action=InstallAdminUI

    [Options]
    SMSInstallDir=c:\Program Files\Microsoft Configuration Manager Console\
    ParentSiteServer=HSVCSCCM01

    ParentSiteCode=HV1
    SDKServer=HSVCSCCM01

    It starts the setup file in task manager and then just dissapears. Is there something that I am missing here? Log file below....

    ===================== << Starting SMS V4 SP2 Upgrade Setup >> =====================
    <11-05-2009 12:03:15> Commandline :
    "\\hsvcsccm01\SCCMSP2\smssetup\bin\i386\SETUP.EXE" /script C:\windows\setup.ini
    <11-05-2009 12:03:15> This is 32 bit.
    <11-05-2009 12:03:15> Verifying the Reg for AssetIntelligence Installation
    <11-05-2009 12:03:15> Setting the default CSV folder path
    <11-05-2009 12:03:15> SMS Build Number = 6487
    <11-05-2009 12:03:15> SMS Version = 4.0
    <11-05-2009 12:03:16> SMS Minimum Build Number = 800
    <11-05-2009 12:03:16> Verifying SMS Active Directory Schema Extensions.
    <11-05-2009 12:03:16> DS Root:CN=Schema,CN=Configuration,DC=internal,DC=highveldsteel,DC=co,DC=za
    <11-05-2009 12:03:16> Verifying SMS Active Directory Schema Extensions.
    <11-05-2009 12:03:16> DS Root:CN=Schema,CN=Configuration,DC=internal,DC=highveldsteel,DC=co,DC=za
    <11-05-2009 12:03:16> The command line options are /SCRIPT C:\WINDOWS\SETUP.INI

Answers

  • Monday, November 09, 2009 8:08 AMBscuit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I created a script with the following which seems to have fixed my issue.

    REG DELETE HKLM\Software\Microsoft\SMS /f
    %~dp0bin\i386\setup.exe /nouserinput /script %~dp0console.ini
    REG DELETE /f "HKCU\Software\Microsoft\ConfigMgr\Admin UI\MRU\DefaultSite\"
    REG IMPORT %~dp0Default.reg
    REG DELETE /f "HKCU\Software\Microsoft\ConfigMgr\Admin UI\MRU\DefaultSite1\"

    This swings the new Remote console to the new server and then there is no need to try and script it in the file. Tested it and works beautifully.
    • Marked As Answer byBscuit Monday, November 09, 2009 8:09 AM
    •  

All Replies

  • Thursday, November 05, 2009 11:21 AMBscuit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've just noticed if I delete the key HKLM\Software\Microsoft\SMS then the install goes through? But I need to then point it to the correct server. Is there any way to get the upgrade installation working to the new site without deleting this key and automatically making it point to the HSVCSCCM01 database?
  • Monday, November 09, 2009 8:08 AMBscuit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I created a script with the following which seems to have fixed my issue.

    REG DELETE HKLM\Software\Microsoft\SMS /f
    %~dp0bin\i386\setup.exe /nouserinput /script %~dp0console.ini
    REG DELETE /f "HKCU\Software\Microsoft\ConfigMgr\Admin UI\MRU\DefaultSite\"
    REG IMPORT %~dp0Default.reg
    REG DELETE /f "HKCU\Software\Microsoft\ConfigMgr\Admin UI\MRU\DefaultSite1\"

    This swings the new Remote console to the new server and then there is no need to try and script it in the file. Tested it and works beautifully.
    • Marked As Answer byBscuit Monday, November 09, 2009 8:09 AM
    •