如何“自动运行"没有管理员权限的程序? [英] How to "Auto Run" a program w/o having the admin rights?

查看:81
本文介绍了如何“自动运行"没有管理员权限的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的软件中,用户可以选择在系统启动期间使应用程序自动运行".但是,用户可能没有管理员权限.在这种情况下,他将无权更新注册表.我在没有管理员权限的情况下尝试了以下两个路径,但访问被拒绝.

In our software, user can select to make the application "Auto Run" during system startup. However, the user may not have admin rights. In this case, he won't have the rights to update the registry. I've tried both of the following paths w/o admin rights, and access is denied.

HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Run
HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run

那么有什么方法可以让我在没有管理员权限的情况下自动运行"程序,而不管平台是什么(Win7、Vista、XP 等)?谢谢!

So is there any way that I can "Auto Run" a program w/o having the admin rights, regardless of the platform(Win7, Vista, XP, etc)? Thanks!

推荐答案

对此最合理的解释是您的防病毒软件阻止了您对该密钥的写入尝试.是的,有人可能已将 ACL 应用于该密钥以拒绝您的写访问,但这不太可能.另一方面,反病毒软件对修改该特定密钥的程序不屑一顾是很常见的.

The most plausible explanation for this is that your anti-virus software is blocking your attempts to write to this key. Yes it's possible that somebody has applied an ACL to that key to deny you write access but it's pretty unlikely. On the other hand it's very common for anti-virus software to take exception to programs that modify that particular key.

这篇关于如何“自动运行"没有管理员权限的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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