javascript contador Skip to content

How to remove 260 character limit on file path in Windows

How to remove 260 character limit on file path in Windows

How to remove 260 character limit on file path in Windows

The new Anniversary Update will bring a new surprise: removing the character limit on Windows paths.

It is possible that you have ever come across an error message when you tried to change the name of a folder or a file, especially if the new name was too long or if you need to navigate through many folders to access the file.

It is even possible that the system does not warn you that the name is too long, and just cut it healthy and we are left with an incomplete name. If we are moving files from one side to another, we may have some left in their original folder for all this.

How to remove the character limit on Windows paths

This is because NTFS, the default file system in Windows, has a theoretical limit of 255 characters for file names and about 32,000 characters for file paths. However, at the moment of truth Windows limits file path to 260 characters.

Those limits are there for good reasons (avoiding a memory overflow, it’s one of them), but as computers move forward, these limits are too small.

Fortunately, the Anniversary Update that Microsoft will release for Windows 10 is expected in the coming weeks. change these limits, although we will have to touch the system configuration to eliminate them.

If you are a user of Windows Insider, the option to use beta and unstable versions of Windows 10, You should already have this possibility in build 14352So we are going to tell you how it is done. Remember, if you don’t want to sign up for Windows Insider, you only have to wait a few weeks to perform any of the following steps:

Option 1- With the Group Policy Editor

Group policies will receive a new option with the anniversary update that we can use to remove the limit.

To do this, open the start menu, look for gpedit.msc and press Enter.

The Group Policy Editor will open. Once here, navigate to Computer Configuration -> Administrative Templates -> System -> File System -> NTFS. Here you will see a new entry about long names in NTFS. Double click on it, and on Enable. Surely you will have to restart the computer.

Option 2- Editing the registry

If your version of Windows doesn’t allow you to edit group policies, or you prefer a more direct option, you can simply edit the registry.

First, open the start menu and look for regedit and hit Enter.

In the registry editor that will open, navigate to the following folders:

HKEY_CURRENT_USER -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Group Policy Objects -> {48981759-12F2-42A6-A048-028B3973495F} Machine -> System -> CurrentControlSet -> Policies

You will find a key called LongPathsEnabled. If you double click on it, you can edit the value, which should be 1. If the key is not created, you can create it by right-clicking, New and DWORD Value (32 bits).

Were you expecting this functionality? I have personally encountered this problem on a couple of occasions, so it is good news that Windows 10 will soon ignore that limit it had for so long.