如何扫描注册表? [英] How to Scan Registry?

查看:145
本文介绍了如何扫描注册表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下问题是上一个问题的后续操作.

我曾经说过,OCX文件可以很好地进行扫描,但是却没有有关如何查找这些文件的信息,这使我无所适从.另外,我该如何寻找无效的小肠,如Guid和Sub键?我想执行的任务与清理注册表有关,但是通过vb函数(让您读取创建和删除注册表项)后,对它的了解并不多.我的问题是如何搜索无效密钥或无用的子密钥,或系统不再使用的这两个密钥.....请提供帮助或非常高兴提供解决方案,以帮助我解决问题...

The question below is a follow-up of this previous question.

I have had someone say that OCX files are good to scan for but with no info about how to look for theese files it leaves me in the dark. Also how do i look for invalid enteries such as guid and sub keys? The task i would like to perform deals with cleaning the registry but have not much more idea about it past the vb functions that allow you to read create and delete registry keys. My problem is how to search for invalid keys or useless sub keys or both that the system is no longer using..... please help or be so nice to provide a solution to help me on my way...

推荐答案

您将需要对COM进行大量研究,如何在注册表中组织COM对象,为什么其中每个键和值都在其中,它们又如何相互关联(这是您需要的核心主题!),如何遵循这些键并验证它们指向的文件是否存在以及版本是否正确,...

这不像枚举一堆注册表键和值那样简单...
You''re going to have to do a bunch of research on COM, how COM objects are organized in the registry, why each of those keys and values are there, how they relate to each other (this is the core topic you''ll need!), how to follow those keys and verify the files they point to exist AND are of the correct version, ...

It''s not as easy as just enumerating a bunch of regsitry keys and values...


是的,关于此的信息很少,因为您需要对COM的透彻了解来自经验和研究的经验(例如编写自己的测试并查看会发生什么情况.)注册表项本身几乎没有任何文档,因此您必须自己编写.

您还需要从此处开始研究Win32 [
Yeah, there is little information about this because you need a thorough understanding of COM that only comes from experience and research (like coding your own tests and seeing what happens.) There is just about no documentation on the registry entries themselves, so you have to make your own.

You''ll also need to research Win32, starting here[^].


Is there anything in VB that will verify the information?? No, there isn''t. You have to code all of this yourself, even down to getting the COM information out of target files using Win32 functions.

By writing this yourself, you''are entering uncharted (and barely documented!) territory. This is where the research skills come in.

On top of that, you''re not just looking at COM information in the Registry. There''s all kinds of stuff in there. But, what your app supports is up to you and your requirements.


研究!进行了大量研究并向Microsoft支付了咨询费.
Research! Lot''s of research and paying a consulting fee to Microsoft.


这篇关于如何扫描注册表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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