Reg.exe 可以查看和修改注册表。
Reg.exe /? 可以得到它的帮助信息。如果你不看这个操作注册表的帮助信息你怎么能熟悉操作注册表?
下面这是用REG.EXE读取注册表关于服务的所有信息,在这些信息里可以近一步确认和查找你要找的服务。
reg.exe query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services"
版主和electronixtar给你的关于操作注册表和启动服务(对服务的操作)的相关命令。
但是,这些命令也要使用 /? 来查看它们的帮助信息(背是背不下来的,现用可以现查)。
所以,建议yefenghome先查看版主和electronixtar兄给你的那几个命令的帮助信息。然后再操作。
只有这样才能走向精通的开始之路……
同时,打开你的“服务”窗口,看一下当前你计算机上都有哪些服务开启了:)
如果找不到如何在开始菜单里启动服务,可以使用下面原理查找:
C:\windows\system32>dir servi*.msc
……
C:\windows\system32 的目录
2003-03-27 20:00 33,466 services.msc
1 个文件 33,466 字节
0 个目录 575,143,936 可用字节
找到之后看里面的那些服务,然后再开启你的 Regedit.exe 查看注册表的程序,
同时在
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
内一个一个对比:你开启和关闭和禁用服务之后的各种值的状态。
同时也要用reg.exe 来对比,这些状态……
这样,就可以充份了解这们之间的关系,
然后Sc.exe还可以近一步操作(如何操作? /?还是看帮助,背不下来,现用现看)。
这些命令的帮助全看了一遍,简单的全操作了一遍,服务与注册表内对比了一遍,
你就开始走向精通的道路了~:)
楼上版主已经为你做了好多的步骤:)
将来你要操作其它注册表或是要达到某个要求时,还是如上原理操作:)
Last edited by redtek on 2006-11-1 at 01:10 AM ]
Reg.exe can be used to view and modify the registry.
Reg.exe /? can get its help information. How can you be familiar with operating the registry if you don't read this help information for operating the registry?
The following is using REG.EXE to read all the information about services in the registry. In these information, you can further confirm and find the services you want.
reg.exe query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services"
The relevant commands about operating the registry and starting services (operations on services) given by the moderator and electronixtar to you.
But these commands also need to use /? to view their help information (you can't memorize them, you can check them when using them).
So, it is suggested that yefenghome first view the help information of the commands given by the moderator and electronixtar brother. Then operate.
Only in this way can you start the road to proficiency...
At the same time, open your "Services" window and see which services are enabled on your current computer :)
If you can't find how to start the services in the Start menu, you can find it using the following principle:
C:\windows\system32>dir servi*.msc
……
Directory of C:\windows\system32
2003-03-27 20:00 33,466 services.msc
1 File(s) 33,466 bytes
0 Dir(s) 575,143,936 bytes free
After finding it, look at the services inside, and then start your Regedit.exe to view the program of the registry,
and at the same time in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
Compare one by one: the status of various values after you enable, disable and disable the services.
Also use reg.exe to compare these statuses...
In this way, you can fully understand the relationship between them,
At the same time, Sc.exe can further operate (how to operate? /? or see the help, can't memorize, check when using).
After reading all the help of these commands, simply operating all of them, and comparing the services with the registry,
You will start the road to proficiency ~ :)
The moderator upstairs has already done many steps for you :)
In the future, when you want to operate other registries or achieve a certain requirement, you still operate according to the above principle :)
Last edited by redtek on 2006-11-1 at 01:10 AM ]