Windows registry program files location

Где находятся файлы реестра Windows в Windows 10/8/7?

Реестр Windows – это централизованная база данных конфигурации для Windows NT и Windows 2000, а также для приложений. В реестре хранится информация о параметрах настройки, конфигурации устройства и пользовательских настройках.

На диске реестр Windows – это не просто один большой файл, а набор отдельных файлов, называемых кустами. Каждый куст содержит дерево реестра, ключ которого служит корнем (т. Е. Отправной точкой) дерева. Подключи и их значения находятся под корнем.

Расположение файлов реестра Windows

Расположение этих кустов реестра:

HKEY_LOCAL_MACHINE \ SYSTEM: \ system32 \ config \ system
HKEY_LOCAL_MACHINE \ SAM: \ system32 \ config \ sam
HKEY_LOCAL_MACHINE \ SECURITY: \ system32 \ config \ security
HKEY_LOCAL_MACHINE \ ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ: \ system32 \ config \ software
HKEY_USERS \ UserProfile: \ winnt \ profile \ username
HKEY_USERS.DEFAULT: \ system32 \ config \ default

Поддерживаются следующие файлы:

Некоторые ульи нестабильны и не имеют связанных файлов. Система создает и управляет этими ульями полностью в памяти; поэтому ульи носят временный характер. Система создает изменчивые ульи каждый раз, когда система загружается. Примеры:

HKEY_LOCAL_MACHINE \ HARDWARE: Волатильный улей
HKEY_LOCAL_MACHINE \ SYSTEM \ Clone: ​​ Волатильный улей

Эти файлы являются файлами базы данных, и только RegEdit, Regedit32 и Kernel32 могут их читать. Основным инструментом в Windows 10/8/7 для работы непосредственно с реестром является редактор реестра. Чтобы получить к нему доступ, просто введите Regedit в строке поиска меню «Пуск» и нажмите Enter!

Если вам нужно больше узнать об этом, зайдите в TechNet!

ОБНОВЛЕНИЕ: AccidentalADMIN сделал полезный комментарий. Он говорит:

Каждая Windows имеет ключ реестра, в котором перечислены все ульи в системе. Запустите regedit , чтобы открыть редактор реестра, и перейдите к следующему ключу, чтобы получить полный список:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ hivelist

В разделе «Реестр» вы также можете посмотреть, интересуют ли вас некоторые из этих ссылок:

  • Как сделать резервную копию реестра Windows
  • Как отслеживать изменения в реестре
  • Ограничить или восстановить доступ, заблокировать конкретного пользователя, изменить права доступа в реестре
  • Как открыть несколько экземпляров реестра в Windows.

Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value

INTRODUCTION

Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value. If you change the location of the Program Files folder, you may experience problems with some Microsoft programs or with some software updates.

More Information

The ProgramFilesDir registry value is located in the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionYou may want to use the ProgramFilesDir registry entry to change the location of the Program Files folder. Additionally, you may want to modify every reference in the registry to point to the new Program Files folder. You may also want to move the contents of the original Program Files folder to the new location. However, we do not test changes to the default location of the Program Files folder. Therefore, we do not recommend or support modifying the ProgramFilesDir registry value to change the default location of the Program Files folder.

When you set the ProgramFilesDir registry value to use a location other than the default location, Microsoft hotfixes, updates, and security updates do not update files that are in the default location. Therefore, you may experience system instability and unexpected problems with Microsoft programs and software updates. For example, you may experience any of the following problems:

Microsoft hotfixes, updates, and security updates may not be installed correctly.

Читайте также:  Показать пользователей mac os

New versions of Microsoft Internet Explorer or Microsoft Windows Media Player may not be installed correctly.

Additionally, the Microsoft Windows File Protection feature that helps protect files in the Internet Explorer folder does not support changing the default location of the Program Files folder.

Note The Internet Explorer installation folder is located in the Program Files folder.

If you change the location of the Program Files folder, you may experience unexpected issues that may affect the stability of Windows. The list of binary files that are protected by Windows File Protection, together with the locations of these files, is coded in Internet Explorer. You cannot modify these locations in Internet Explorer.

The following programs use the standard Windows APIs to determine the location of the Internet Explorer installation folder:

The Windows Internet Explorer 7 installation program.

The Windows Update program.

Programs that update Windows Internet Explorer 7.

These Windows APIs rely on the background registry settings to locate the Internet Explorer files to update.

Note When we developed Internet Explorer 7, we decided to use the standard method to determine the location of the Windows Internet Explorer 7 installation folder. This decision was made to help increase the stability of Windows Internet Explorer 7. The decision was also made to help reduce the risk of problems that you may experience with regard to compatibility with other programs and with regard to Windows Internet Explorer 7 serviceability.

Steps to change the ProgramFilesDir registry value to use the default location for the Program Files folder

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

To change the location of the Program Files folder back to the default location, follow these steps:

Click Start, click Run, type
regedit
, and then click OK.

Locate and then click the following registry subkey:

In the details pane, right-click the ProgramFilesDir registry value, and then click Modify.

In the Value data box, type the default location for the Program Files folder, and then click OK.

NoteThe default location of the Program Files folder is systemdrive\Program Files. For example, if Windows is installed on drive C, type C:\Program Files in the Value data box.

