帮助!!尝试从注册表运行项执行的程序中执行进程 [英] Help!! trying to execute a process from a program executed from Registry Run Key

查看:75
本文介绍了帮助!!尝试从注册表运行项执行的程序中执行进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我在尝试使用Process类执行某些应用程序时遇到问题.我有2个应用程序,第一个应用程序执行第二个应用程序,它工作正常,当我使用注册表项Run首先执行第一个应用程序,然后第二个不执行时,问题开始了.当我尝试使用通过StartInfo.UserName和StartInfo.Password传递给Process的特定用户执行第二个操作时,就会发生真正的问题.

在此先感谢您,我将非常感谢您的帮助.抱歉,我的英语不是我的母语.

Hello.
I´ve a problem trying to execute some app using Process class. I´ve 2 applications the first-one execute the 2nd, it works just fine, the problem begins when i use the registry key Run to execute the first-one first, then the 2nd doesn´t execute. The real problem occurs when i try to execute the 2nd with a specific user passed to the Process using StartInfo.UserName and StartInfo.Password.

Thanks in advance, I´ll really appreciate any help. sorry my English, it´s not my native language.

推荐答案

运行"键启动的所有内容都在用户登录时运行,并在用户登录时运行. br/>
您的应用程序可能正在运行.打开任务管理器进行查找.

如果您的App1以其他用户身份启动App2,则可能是一个问题.我不知道该用户是否能够看到该应用程序.再次,在任务管理器中签入,您可以看到谁正在运行该应用程序.
Everything launched out of the Run key runs at user login time and runs as the user logging in.

Your app may be running. Open Task Manager to find out.

If your App1 is launching App2 as a different user, this could be a problem. I don''t know if that user will be able to see the application. Again, check in Task Manager and you can see who the app is running as.


这篇关于帮助!!尝试从注册表运行项执行的程序中执行进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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