powershell SCCM installation site

matteu31 467 Reputation points
2021-01-18T17:24:20.863+00:00

Hello,

I'm trying to make powershell script to install SCCM site and there is one parameter in documentation that isn't working.

Documentation is here : command-line-options-for-setup

My script is here :

$SCCMSetupSrc="I:\SMSSETUP\BIN\X64\setup.exe"  
$SCCMConfigFile="C:\sources\SCCM\ConfigMgrAutoSaveTest.ini"  
start-process $SCCMSetupSrc -ArgumentList "/NOUSERINPUT /script $SCCMConfigFile " -Wait  

There is no display on my screen. I should have progress bar / or something because I use /nouserinput.

I can see in the configmgrsetuplog the command line is correctly executed :

<01-18-2021 17:52:27> NOUSERINPUT was specified.  
<01-18-2021 17:52:27> Commandline:  
<01-18-2021 17:52:27> "I:\SMSSETUP\BIN\X64\SetupWpf.exe"  /script C:\sources\SCCM\ConfigMgrAutoSaveTest.ini /NOUSERINPUT  

How to solve it ?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2021-01-19T09:38:01.883+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    Based on my understanding, you would like to display the setup wizard with the /nouserinput option, however, there is no progress bar during the installation. If I have misunderstanding anything, please feel free to let me know.

    May we know if the SCCM installation completed successfully? Please help check the ConfigMgrSetupWizard.log/ConfigMgrSetup.log to see if there is something prevented the activation of the setup wizard.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. matteu31 467 Reputation points
    2021-01-19T09:40:32.357+00:00

    Hello,

    All installation is working fine but this "switch" doesn't work as expected. I would like to know if this is a bug or how to fix it.

    Thank you.

    0 comments No comments

  3. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2021-01-20T02:00:24.33+00:00

    Hi,

    Thanks for your reply.

    This is a strange issue. I will do more research, if there is any update, I will let you know. Thanks for your understanding.

    You can also submit a new uservoice in Microsoft Endpoint Configuration Manager Feedback or open a support case with Microsoft to get better support.
    https://configurationmanager.uservoice.com/forums/300492-ideas
    https://support.serviceshub.microsoft.com/supportforbusiness

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  4. matteu31 467 Reputation points
    2021-10-27T13:44:59.98+00:00

    Hello,

    I try to install SCCM 2103 with the same command line and the issue is still there.

    Someone here can do a silent install with partial UI or not ?