Windows file

dinput8.dll: genuine Windows DirectInput file, or a proxy copy in your game folder?

dinput8.dll is Microsoft DirectInput, the Windows library games use to read keyboards, mice and controllers. The copies in System32 and SysWOW64 are genuine and safe. A dinput8.dll next to a game's .exe is never Windows' copy: it is a loader that a mod, trainer or cheat placed there, and it runs inside the game.

Prefer to do it yourself? The manual steps follow.

Genuine Windows file

dinput8.dll in C:\Windows\System32 (and C:\Windows\SysWOW64 on 64-bit Windows) is a genuine Microsoft file and is safe. Windows keeps it so that games built on DirectInput can read input devices. Do not delete or replace it: those games would stop starting.

Games look for dinput8.dll in their own folder before System32, so any file with this name next to a game's .exe is loaded and run by the game. Mod loaders use this on purpose; cheats, trainers and repackaged mods can carry harmful code the same way. Check the folder, the signature and the hash.

Description in the file
Microsoft DirectInput
What it is
The DirectInput 8 library: keyboard, mouse, joystick, wheel and force feedback input for games, a legacy API that Windows keeps for older games
Genuine folders
C:\Windows\System32\dinput8.dll and, on 64-bit Windows, C:\Windows\SysWOW64\dinput8.dll for 32-bit programs
Not genuine by location
Any dinput8.dll in a game folder, next to an .exe, in Downloads, Temp or AppData. Windows never puts it there
Size of the genuine file
Windows 11 24H2 and later: 266,240 bytes (64-bit). Windows 10 22H2: 221,696 bytes (64-bit), 171,008 bytes (32-bit)
Newest indexed build
Windows 11 26H1: 10.0.28000.2336, delivered by KB5127646 on 13 October 2026
Known Microsoft builds
46 builds across 20 Windows releases in Winbindex
Is it a process
No. It is a library loaded into the games and programs that use DirectInput, so it never appears on its own in Task Manager

What dinput8.dll does, and why games load other copies of it

dinput8.dll is the DirectInput 8 library, part of Windows since the DirectX 8 era. A game that uses DirectInput loads it to read the keyboard, the mouse, joysticks, steering wheels and force feedback devices. Microsoft's documentation treats DirectInput devices as legacy and presents XInput and GameInput as the interfaces for new games, but Windows 10 and Windows 11 still include and update dinput8.dll so that older games keep working.

The file is also the most popular name for proxy DLLs. Because dinput8.dll is not one of the libraries Windows always takes from System32, a game looks in its own folder first. A tool author builds a library with the same name and the same exported functions, puts it next to the game's .exe, and the game loads it at start. The proxy forwards the real input calls to the Windows copy, so the game works normally, and in the same moment runs the tool's own code inside the game.

Mod loaders use this to load plugin files (often .asi or .dll files from a plugins folder), graphics injectors use it to add effects, and trainers and cheats use it to read and change the game's memory. The code runs with the same rights as the game and your user account: it can read and write files, open network connections and start other programs. A legitimate loader does only what its plugins ask; a malicious one, or a malicious plugin it loads, can steal saved passwords, browser sessions and game accounts in the same way.

So the question is never whether dinput8.dll is a virus, but which dinput8.dll you are looking at. The two copies in the Windows folders are Microsoft's. A copy in a game folder is whatever the person who made it put into it.

About .dll files. A .dll file is a library: it cannot run on its own and is loaded into a program's process. It does not appear in Task Manager under its own name; Process Explorer shows which process loaded it.

How a proxy dinput8.dll in a game folder loads before the Windows copy in System32 and forwards input calls to it
The game takes dinput8.dll from its own folder first; the proxy runs its own code, then passes input to Windows' copy.

How to tell a game folder dinput8.dll from Windows' copy

