“Invalid folder name” error (code 267): simplest methods for troubleshooting

Quite often, during the installation of some programs (usually a game type), an error occurs during the installation with a message stating that the folder name is incorrectly set, and error code 267 is indicated along the way. What is the reason for such situations and how to fix them using the simplest methods, read on .

Error “Incorrectly set folder name” (code 267): causes

If we talk about what exactly could lead to such behavior of the system and the installer of the game, the main reasons most experts call the following:

  • game installer damage;
  • installation blocking by the antivirus, firewall, and UAC registry control center;
  • the user does not have access rights to the directory in which the installation is made or temporary files are saved;
  • the presence in the name of the catalog of Cyrillic characters;
  • damage to the registry or system files;
  • incorrect work with the image of the installed game;
  • exposure to viruses.

The folder name is incorrectly set in Windows 10 and earlier systems: how to fix the problem with the simplest methods?

So, let's begin. If during the installation process a message appears stating that the folder name is incorrectly set (the file cannot be executed), until resorting to complex actions, just restart the system. For short-term crashes in Windows, this sometimes helps.

Temporarily disable antivirus

If the problem persists, disable the antivirus and the firewall of the system during installation. Make sure that the folder you are installing to contains only Latin letters and characters in the name.

Run the installer as administrator

Be sure to run the installer as administrator. Finally, if you use a game image during installation, try changing the program to work with it (for example, set Alcohol to 120% instead of UltraISO). In theory, at least one of the above methods, if only the problem concerned just such situations, in the majority will allow you to get rid of the message that the folder name is set incorrectly.

Setting Additional Permissions

However, all this may not work just for the simple reason that the user does not have the necessary access rights to the destination directory, or the installation process is blocked at the UAC level.

If, after all the steps taken, a notification that the folder name is set incorrectly appears again, try to set additional privileges for yourself that relate to the access rights to both the destination folder and the Temp directory (many installers unpack temporary files used there in installation process). With the first directory everything is clear. The second can be found in the user directory of the Users folder on drive C by going to it through the AppData and Local folders. Please note that the AppData directory may have a hidden attribute, therefore, in advance in the view menu in the "Explorer" set the display of hidden objects.

Setting folder permissions

On both folders, through the PCM menu, call up the properties section and use the security tab, on which select the user (s) you need, click the permissions change button and select the check box for full access, then save the options and run the installer again. You can use additional settings for adding users or changing the owner, but this is usually not usually required.

Disabling UAC Control

If this does not help in the UAC registration control section, set the level slider to the lowest position. Install the game, and upon completion, return the settings to their original state.

Reinstalling gaming platforms

Finally, you can get rid of the message that the folder name is set incorrectly if none of the above helped, you can by reinstalling the DirectX and Microsoft Visual C ++ platforms. Their distributions can be downloaded directly from the Microsoft website. But in order not to download them in full size, you can use the online installers, but only if you have a stable Internet connection.

Additional measures

As additional solutions, you may be advised to check the system for viruses using the portable Dr. Web CureIt. Also, checking the integrity of system files, which is performed on the command line with the sfc / scannow command, will not hurt. If failures are detected, their elimination and restoration of damaged components will be performed automatically.

Source: https://habr.com/ru/post/K11580/


All Articles