我如何获取所有注册表项值,例如HKLM \ Software \ [英] How can i get all registry keys value like HKLM\Software\

查看:323
本文介绍了我如何获取所有注册表项值,例如HKLM \ Software \的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获取所有注册表项值,如

How can i get all registry keys value like

HKLM\Software\Policies\Microsoft\WindowsMediaPlayer



可能有一百多个键,如何可以检索所有键和值,以便我可以对它们应用设置

来自c#或Powershell

请帮助



may be there are more than hundred keys how can retrieve all keys and there values so that i can apply settings on them

from c# or Powershell

Please help

推荐答案

使用 Registry [ ^ ]类.


检查一下
使用C#从注册表中读取,写入和删除 [
Check this out
Read, write and delete from registry with C#[^]


这里是另一个很好的示例链接
Here another good example link Here[^]


这篇关于我如何获取所有注册表项值,例如HKLM \ Software \的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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