如何在不使用注册表项的情况下使用.net启动时运行程序 [英] How to run program at start up using .net without use of registry key

查看:71
本文介绍了如何在不使用注册表项的情况下使用.net启动时运行程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我不想通过msconfig文件检测到的应用程序.

i have application which i dont want to detect by msconfig file

推荐答案

这取决于您的应用程序.如果它是用户必须能够看到的应用程序,则别无选择,只能用注册表中的运行"键运行它.

如果没有用户看到的界面,则您可以将其编写为Windows服务.

无论哪种情况,MSCONFIG都会看到它们.您没有选择将其从MSCONFIG中隐藏.
That depends on your application. If it''s an application that the user has to be able to see, you have no choice but to run it out of the Run key in the registry.

If there is no interface that the user sees, then you might be able to write it as a Windows Service.

In either case, MSCONFIG will see them both. You have no option to hide it from MSCONFIG.


每个应用程序都有一个主线程,有时还有辅助子线程.可以编写应用程序来检测和分析其域内的线程.

msconfig在根域中运行,因此可以访问计算机上运行的每个单个线程.那是它的主要功能:它看到所有并知道所有.

您不能编写没有主线程的应用程序.因此,您不能编写msconfig无法检测到的应用程序.而且,为什么您仍然要这么做?想到的唯一原因就是恶意软件.
Every application has a primary thread, and sometimes secondary child threads. Applications can be written to detect and analyze threads within its domain.

msconfig runs in the root domain, and thus has access to every single thread that is running on the machine. That is its primary function: it sees all and knows all.

You cannot write an application that does not have a primary thread. Therefore, you cannot write an application that is undetectible to msconfig. And why would you want to, anyway? The only reason that comes to mind is malware.


这篇关于如何在不使用注册表项的情况下使用.net启动时运行程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