Forum Discussion

Elliot_the_Goose's avatar
Elliot_the_Goose
Copper Contributor
May 27, 2020

CreateProcessAsUser Error 5 - ServiceUI.exe

Hi All

 

I've recently updated my SCCM Site version to v1910, since performing this update i've been having issues with my Upgrade Task Sequence.

 

Previously i've had a command line step in the upgrade task sequence to run a manually built "Windows 10 Splash Screen" using ServiceUI.exe to allow the user to install or postpone the upgrade.

 

This has been issue free until the update to SCCM 1910, since then when i try to run the task sequence the following step fails with this error.

 

Has anyone got any idea how i can resolve this? Been racking my brain for days now...

9 Replies

  • gwblok's avatar
    gwblok
    Iron Contributor

    Elliot_the_Goose 

    What OS are you running this on?  1809? 1909?
    We had issues with our Splash Screen as well when running on 1909.
    There is change in how powershell uses run spaces in 1909.  More Details here:
    https://smsagent.blog/2020/03/12/windows-10-splash-screen-issue-fixed-for-w10-1909-configmgr-task-sequence/

     

    • Elliot_the_Goose's avatar
      Elliot_the_Goose
      Copper Contributor

      I'll give this a try, for more information though..

       

      This has only began happenning since upgrading from SCCM 1906 to SCCM 1910, the Operating systems are on v1803 and upgrading to v1909 🙂

       

      gwblok 

      • gwblok's avatar
        gwblok
        Iron Contributor

        Elliot_the_Goose 

        Ok, our Splash screen (which is completely PowerShell) didn't have any issues between any of the CM Upgrades.
        https://garytown.com/windows-splash-screen-for-the-task-sequence-progress

        Feel free to take a look.  There have been changes in the TS engine with each build, but I haven't seen any issues with any of the places I've used ServiceUI.exe in my testing.

        If you use ServiceUI to launch a Command Prompt, do you get the same issue?  Basically do you get error anytime you use ServiceUI in your TS, or just with your Splash Screen?
        Other examples of using ServiceUI: https://garytown.com/launch-application-in-task-sequence-in-os-serviceui

         

Resources