C# winform program for windows server 2008 R2 or Windows server 2012 R2 autorun

永刚 齐 1 Reputation point

My program is written in C# winform procedures, I registered the program to the registry


D:\Exercise\TestTimer\TestTimer\bin\Debug\ testtimer. exe -autorun win10 Windows Server 2008 R2 or Windows Server 2012 R2 under J is not available, into the operating system desktop this program can be started, can run, this problem how to solve? It is hoped that in Windows Server series without entering the user name and password do not enter the system desktop so that the program can also start working normally.

This program has a window interface, which is mainly used to monitor video signals. To transmit video signals to the server, the interface is needed because sometimes the network inspector needs to log in to the operating system to check whether the camera monitored by this program is abnormal

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
6,960 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 28,036 Reputation points

    A windows app can not create a window unless it’s started by a logged in desktop session. Most will crash if started without a desktop window.

    No comments