ClickOnce, Windows Task Scheduler and Windows Server 2016/2019

Today I encountered a click once app from a third party partner that would not run on an existing Windows 2016 server. It was being shifted off of a Windows 2008 R2 server that was headed to oblivion. The task on the new server would start but never complete.

The task, which was created by the third party program, basically did something like this




On the old server, IE would actually pop-up and be visible if I was logged in, leading me to believe this was an interactive services issue. After a bit of head scratching, the solution turned out to be to call into click once directly via the “ClickOnce Application Deployment Support Library” and bypass Internet Explorer 11 completely like so :

rundll32.exe dfshim.dll,ShOpenVerbApplication


References :

Leave a Reply

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



Registered users with one approved comment can comment without moderation