A DLL is not listed in Task Manager as a process, so use the folder, the file properties, PowerShell or Process Explorer.

  1. Where the file is. List every copy with the command below. C:\Windows\System32 and C:\Windows\SysWOW64 are Windows' copies. Every other path, usually a game folder, is a proxy that something installed. If you did not install a mod, trainer or tool for that game, find out what did.
    Get-ChildItem C:\ -Recurse -Filter dinput8.dll -ErrorAction SilentlyContinue | Select-Object FullName, Length, @{n='Description';e={$_.VersionInfo.FileDescription}}
  2. The Description field and the size. Right-click the file, Properties, Details. The genuine file says Microsoft DirectInput, with Microsoft Corporation as the company and a Windows version number such as 10.0.26100. A proxy usually shows another description, no company or a version that is not a Windows build, and a size that matches no Windows release in the facts table. A proxy can copy these fields, so this check only rules files out.
  3. The digital signature. Windows' copy is signed by Microsoft, often through a catalog rather than inside the file, so the Properties window may show no Digital Signatures tab. PowerShell reads both kinds. Valid with a Microsoft signer means genuine; NotSigned or another signer on a game folder copy means a third-party loader.
    Get-AuthenticodeSignature 'C:\path\to\game\dinput8.dll' | Format-List Status, SignatureType, SignerCertificate
  4. What the game loads. Start the game, then open Process Explorer from Microsoft Sysinternals, choose Find > Find Handle or DLL, type dinput8.dll and press Search. The path column shows which copy the game really loaded. A game folder path means the proxy is running inside the game.
  5. Compare the hash with Microsoft's builds. Use the checker on this page: it computes the SHA-256 in your browser and compares it with the known Microsoft builds. A game folder copy that matches is an unneeded Windows copy; one that does not match is a third-party file.
  6. Scan before you trust or delete. Run Microsoft Defender's full scan, and the offline scan if a detection keeps coming back. A detection on a game folder dinput8.dll is not proof either way, because loaders are flagged for how they work, so weigh it with where the mod came from.

A match to a Microsoft build proves the file is Microsoft's. A file that does not match is not automatically malicious: most game folder copies are mod loaders that do exactly what their authors say. What decides is whether you chose to install that mod, from where, and whether the file is the one its author published.

Genuine dinput8.dll compared with a game folder proxy: folder, Description field, size and Microsoft signature
Folder, Description, size and signature tell Windows' dinput8.dll from a loader that only borrows its name.

Check your dinput8.dll

Choose the dinput8.dll you are unsure about. Its SHA-256 checksum is calculated in your browser and compared with the 62 Microsoft builds indexed from Windows releases and updates.

or drop the file here

The file stays on your computer. Nothing is uploaded: the checksum is computed locally.

Warning signs and what they mean

What you seeWhat it means
dinput8.dll in a game folder although you never installed a mod, trainer or tool for that gameSomething else put it there: a repackaged or cracked game, a bundled installer, or malware that uses the game as a launcher. Treat it as not genuine and scan.
dinput8.dll in Downloads, Temp, AppData or another folder with no game in itNo game will load it from there by accident. A copy outside a game folder and outside the Windows folders has no normal reason to exist.
The mod came from a repack, a crack, a file-sharing link or a stranger in a chat, not from its author's own pageProxy loaders are easy to repackage with extra code. Download loaders and plugins only from the author's own release page or a mod site with versioned uploads.
The Description is not Microsoft DirectInput, but the file claims Microsoft Corporation and has no valid Microsoft signatureA file that pretends to be Windows' copy. Legitimate loaders do not need to hide; one that imitates Microsoft's details deserves a close look.
Accounts logged out, new sign-in alerts or password resets after installing a mod or trainerPossible theft of browser sessions or saved passwords. Remove the mod, scan, and change passwords from another device.
The game is blocked by its anti-cheat or refuses to start online with the file presentAnti-cheat software watches for proxy DLLs in game folders. Remove the file before playing online, or your account can be restricted.
Microsoft Defender names dinput8.dll in System32 or SysWOW64Rare. Check the hash with the checker on this page and run the offline scan before anything else; repair the file with sfc /scannow if it does not match.

Everyday problems with dinput8.dll

My security software flagged dinput8.dll in a game folder

A detection on a mod loader is common, because a proxy DLL that runs code inside another program behaves the way malware does. It is not automatically a false alarm either: malicious mod packages and cheats use the same file name.

Decide by origin. If you installed a known loader from its author's own release page and the file matches what was published there, the detection is about the technique. If you do not know where the file came from, leave it quarantined.

Removing the game folder copy never harms Windows: the game falls back to the genuine copy in System32 and only the mods stop loading.

I want to remove a mod or trainer that uses dinput8.dll

Delete or rename dinput8.dll in the game folder, together with the files that came with it: usually an .ini file, .asi files, and a plugins or scripts folder. The game's own verify option does not remove extra files, so do this by hand.

