Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
To enable long file paths in Windows 10 (version 1607 or later) and Windows 11, turn on LongPathsEnabled in the registry or enable the Enable Win32 long paths Group Policy. The change removes the traditional 260-character restriction for supported Win32 operations, but an application must also declare itself long-path-aware.
Use the registry or elevated PowerShell for a one-off local change; use Group Policy on managed PCs. Restart affected applications—and, if necessary, Windows—after changing the setting. The steps and limitations below follow Microsoft’s Win32 path-length documentation.
As an Amazon Associate I earn from qualifying purchases.
Free tools Windows power users keep installed
One-click scans. No signup required.
What does “long path” support change?
Windows traditionally exposed a MAX_PATH limit of 260 characters for many Win32 file and directory operations. Beginning with Windows 10 version 1607, Microsoft added an opt-in behavior that allows many common Win32 functions to work beyond that historical limit. Windows 11 carries the feature forward.
There are two separate requirements:
- Windows must have long-path support enabled. This is the registry value or Group Policy setting described below.
- The application must opt in. Its manifest must include a
longPathAwaredeclaration. Microsoft’s documentation states: “However, your app must opt-in to the new behavior.”
Consequently, enabling the system setting does not make every program, shell, archive utility, script, or API call accept arbitrarily long names. A program that still uses legacy path handling can continue to report “path too long” even after Windows is configured correctly.
Popular on Amazon
- Aluminum Slim Computer Side Mount Clip: Compatible with all phones, featuring a portable foldable expansion bracket in sleek black finish
- Upgraded Magnetic Mount Technology: Designed for laptop, desktop monitor, MacBook, iPad and Tesla car screen with stable adsorption, adjustable angle, and dual-screen interaction support for improved office efficiency
- High-End Metal Craftsmanship: Selected high-hardness aluminum alloy with CNC precision machining, matte plating process, delicate texture that is wear-resistant and anti-scratch
- Strong Magnetic Attachment: Features upgraded high strength magnet with 200% increased magnetic force for firm phone attachment, innovative ring-shaped heat dissipation design prevents overheating and ensures no signal interference
- Wide Range of Compatibility: Works with iPhone 18/17/16/15/14/13/12 series including Pro Max/Mini versions, includes 2 metal rings for non-magnetic phones or cases for full device compatibility
The 260-character figure refers to the traditional Win32 behavior, not a promise that every Windows component now accepts unlimited-length paths. File-system limits, application limits, and interface-specific restrictions can still apply.
The setting is machine-wide rather than a preference for one folder or one user. It affects the Windows behavior available to programs, while each program remains responsible for opting in and handling long names correctly. A copy tool, development environment, archive utility, backup program, and file manager can therefore behave differently on the same computer.
Read Microsoft’s full explanation of the MAX_PATH limitation and long-path opt-in.
Which Windows versions support the setting?
The documented long-path behavior starts with Windows 10 version 1607 and is available in Windows 11. If you are on an earlier Windows 10 release, the registry value may exist but the documented Win32 behavior is not available in the same way.
To check your Windows version, press Win+R, type winver, and press Enter. The dialog shows the Windows edition and version. You need administrator rights to change the machine-wide registry value or local computer policy.
Checking the version first prevents a common troubleshooting mistake: changing a value on an older release and assuming that the newer Win32 behavior is present. On supported releases, the same configuration applies whether the computer is running Windows 10 or Windows 11.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11How do I enable long paths in Registry Editor?
The registry method changes the machine-wide LongPathsEnabled value. It is the most direct option on a standalone PC, but editing the registry incorrectly can affect Windows, so change only the specified value.
- Sign in with an account that can approve administrator changes.
- Press Win+R, type
regedit, and press Enter. - Approve the User Account Control prompt.
- In Registry Editor, browse to:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem - In the right pane, find
LongPathsEnabled. - If it exists, double-click it, choose Decimal or leave the base unchanged, and set Value data to
1. - If it does not exist, right-click an empty area in the right pane, choose New > DWORD (32-bit) Value, name it
LongPathsEnabled, and set its value to1. - Close Registry Editor.
The value must be a REG_DWORD with data 1. A value of 0 disables the setting. Restart any application that will access the long path. Microsoft notes that the value is cached by processes after their first affected file or directory call, so a complete Windows restart may be needed for every process to recognize a change.
Do not create a similarly named value in another registry key, and do not change unrelated entries in FileSystem. The documented path and value name are exact. If the value already exists, editing it is sufficient; creating a second value elsewhere will not enable the feature.
Also popular on Amazon
- Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
- Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
- Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
- EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
- Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.
Can I enable long paths with PowerShell?
Yes. An elevated PowerShell window can create or update the same machine-wide value without navigating the registry manually.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →- Open Start, search for PowerShell, right-click it, and choose Run as administrator.
- Run this command exactly:
New-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
- Close PowerShell after the command completes.
- Restart the affected applications. Reboot Windows if applications still behave as though the old setting is active.
-Force makes the command create the value if it is missing or update it if it already exists. The command changes the same registry location as the graphical Registry Editor method; do not run both methods as separate requirements.
This route is useful when you are preparing several computers, documenting a repeatable setup, or working through a remote administration process. It still requires elevation because the target is under HKEY_LOCAL_MACHINE. A successful command confirms that PowerShell wrote the value; it does not confirm that a particular application has a longPathAware manifest.
How do I enable long paths with Group Policy?
Group Policy is convenient when a PC is managed through local or domain policy. It controls the same Windows behavior as the registry value.
- Press Win+R, type
gpedit.msc, and press Enter. - In Local Group Policy Editor, open:
Computer Configuration > Administrative Templates > System > Filesystem - Double-click Enable Win32 long paths.
- Select Enabled, click Apply, and then click OK.
- Restart the applications that need the setting. If the change is not visible, restart Windows.
On a domain-managed computer, an organization’s policy can supersede a local choice. If the setting keeps reverting, ask the administrator which policy is being applied rather than repeatedly editing the registry.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Group Policy is preferable when the setting must be administered consistently across managed computers. A local registry edit can appear correct while an applied domain policy supplies a different effective value. In that situation, the policy administrator must make the change; repeatedly changing the local value will not solve the conflict.
Which method should I use: Registry, PowerShell, or Group Policy?
| Method | Best fit | What it changes | Administrator rights |
|---|---|---|---|
| Registry Editor | One local computer and a graphical interface | LongPathsEnabled=1 under the FileSystem key |
Required |
| Elevated PowerShell | Repeatable command-line setup or scripting | The same DWORD value and location | Required |
| Group Policy | Managed PCs or policy-based administration | Enable Win32 long paths, which controls the same setting | Required to edit local computer policy |
These methods do not provide different long-path capabilities. Choose the one that matches how the computer is administered, and avoid having conflicting policy and registry settings.
For a personal computer, Registry Editor is easy to inspect later, while PowerShell is convenient if you already use commands for system configuration. For an organization, Group Policy gives administrators a central policy mechanism. Regardless of the route, the result is the same Windows-side switch and the same application opt-in requirement.
How can I verify that the setting is enabled?
Verification confirms the Windows-side switch; it does not prove that a particular application is long-path-aware.
Also popular on Amazon
- Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Check with Registry Editor
- Return to
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem. - Confirm that
LongPathsEnabledis aREG_DWORDwith data0x00000001 (1).
Check with PowerShell
In PowerShell, run:
Get-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" -Name LongPathsEnabled
A result showing LongPathsEnabled : 1 confirms the registry value. If the property is missing or shows 0, the Windows setting is not enabled through that location.
Check Group Policy
Open gpedit.msc and revisit Computer Configuration > Administrative Templates > System > Filesystem > Enable Win32 long paths. It should show Enabled. On managed computers, the effective domain policy may be the authoritative setting.
After verification, test the exact operation that previously failed. Use the same application, account, source, destination, and service context whenever possible. A registry check alone cannot reveal whether the program performing the copy, extraction, rename, or backup has opted in.
Why do I still get “path too long” after enabling long paths?
The most common reason is that the application has not opted in. Windows’ setting and the application’s manifest are both required; changing the registry cannot retrofit a longPathAware declaration into a third-party program.
The application was already running
Windows caches the setting at the process level after an affected file or directory function is first called. Close and reopen the application, terminal, script host, file manager, or service that performs the operation. If several processes are involved, reboot Windows so they all start with the new value.
The operation uses a legacy component
A modern application may still call an older library, plug-in, shell extension, or archive component that has its own path-length assumptions. Try the operation in a different long-path-aware tool, or ask the software vendor whether the specific release declares longPathAware.
The path is longer than the application’s practical limit
“Long-path enabled” does not mean “unlimited.” A program can impose a smaller internal limit, and different Windows interfaces can have different support. Reduce unnecessary nesting, shorten folder names, or move the project closer to a drive root when the application cannot be changed.
A policy is overriding the setting
On an organization-managed PC, Group Policy may define the effective value. Check the policy editor or contact the administrator if the registry value changes back or does not match the configured policy.
The error is not actually a path-length error
Permission failures, unavailable network shares, invalid characters, locked files, cloud-sync conflicts, and unavailable drives can produce messages that look similar. Confirm that the full path exists, that you have access to every parent folder, and that the destination is reachable before treating the problem as MAX_PATH.
Also popular on Amazon
- Full HD Portable Monitor - MNN 15.6inch portable laptop monitor with 1920*1080 resolution, advanced IPS glossy screen support 178° full viewing angle, it renders accurate and bright color, draws you into the video or game with lifelike colors and amazing detail.It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time.A second monitor for working from home.
- Double Type-C Port -For Plug & Play, the MNN monitor provides 2 Full Feature Type-C ports. Only One USB Type-C Cable is required to connect to the power supply & display signal transmission. NOTE: Your device should support thunderbolt 3.0 or USB 3.1 Type C DP ALT-MODE.which supports multiple connect ways to your laptops, PC, Phones, Macbooks, PS5/PS4, Xbox, and Switch.
- Lightweight Ultra Slim for Travel - As a portable external monitor,MNN portable laptop monitor easily accommodate to every suitcase and backpack and stress-free when you are holding it for a long time. They are truly portable computer monitors for travelers, students, gamers,engineers, and everyone.
- Give consideration to work and games - through multiple display modes [Copy Mode/Extended Mode/Second Screen Mode/Portrait Mode], we can bring you a clear second screen in the meeting, and expand the screen anytime and anywhere to improve work efficiency and improve the quality of life. Adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights,deeper and more realistic colors, more realistic images, and amazing viewing/gaming experience.
- Powerful Smart Cover - MNN portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection for this portable computer monitor.
Only one stage of a workflow supports long paths
A migration may involve a file manager, a compression library, a script host, and a destination service. If any stage uses legacy path handling, the overall job can fail even when another stage is long-path-aware. Test each tool separately and identify the process that actually reports the error.
The process was restarted, but a service remains active
Interactive applications are easy to close, but services, scheduled tasks, and background agents may continue running with the old cached value. Restart the responsible service or reboot Windows before repeating the test. If the task runs under a managed account or on another computer, verify the setting on that computer as well.
What does an application need to support long paths?
The application must declare long-path awareness in its Windows manifest with the longPathAware element. This is a software-development change, not a registry tweak. If you maintain the application, consult Microsoft’s manifest and file-I/O documentation for the exact declaration and API requirements; if you are an end user, install a release from the developer that includes the opt-in.
Recommended Free Tools
Even with the declaration, the application must use file APIs correctly and handle the resulting paths throughout its code. A single legacy library or user-interface field can remain a bottleneck. This is why the Windows switch should be viewed as an enabling prerequisite rather than a universal compatibility fix.
Ask a vendor specifically whether the release declares longPathAware, rather than assuming that a recent release supports every long-path operation. The declaration concerns the application manifest; it does not automatically update plug-ins, shell extensions, scripts, or external tools that the application launches.
What should I do before moving or extracting a deeply nested folder?
Enable the Windows setting before starting the operation, then restart the application that will perform it. Confirm that the application supports long paths; otherwise, shorten the source or destination path first.
- Move the working folder nearer to the drive root to remove unnecessary parent-folder characters.
- Use shorter, descriptive folder and file names where practical.
- Check both the source and destination: a short source can still fail when copied into a deeply nested destination.
- For scripted jobs, test the exact tool and process that will run in production; support can differ between a shell, a script host, and a graphical application.
- Keep a backup before large rename or migration operations, especially when several tools will touch the same tree.
- Run a small test with representative nested folders before beginning a large transfer or extraction.
- Record which application performed the successful test so a later support call can distinguish a Windows setting problem from an application limitation.
These workarounds do not replace application opt-in, but they reduce the path length that every component must handle.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
How do I turn long-path support off again?
Set LongPathsEnabled to 0 in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem, or set Enable Win32 long paths to Disabled or Not configured in the applicable policy. The PowerShell equivalent is:
New-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetControlFileSystem" `
-Name "LongPathsEnabled" -Value 0 -PropertyType DWORD -Force
Restart affected applications, and reboot if necessary, because processes can retain the previously cached behavior. Disabling the setting does not shorten or rename files that already exist; it changes whether supported Win32 operations can use the newer behavior.
Also popular on Amazon
- 【Rechargeable Optical Mouse/Energy Saving】:Computer Mouse Built-in Durable Rechargeable Battery,High Cycle Life,No Need Change Battery;Laptop Mouse Wireless Can Be Easily Charged Using the Included USB Cable,Just 2 Hours Charging,Mouse Wireless Can Use Than 5 Days of Working Time and 30 Days of Standby Time,Standby Time is Very Long;Tablet Mouse Will Fall Asleep After 5 Minutes No-Operation to Save Power and Provides Long Term Usage;You Can Wake ipad Mouse Up By Clicking any Button
- 【LED Colorful Breathing Light】:This Wireless Mice With 7 Different Colorful LED Breathing Lights,7 Different Color Changes Randomly While in Use,Offering Soothing Lighting;Creating Cool and Fancy Atmosphere for Office and Gaming,LED Mouse Can Give You More Fun During
- 【Wireless Bluetooth Mouse Dual Mode】:Mouses(BT5.2/3.0 and 2.4 G)Dual Mode Realize the Free Switching of One Wireless Bluetooth Mice Between Two Devices;Bluetooth Mouse Mode Can Connect One Device Through BT5.2/3.0 and Wireless Mouse Mode Another Device Through a 2.4G USB Receiver,No Need to Install any Driver,Plug and Play;Wireless/Bluetooth Technology Provides Powerful and Reliable Connection,Which Can Enables Fast Data Transmission Without Delays or Dropouts,Effective Up to 10 Meters(33 feet)of Range
- 【Silent/Fingerprint-proof】:Silent Laptop Mice Button Silent Click Design Reduces 90% Noises,Help You Concentrate on Your Work、Study Without Disturbing Others Besides You;Apple Mouse Fingerprint-proof Surface Coating Technology Design Gives Your a Skin-Like Touch,The sturdy anti-slip rubber scroll wheel ensures that your hand will not slip when scrolling;Slim Mouse Offers Your Hand Maximum Support and Comfort
- 【Wide Compatibility Wireless Mouse】:Wireless Bluetooth Mouse For Laptop/Computer/Apple/Notebook/Tablet/Macbook/ipad/iPhone;Mice is Compatible With Android/Chromebook/Windows/Vista/Linux/Notebook/Mac OS and Other Bluetooth Devices
If Group Policy controls the computer, change the policy rather than only writing a local registry value. A policy refresh can restore the configured value after a local edit. As with enabling, turning the switch off does not alter existing files; it only changes the behavior available to future operations.
Long-path setup checklist
- Confirm Windows 10 version 1607 or later, or Windows 11.
- Choose one configuration route: Registry Editor, elevated PowerShell, or Group Policy.
- Set or verify
LongPathsEnabledas aREG_DWORDequal to1. - Restart every application involved in the file operation; reboot Windows when in doubt.
- Verify that the application declares
longPathAwareor obtain a release that does. - Test the exact copy, extraction, rename, or script operation that matters.
- If errors continue, check policy overrides, legacy components, permissions, network availability, and the actual path length.
- Shorten folder names or move the working directory nearer the drive root when the application cannot be changed.
Microsoft documents the registry, Group Policy, process-cache behavior, version requirement, and application opt-in in its Maximum Path Length Limitation reference.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesFrequently Asked Questions
Do I need to enable both the registry value and Group Policy?
No. They are two ways to control the same Windows setting, so one correctly applied method is sufficient. On a managed PC, however, an organization’s Group Policy can override a local registry edit.
Will enabling long paths repair files that already failed to copy?
It only changes the behavior available to supported applications; it does not retry, rename, or move files automatically. Re-run the operation after restarting the relevant application, and shorten the source or destination path if that program still lacks long-path support.
Can a standard (non-administrator) user enable this for just their account?
The documented setting is machine-wide under HKEY_LOCAL_MACHINE and in Computer Configuration policy, so administrator approval is required. A user without that access must ask an administrator or use an application-specific workaround.
Does long-path support work for network shares and removable drives?
Support depends on the application, the Windows API it uses, and the remote or removable file system. The Windows switch alone does not guarantee that every network, archive, or device interface accepts long paths.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Why does the registry show 1 but my program still fails?
The registry value confirms only the Windows-side switch. The program must declare long-path awareness with a longPathAware manifest, and any library or plug-in it uses may have separate limitations. Restart the program, test another supported tool, or ask the developer about the specific release.
The Bottom Line
On Windows 10 version 1607 or later and Windows 11, set LongPathsEnabled to the REG_DWORD value 1, or enable Enable Win32 long paths in Group Policy. Restart affected processes, then confirm that the application itself declares longPathAware. If errors remain, investigate legacy components, policy overrides, permissions, and the specific tool performing the operation—because the Windows switch is not a universal unlimited-path guarantee.

