访问注册表编辑器没有管理员权限 [英] Accessing regedit without admin rights

查看:193
本文介绍了访问注册表编辑器没有管理员权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,如果我能没有管理员权限运行程序?
我试图运行System32下regedit程序。
我也曾尝试将其复制到USB,并从那里运行它,并且都没有奏效。 ?
有人可以帮助我使用C#脚本运行regedit

I was wondering if i could run a program without administrator rights? I am trying to run the program regedit from System32. I have also tried copying it onto a USB and running it from there, and both have not worked. Can someone help me run regedit using C# script?

推荐答案

答:不,你不能REGEDIT.EXE没有运行。行政PRIVS

Answer: No, you cannot run regedit.exe without administrative privs.

你可以做什么,是用C#,使用预建库,可以让你对注册表的访问
http://msdn.microsoft.com/en-us/library/microsoft.win32.registry.aspx

What you CAN do, is with C#, use the prebuilt libraries that allows you access to the Registry http://msdn.microsoft.com/en-us/library/microsoft.win32.registry.aspx

你要知道,虽然,你只具有读HKEY_LOCAL_USER /写访问,并READONLY到一切。

Mind you though, you only have Read/Write access to HKEY_LOCAL_USER, and READONLY to everything else.

这篇关于访问注册表编辑器没有管理员权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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