为什么需要管理权限的应用程序不能在 Windows 启动时自动运行(Windows 7)? [英] Why application that require administrative privileges cannot run automatically on Windows startup(windows 7)?

查看:38
本文介绍了为什么需要管理权限的应用程序不能在 Windows 启动时自动运行(Windows 7)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序(它在 windows7 上运行并需要以管理员身份运行)需要在 windows 启动时自动运行,所以我像往常一样在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"下添加了一个注册表项,但我的应用程序不会自动启动,即使 UAC 对话框没有提示,从谷歌搜索后.我知道我可以使用任务调度程序来解决这个问题,但是有没有人可以告诉我为什么运行"注册表方式不起作用?为什么 UAC 对话框不提示?最好能帮忙找一篇微软的文章来解释这个问题,在此先谢谢了!

I have a application(which runs on windows7 and requires run as administrative) that need to run automatically when windows starts up, so i added a registry key under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" as usual, but my application won't startup automatically even the UAC dialog doesn't promtp, after search from google. I know i can use task scheduler to workaround this, but is there anyboday can tell me why the "run" registry way doesn't work? why the UAC dialog doesn't promtp? it is better if you can help to find a article from microsoft to explain this issue, many thanks in advance!

推荐答案

它是为了让机器在开机后尽快可用.Microsoft 白皮书:开发在 Windows Vista 上登录时运行的应用程序

It is for making the machine usable as quick as possible after booting. Microsoft Whitepaper: Developing Applications that Run at Logon on Windows Vista

这篇关于为什么需要管理权限的应用程序不能在 Windows 启动时自动运行(Windows 7)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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