What DLL redirection is and why you might disable it

DLL redirection is a Windows feature that lets older programs find the files they need to run, even when those files have moved or changed. When you disable it, Windows stops looking in alternate locations and uses only the standard system folders. Most people never need to change this setting, but if a program is running slowly or crashing because it is loading the wrong version of a file, turning off redirection can fix it.

DLL stands for Dynamic Link Library — these are files that programs share to do common tasks like displaying windows or saving files. Redirection exists because old software sometimes expects files in places where Windows no longer puts them. When redirection is on, Windows checks multiple locations before giving up. When it is off, Windows checks only the default paths, which is faster but means older programs might not find what they need.

You should only disable DLL redirection if a specific program is having problems and you have confirmed that redirection is the cause. Disabling it system-wide affects every program on your computer, so the safer approach is to disable it only for the one program that needs it.

Key Takeaways

  • DLL redirection makes Windows search multiple locations for program files, which can slow down older software or cause it to load the wrong version.
  • You can disable redirection for a single program by editing its compatibility settings instead of changing the system-wide setting.
  • The system-wide setting lives in the Registry under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager, in a value called DisableDllRedirection.
  • Disabling redirection for one program takes two minutes and does not affect any other software on your computer.
  • If disabling redirection does not fix the problem, turn it back on — it is not the cause of your slowdown.

Disable DLL redirection for a single program

This is the safest method because it affects only the program you are troubleshooting, not your entire system. Right-click the program's shortcut or .exe file and select Properties. Click the Compatibility tab.

Look for a checkbox labeled Disable fullscreen optimizations — this is not the same as DLL redirection, but it sits in the same menu. Below that, you may see an option for Run this program in compatibility mode for. If you see a button that says Change high DPI settings, click it. In the window that opens, check the box next to Disable fullscreen optimizations if it is not already checked, then click OK.

Close the Properties window and run the program. If it still has problems, right-click the .exe file again, go to Properties, click the Compatibility tab, and look for Run this program in compatibility mode for. Select an older version of Windows from the dropdown — try Windows 7 or Windows XP Service Pack 3 if the program is very old. Click explore, then OK. This often solves DLL loading issues without touching the Registry.

Disable DLL redirection system-wide through the Registry

Only do this if disabling it for a single program did not work and you are certain DLL redirection is causing the problem. You will need to open the Registry Editor, which is a tool built into Windows that controls how the system behaves.

Press Windows key + R to open the Run dialog. Type regedit and press Enter. Windows will ask for permission — click Yes. The Registry Editor window will open.

In the left panel, navigate to HKEY_LOCAL_MACHINE by clicking the arrow next to it. Then click the arrow next to System. Then click the arrow next to CurrentControlSet. Then click the arrow next to Control. Finally, click Session Manager. You should now see a list of values in the right panel.

Look for a value called DisableDllRedirection in the right panel. If it does not exist, you need to create it. Right-click in the empty space of the right panel and select New, then DWORD (32-bit) Value. Name it DisableDllRedirection exactly as shown. Double-click the new value and change the number from 0 to 1. Click OK.

Close the Registry Editor and restart your computer. DLL redirection is now off for all programs. If this does not solve your problem, go back into the Registry, change the value back to 0, and restart again.

What to do if you are not sure whether DLL redirection is the problem

Before you change any settings, test whether the program runs faster or more reliably with redirection off. The easiest way is to use compatibility mode first, which is temporary and does not require Registry changes. Set the program to run in compatibility mode for an older Windows version, as described above, and use it for a few days.

If the program runs better, then DLL redirection was likely the issue. If nothing changes, turn compatibility mode off and try something else — the slowdown might be caused by insufficient RAM, a full hard drive, or background programs using CPU power. You can check these by opening Task Manager (press Ctrl + Shift + Esc), clicking the Performance tab, and looking at CPU, memory, and disk usage while the program runs.

How to turn DLL redirection back on

If you disabled it system-wide and want to turn it back on, open the Registry Editor again by pressing Windows key + R, typing regedit, and pressing Enter. Navigate back to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager. Find DisableDllRedirection in the right panel, double-click it, and change the value from 1 back to 0. Click OK, close the Registry Editor, and restart your computer.

If you only changed compatibility mode for a single program, right-click the program's shortcut, select Properties, click the Compatibility tab, uncheck Run this program in compatibility mode for, and click OK. No restart is needed.

Why DLL redirection exists and when it actually helps

Windows added DLL redirection to solve a real problem: old software written for Windows 95 or Windows XP expected files in locations where modern Windows no longer puts them. Without redirection, these programs would crash when ready. Redirection lets Windows check the program's own folder first, then the system folders, so old software can find what it needs.

The downside is that this extra searching takes time. For programs written in the last ten years, the slowdown is usually tiny — less than a millisecond. But for very old software or programs that load hundreds of DLLs at startup, the delay can add up. Disabling redirection tells Windows to skip the extra search and use only the standard paths, which is faster but means old programs might not find files they expect.

Redirection helps most when you have installed an old program alongside newer versions of the same software. For example, if you have both Adobe Photoshop 5.0 and Photoshop 2024 on the same computer, redirection makes sure each one loads its own DLL files instead of accidentally using the other version's files.

Common mistakes to avoid

Do not disable DLL redirection system-wide unless you have tested it for a single program first. Changing the Registry affects every program on your computer, and if something goes wrong, you might have to undo the change or reinstall Windows. Always try compatibility mode or a single-program setting first.

Do not assume that disabling redirection will make your computer faster overall. It only helps if a specific program is slow because it is loading the wrong DLL file. If your computer is slow in general, the problem is usually something else — too many startup programs, a full hard drive, or malware. Disabling redirection will not fix those issues and might break old software that depends on it.

Do not change the Registry value to anything other than 0 or 1. The system expects only these two numbers. If you type something else, Windows might not start correctly.

Frequently Asked Questions

Will disabling DLL redirection speed up my computer?

Only if a specific program is slow because it is loading the wrong DLL file. For most people, the speedup is not noticeable. If your computer is slow in general, the problem is usually too many startup programs, a full hard drive, or not enough RAM. Check Task Manager to see what is using your CPU and disk.

Can I disable DLL redirection for just one program without editing the Registry?

Yes. Right-click the program's .exe file, select Properties, click the Compatibility tab, and check Run this program in compatibility mode for. Select an older Windows version from the dropdown. This disables redirection only for that program and does not require Registry changes.

What happens if I disable DLL redirection and a program stops working?

Turn it back on. Open the Registry Editor, navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager, find DisableDllRedirection, change the value from 1 to 0, and restart. If you used compatibility mode instead, just uncheck the option in Properties.

Is it safe to edit the Registry?

Yes, if you follow the steps exactly and change only the value you intend to change. The Registry is how Windows stores settings, and editing it is safe as long as you do not delete keys or change values you do not understand. If you are nervous, create a System Restore point first by typing "create a restore point" into the Windows search box.

Do I need to restart my computer after disabling DLL redirection?

Yes, if you changed the Registry system-wide setting. Windows needs to restart to explore the change. If you only changed compatibility mode for one program, no restart is needed — the change takes effect the next time you run that program.