WinCC OA Project Autostart

Find and share HowTos to various installations / configurations!
Search

Post Reply
13 posts • Page 2 of 2
User avatar
leoknipp
Posts: 2278
Joined: Tue Aug 24, 2010 5:28 pm

Re: WinCC OA Project Autostart

Post by leoknipp » Tue Jul 14, 2020 12:58 pm

If you start a project via Windows Services you can only run processes which are meant to run in the background.
A user interface cannot be started (or will not be visible) when running the project as service.

The service is started when the operating system is started, even before is user is logged on and therefore you cannot start processes which are meant to be displayed on the screen.

Best Regards
Leopold Knipp
Senior Support Specialist

Alfredo@76
Posts: 17
Joined: Tue Feb 11, 2020 4:06 pm

Re: WinCC OA Project Autostart

Post by Alfredo@76 » Mon Aug 03, 2020 4:01 pm

Hi Leopold,
Thanks for your support.

Kind Regards.
Alfredo.

dbindernagel
Posts: 67
Joined: Mon Feb 23, 2015 12:34 pm

Re: WinCC OA Project Autostart

Post by dbindernagel » Tue Aug 04, 2020 10:07 am

Have a look at this topic HMI Autoboot - OA as a service.

Basically you cannot start an UI from a service (This is not a limitation from WinCC OA but by design from the Windows operating system).
The service is started before a user is even logged on, so a UI window cannot be opened.

One possible solution to autostart a UI would be to create a batch file (.bat) with the command to open the UI and put this in the autstart folder for the user that logs on (or use the Windows task scheduler).

Post Reply
13 posts • Page 2 of 2