Program needing elevation in Startup registry key (windows 7)

自古美人都是妖i 提交于 2019-11-27 08:11:16

问题


I have a program that I'd to run when the computer starts. I've put its path inside "SOFTWARE\Microsoft\Windows\CurrentVersion\Run". This is in Windows 7. When the computer starts nothing happens. I'm thinking this is because the program needs elevation when I run it. But Windows does not ask for permission to elevate and gives no feedback. It simply ignores it. I've read that Vista tells you that the program was blocked etc. Does anybody have any idea why Windows 7 simply ignores the application?

Thank you very much in advance.

Alireza


回答1:


Windows Vista and 7 block programs requiring elevation from startup to prevent a flurry of UAC prompts at each startup. This blog entry from the UAC team explains it pretty clearly. As a workaround, create a task scheduler entry to start the program if your program absolutely must run with elevated privileges.



来源:https://stackoverflow.com/questions/2293609/program-needing-elevation-in-startup-registry-key-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!