Close Menu
    Facebook X (Twitter) Instagram
    Monday, June 23
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»configmgr»SCCM Secondary site upgrade Failed to create process of SetupWpf.exe. return value 1

    SCCM Secondary site upgrade Failed to create process of SetupWpf.exe. return value 1

    Eswar KonetiBy Eswar KonetiApril 15, 10:09 pm3 Mins Read configmgr 4,912 Views
    Share
    Facebook Twitter LinkedIn Reddit

    Issue Description:

    Few months ago, I have migrated the Primary SCCM site along with its secondary sites to SCCM build 1806 . Update of Primary site along with secondary site upgrades went fine except 1 secondary site.

    The failed secondary site throw the following error code in log.

    On the secondary site ,in the root of windows directory (C:\) ,you will find log called Configmgrsetup.log

    image

    Server components are experiencing fatal errors.

    Failed to create process of SetupWpf.exe. return value 1

    Error code 1 means Incorrect function.

    While reading the log file ,found Registered OCX: D:\Configmgr\bin\x64\smsprov.dll with regsvr32.exe

    It looks to me that ,it is failing to register the smsprov.dll and it just hangs there for longer period (almost an hour).

    Have looked at the AV (anti virus) if something holding the process for long time ,but there is nothing .Have even tried disabling the AV but no luck.

    Without further waiting , have rebooted the server and initiated the secondary site upgrade using SCCM console.

    This time ,it failed again with same error code. I could not troubleshoot much further so raised support case to identify the root cause and fix it.

    Support engineer collected the dump file and also procmon logs to find the root cause .

    we Notice that TMP folder is created and all files are existing. However, the log stopped at “INFO: Registered OCX: D:\Configmgr\bin\x64\smsprov.dll with regsvr32.exe~”. No further more logs after 30 minutes. Then bootstrap delete the TMP file.

    1. Go through previous log, notice that it will take several hours to make the registration works. It is not a correct behavior.

    10-06-2018 12:44:05.261    Configuration Manager Setup    5196 (0x144c)    INFO: Registered OCX: D:\Configmgr\bin\x64\smsprov.dll with regsvr32.exe~

    10-06-2018 18:27:37.251    Configuration Manager Setup    5196 (0x144c)    INFO: Registered OCX: D:\Configmgr\bin\x64\extnprov.dll with regsvr32.exe~

    1. Manually run regsvr32.exe extnprov.dll. It did not finish. Check the process monitor. We see the process is there and did not process.
    2. We check Analyze Wait Chain, it shows the block process is Isass.

    clip_image001

    1. We restart the secondary site, still not work.
    2. Collected DUMP file of both Isass and regsvr32. DUMP shows that regsvr32 call isass. Isass send request to DC. But there is no information back. Below is details about the DUMP. “SMS Admins” is one default name, it will not display the exact account name.

    The regsvr32.exe process stuck on the following call stack which invoke the RPC call LsaLookuprTranslateNames3 for account “SMS Admins” to LSASS.EXE process.

    we tried possible solutions to fix the issue ,but none of the worked .support engineer discussed internally and come back with following workaround which is really simple.

    Solution:

    On secondary site (SS2) , open Local Users and Groups.

    1. Click More Actions  > New Group…
    2. Set group name as SMS Admins.

    image

    After you create SMS Admins group , reinitiate the secondary site upgrade ,that will fix the issue.

    Few weeks ago ,on different customer, i ran into same issue for 2 of the secondary sites while upgrading to SCCM build 1810.  After creating SMS admins group locally ,secondary site installation went fine.

    I hope this solution solve the mystery of installing secondary sites.

    fail to upgrade secondary site Failed to create process of SetupWpf.exe Registered OCX return value 1 SCCM Secondary Site SMS Admins smsprov.dll
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    Investigating Co-Management Issues with Windows Endpoints in SCCM/Intune

    October 26, 10:45 pm

    1 Comment

    1. Madhu R on April 23, 2019 12:23 PM

      Thank you for your information

      Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.