If the tool had an installer, uninstall it from Settings, Apps first. Then scan with Microsoft Defender.

Two dinput8.dll files are in the Windows folders

That is normal on 64-bit Windows: System32 holds the 64-bit library and SysWOW64 the 32-bit one. Both are genuine Microsoft files with different sizes and hashes.

If one of them is damaged or replaced, repair it with Windows' own tools, run as administrator one after the other:

sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth

dinput8.dll versions by Windows release

The newest build indexed for each release, and the update that delivered it. 46 Microsoft builds in total are known.

Windows releaseFile versionDelivered bySize, 64-bit
Windows 11 26H110.0.28000.2336KB5127646, Oct 13, 2026266,240 bytes
Windows 11 25H210.0.26100.8521KB5127648, Oct 13, 2026266,240 bytes
Windows 11 24H210.0.26100.8521KB5127648, Oct 13, 2026266,240 bytes
Windows 11 23H210.0.22621.1original release245,760 bytes
Windows 11 22H210.0.22621.1original release245,760 bytes
Windows 11 21H210.0.22000.1KB5044280, Oct 8, 2024241,664 bytes
Windows 10 22H210.0.19041.1original release221,696 bytes
Windows 10 21H210.0.19041.1original release221,696 bytes
Windows 10 21H110.0.19041.1original release221,696 bytes
Windows 10 20H210.0.19041.1original release221,696 bytes

Known versions of dinput8.dll

A public DLL catalogue lists 16 versions of dinput8.dll, from 4.8.0.400 to 10.0.15063.608, by Microsoft Corporation. Its copies are uploaded by users and not verified, so a checksum match identifies the version, while the digital signature tells you whether the file is genuine. Even a genuine file clears only the file, not the folder: attackers ship genuine libraries next to a program they abuse, so where the copy sits still decides whether it is safe.

Every version with its checksums, and how to fix dinput8.dll errors on uGetFix

Questions people ask

Is dinput8.dll a virus?

No, not the Windows copy. dinput8.dll is Microsoft DirectInput, and the files in System32 and SysWOW64 are genuine Windows libraries. A dinput8.dll in a game folder is a different file with the same name, usually a mod loader. Most are harmless tools, but cheats, trainers and repackaged mods can carry harmful code under this name, so check where it came from and compare its hash.

Why is there a dinput8.dll in my game folder?

Because a mod loader, graphics injector, trainer or cheat put it there. Games load dinput8.dll from their own folder before the Windows copy, so tools use the name to get their code running inside the game. Games do not ship their own copy of this Windows file. If you did not install anything like that, treat the file as suspicious and scan the PC.

Can I delete dinput8.dll?

Delete or rename a copy in a game folder whenever you like: the game falls back to Windows' own copy, and only the mods that need the loader stop working. Do not delete the copies in System32 or SysWOW64. Every game that reads input through DirectInput needs them, and Windows treats them as protected system files.

What can a malicious dinput8.dll do?

Anything the game itself can do. The proxy runs inside the game with your user account's rights, so it can read and write your files, read browser data and saved passwords, open network connections and start other programs, while still passing input to Windows so the game looks normal. That is why the origin of a loader and its plugins matters more than the name.

Is it safe to use a mod loader that is named dinput8.dll?

It is as safe as its source. A widely used open-source loader downloaded from its author's own release page is a normal modding tool. The same file name from a repack, a cracked game, a video description link or a chat message can contain anything. Keep loaders updated, never use them in online games with anti-cheat, and remove them when you stop modding.

How do I check if my dinput8.dll is genuine?

Check three things. The folder: only System32 and SysWOW64 hold Windows' copy. The signature: Get-AuthenticodeSignature in PowerShell shows Valid with a Microsoft signer for the genuine file. The hash: the checker on this page compares the SHA-256 with 46 known Microsoft builds. A game folder file that fails these checks is a third-party loader, not Windows' file.

Why do games still use DirectInput?

Many older games were written for it, and wheels, flight sticks and other non-Xbox controllers are often read through DirectInput. Microsoft's documentation treats DirectInput devices as legacy and presents XInput and GameInput as the interfaces for new games, but Windows keeps and updates dinput8.dll so that existing games and devices keep working.

Sources

Version data read on Oct 14, 2026.

Questions and experiences

Ask about this page: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

5,565 members already hereReading, writing, commenting and voting. 0 verified · 290 joined this year