A technical decision-making phenomenon caused by a remote startup of Windows C + + programs

Source: Internet
Author: User
Tags windows remote desktop

Or because of that before 8:30 to start nearly hundred sets of offer procedures, almost two weeks ago said that they will take time to solve, one-off start, until yesterday almost can take a few minutes to start thinking how to solve the problem.

The complex point of this problem is that in addition to starting the EXE, you also need to click on the mouse interface login and enter the user name password, and then select the channel to start, a program may have multiple channels. Second, it is written with VC + +, but the author does not have the development experience of C + +, so even if the direct DLL is not used.

So, at the beginning of the consideration through the Windows Remote Desktop login, and at the time of login to automatically start the program, so baidu/bing the next, indeed, similar to the following:

Https://zhidao.baidu.com/question/215168970.html

Https://zhidao.baidu.com/question/215168970.html?qbl=relate_question_0&word=%D4%B6%B3%CC%D7%C0%C3%E6%D4%CB %d0%d0%d6%b8%b6%a8%b3%cc%d0%f2

Then found that, to Windows 10, the TAB option of this program disappears, so MSDN continue to search, know that RDP itself is a configuration file, specifically not detailed, there is a need to refer to the following:

https://social.technet.microsoft.com/Forums/en-US/8498aa46-309b-47f2-9f31-fa66c3c905f0/ program-tab-missing-from-windows-10-remote-desktop-connection-and-the-history-brought-from-windows-8?forum= Win10itprovirt

Anyway, a variety of changes, including the value of the reorganization strategy (Group Policy in real time Http://blog.sina.com.cn/s/blog_ 44e5d6d10100znkk.html), and so on various tests, almost toss about 1 hours, found that through the RDP login automatically start EXE way is not reliable and stable, and Windows 7 64 bit after and before the difference between too much, decisive change program, A proxy is dropped on the target server and is remotely controlled via HTTP.

Then changed the scheme, through the Java load configuration file exe path to start, and then the tray program after being launched the active socket connected to the monitoring program, monitoring program to reverse control all the offer program. Almost an afternoon, the server was finished with the entire framework and most of the code structure.

From this issue (including yesterday afternoon our company in the discussion of some customers tested security issues) an important phenomenon is that many small and medium-sized companies or departments, usually the way to solve the problem is to hit the hamster or piecemeal, to take it (with a large company is just two extreme), Not taking the time to think about the real problem source and the instability of the current adoption scenario rather than the stability, the result is that many problems persist for months without cleaning up, but each time the data is manually checked and repaired. These problems, the programmer seems to fix the time is to hit the ground mouse, there is a hole that plugging, the hole what causes appear instead of care, not to say radical cure, perhaps this with the company's leadership background has a certain relationship, because a cure a problem usually need to spend a one-time 10 times times more than plugging the energy, And the side effects are likely to be idle later, while most of the company's idle programmers are considered hard-working.

A technical decision-making phenomenon caused by a remote startup of Windows C + + programs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.