在Windows 8上运行reg add命令?不起作用? [英] reg add command on windows 8 run ? doesnt work ?

查看:273
本文介绍了在Windows 8上运行reg add命令?不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好所有





我尝试在windows xp上使用这个命令并且它可以工作查找

但是当尝试在Windows 7和8中使用它时没有采取任何措施?

我的命令是





reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AAATest / f / v test / t Reg_Sz / d 000

hello all


I try to use this command on windows xp and it is worked find
but when try to use it in windows 7 and 8 no action taken ?
my command is


reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AAATest /f /v test /t Reg_Sz /d 000

推荐答案

请参阅我对该问题的评论。如果仅使用管理帐户,这还不够。您还需要使用权限的提升。请参阅:

http://www.eightforums .com / tutorials / 9564-run-administrator-windows-8-a.html [ ^ ]。



另外,您可以在申请中申请加权, 从一开始就。在这种情况下,您需要添加并嵌入相应的应用程序清单:

http: //msdn.microsoft.com/en-us/library/bb756929.aspx [ ^ ]。



-SA
Please see my comment to the question. If you use just the administrative account, this is not enough. You also need to use the elevation of the privileges. Please see:
http://www.eightforums.com/tutorials/9564-run-administrator-windows-8-a.html[^].

Also, you can request the elevation right in your application, from the very beginning. In this case, you need to add and embed appropriate application manifest:
http://msdn.microsoft.com/en-us/library/bb756929.aspx[^].

—SA


这篇关于在Windows 8上运行reg add命令?不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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