How to Change Program Files Location in Windows 10, 8, 7

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Normally if you have Windows 8, Windows 10 or any other version of Windows operating systems, you will definitely have your program files location in your “C:/” driver where the operating system itself is usually installed. This is mainly because the system needs to ensure a good correlation between the programs that you are installing and the Windows 8 or Windows 10 operating system.

Of course you can change this location anytime and we will see how to do so by reading the tutorial posted a few rows below. But first of all, we will need to know the consequences that may happen if we change the program files location. Mainly the program files folder is put there for a good reason, if you move it and all your programs will be moved to another location you may experience some system errors after a while.

Change program files directory on Windows 10, 8, 7

  1. While on your Desktop in Windows 8, Windows 10 or Windows 7, you will need to press and hold the buttons “Windows” and “R”.
  2. Holding the buttons above will open the “Run” window where we will need to type “Regedit”.
  3. After typing “Regedit” you will need to press the “Enter” button on the keyboard.
  4. Now you should have the “Registry Editor” window in front of you.
  5. On the left side of the window left click on the “HKEY_LOCAL_MACHINE” folder.
  6. In the “HKEY_LOCAL_MACHINE” folder left click on the “ SOFTWARE” folder.
  7. In the “SOFTWARE” folder left click on the “Microsoft” folder.
  8. In the “Microsoft” folder left click on the “Windows” folder.
  9. And now in the “Windows” folder left click on the “CurrentVersion” folder.
  10. Now that you are in the “CurrentVersion” folder you will have to look in the right side of the window for a “ProgramFilesDir” item. Note: if you have a 64 bit system it will be a “ProgramFilesDir (x86)” item.
  11. Double click (left click) on it and from there you will be able to change the path of the “Program files” folder by entering a new path in the “Value data” section of the window.
  12. After you are done selecting a path you will need to left click on “OK” and then close the “Registry Editor” window.
  13. If the changes did not work after you closed the window try a reboot of the Windows 8 or Windows 10 system and try it afterwards.
Читайте также:  Linux cut delimiter tab

Now, you know how to change the path of the program files folder and you can see that it didn’t took up much of your time. Always keep in mind that if you change the path of the program files folder, this may cause malfunctions in the system. Microsoft made it clear that it does not support changing the location of the program files:

Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value. If you change the location of the Program Files folder, you may experience problems with some Microsoft programs or with some software updates.

RELATED STORIES TO CHECK OUT:

Where are the Windows Registry files located in Windows 10?

The Windows Registry is the centralized configuration database for Windows NT and Windows 2000, as well as for applications. The Registry in Windows 10/8/7 stores information about tuning parameters, device configuration, and user preferences.

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

The supporting files are as follows:

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. 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 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 has a Registry Key which lists every hive in the system. Run regedit to open the Registry Editor and navigate to the following key to get a complete list:

Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value

INTRODUCTION

Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value. If you change the location of the Program Files folder, you may experience problems with some Microsoft programs or with some software updates.

Читайте также:  Enable cookies firefox windows

More Information

The ProgramFilesDir registry value is located in the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersionYou may want to use the ProgramFilesDir registry entry to change the location of the Program Files folder. Additionally, you may want to modify every reference in the registry to point to the new Program Files folder. You may also want to move the contents of the original Program Files folder to the new location. However, we do not test changes to the default location of the Program Files folder. Therefore, we do not recommend or support modifying the ProgramFilesDir registry value to change the default location of the Program Files folder.

When you set the ProgramFilesDir registry value to use a location other than the default location, Microsoft hotfixes, updates, and security updates do not update files that are in the default location. Therefore, you may experience system instability and unexpected problems with Microsoft programs and software updates. For example, you may experience any of the following problems:

Microsoft hotfixes, updates, and security updates may not be installed correctly.

New versions of Microsoft Internet Explorer or Microsoft Windows Media Player may not be installed correctly.

Additionally, the Microsoft Windows File Protection feature that helps protect files in the Internet Explorer folder does not support changing the default location of the Program Files folder.

Note The Internet Explorer installation folder is located in the Program Files folder.

If you change the location of the Program Files folder, you may experience unexpected issues that may affect the stability of Windows. The list of binary files that are protected by Windows File Protection, together with the locations of these files, is coded in Internet Explorer. You cannot modify these locations in Internet Explorer.

The following programs use the standard Windows APIs to determine the location of the Internet Explorer installation folder:

The Windows Internet Explorer 7 installation program.

The Windows Update program.

Programs that update Windows Internet Explorer 7.

These Windows APIs rely on the background registry settings to locate the Internet Explorer files to update.

Note When we developed Internet Explorer 7, we decided to use the standard method to determine the location of the Windows Internet Explorer 7 installation folder. This decision was made to help increase the stability of Windows Internet Explorer 7. The decision was also made to help reduce the risk of problems that you may experience with regard to compatibility with other programs and with regard to Windows Internet Explorer 7 serviceability.

Steps to change the ProgramFilesDir registry value to use the default location for the Program Files folder

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

To change the location of the Program Files folder back to the default location, follow these steps:

Click Start, click Run, type
regedit
, and then click OK.

Locate and then click the following registry subkey:

In the details pane, right-click the ProgramFilesDir registry value, and then click Modify.

In the Value data box, type the default location for the Program Files folder, and then click OK.

NoteThe default location of the Program Files folder is systemdrive\Program Files. For example, if Windows is installed on drive C, type C:\Program Files in the Value data box.

Оцените статью