Где хранятся файлы реестра в Windows?

46290
oneat

Где хранится реестр в Windows? Я хочу найти файлы, показанные при запуске regedit.exe(редактор реестра Windows).

24

3 ответа на вопрос

27
William Hilsum

Если я понимаю, что вы говорите, реестр хранится в %SystemRoot%\System32\configто время, как настройки отдельных пользователей находятся по адресу %UserProfile%\Ntuser.dat.

Если у меня здесь неправильный конец клюшки, перефразируйте ваш вопрос, и я буду рад помочь.

Не забудьте `% UserProfile% \ Local Settings \ Application Data \ Microsoft \ Windows \ UsrClass.dat` для сопоставления файлов для каждого пользователя (` HKCR \ Software \ Classes`). grawity 14 лет назад 12
Большой ресурс для дополнительной информации и поддержки ответов Уильяма Хилсума и Гравити см. По ссылке ниже: http://msdn.microsoft.com/en-us/library/ms724877%28v=vs.85%29.aspx Tek'eek 11 лет назад 3
5
Academy of Programmer

On disk, the Windows Registry isn’t simply one large file but a set of discrete files called hives. Each hive contains a Registry tree, which has a key that serves as the root (i.e., starting point) of the tree. Subkeys and their values reside beneath the root.

Location of Windows registry files The location of these registry hives are as follows:

HKEY_LOCAL_MACHINE \SYSTEM : \system32\config\system

HKEY_LOCAL_MACHINE \SAM : \system32\config\sam

HKEY_LOCAL_MACHINE \SECURITY : \system32\config\security

HKEY_LOCAL_MACHINE \SOFTWARE : \system32\config\software

HKEY_USERS \UserProfile : \winnt\profiles\username

HKEY_USERS.DEFAULT : \system32\config\default

enter image description here

Some hives are volatile and don’t have associated files. The system creates and manages these hives entirely in memory; the hives are therefore temporary in nature. The system creates volatile hives every time the system boots. Examples are:

HKEY_LOCAL_MACHINE \HARDWARE : Volatile hive HKEY_LOCAL_MACHINE \SYSTEM \Clone : Volatile hive

These files are database files, and only RegEdit, Regedit32 and the Kernel32 can read them. The primary tool in Windows 10/8/7 for working directly with the registry is Registry Editor. To access it, simply type Regedit in Start Menu Search Bar and hit Enter !

If you need to read more on this, head over to TechNet!

UPDATE: AccidentalADMIN has made a useful comment. He says:

Every Windows got a registry Key which lists every hive in system. Open Regedit and navigate to the following key to get a complete list:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\hivelist

http://www.thewindowsclub.com/where-are-the-windows-registry-files-located-in-windows-7

2
itmuckel

Я думаю, что самый быстрый и лучший способ добиться этого - использовать PowerShell.

$ Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Control\hivelist\ 

PS: Вы можете перемещаться по Реестру, как если бы это была файловая система. В PowerShell используйте:

$ cd HKLM: 

или же

$ cd HKCU: