A user experienced issues running a script through ControlUp Console, getting an error message about an elevated child process. Dennis suggested it may be due to User Access Control being enabled, however it was not enabled. A further suggestion was to try the script locally with the quiet switch, however it was reported that this made no difference. Dennis explained that the difference was that a hidden window was created in the non-interactive window session.
Read the entire ‘Troubleshooting an Elevated Child Process Error in ControlUp’ thread below:
Good morning. I’m having issues with a script but only when run through console. I get a "Failed to launch elevated child process" error. However when I run the same script locally, using the same credentials it runs without issue. Searching online suggests that the error might be related to a bad path, but I have ruled that out. Has anyone else seen this running scripts only from Console? Just curious if I’m missing something simple before opening a support case.
feel free to open the support case anyway, how does the script action look?
Good morning Wouter. This is the settings…
The script is a simple bat file and there are no arguments.
Is user account control enabled? ControlUp doesn’t run actions with an elevated token.
Thank you Dennis. UAC is not enabled.
We’ve run the script locally with the quiet switch and there is no interaction. Am I misunderstanding that "interactive windowsstation" message?
No windows can be created in a non-interactive window session. The difference is small but there is a difference between not creating any UI and creating a hidden window. Sure, to the user the result is the same. But for the operating system it isn’t.
None of this really helps you of course. Unless the installer has a switch to not just make the installation quiet but be entirely without a UI
Thanks Dennis. That gives me a little more insight. I’ll dig around some more. I appreciate your time.
Continue reading and comment on the thread ‘Troubleshooting an Elevated Child Process Error in ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers