Fix ERROR_SEM_TIMEOUT 0X00000079 on Windows
This error means a program waited too long for a resource to unlock. It's almost always a driver or broken app issue, not hardware.
When does this error show up?
You'll see ERROR_SEM_TIMEOUT (0X00000079) most often when a program tries to access a printer, a USB device, or a network share and then just gives up. The app freezes for 30-60 seconds, then throws this error. I've fixed it plenty of times on Windows 10 and 11 — usually after a driver update or after plugging in some cheap USB hub.
What actually causes it?
A semaphore is just a lock that says "hey, I'm using this resource, wait your turn." When the lock isn't released in time — because a driver is hung, a service is stuck, or a device went to sleep — the waiting program bails out with this error. The culprit here is almost always a buggy driver or a misbehaving Windows service. Hardware failure is rare but possible.
Fix it in 4 steps
- Kill the hung process — Open Task Manager (Ctrl+Shift+Esc), find the app that crashed, right-click it, and select End task. If you can't find it, restart the computer. This clears the locked semaphore.
- Update or roll back the driver — If the error happened right after plugging in a USB device or installing new software, go to Device Manager. Right-click the device (like the printer or USB controller), select Properties > Driver > Roll Back Driver. If that's grayed out, check the manufacturer's website for a newer driver. Don't bother with Windows Update for this — it rarely has the latest.
- Increase the default semaphore timeout — This is the registry tweak that saved my sanity more than once. Open Regedit as admin, go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters. If you don't seeSemTimeout, create a DWORD (32-bit) with that name. Set its value to 60 (decimal). That gives 60 seconds instead of the default 30. Reboot. - Restart the Print Spooler service — If the error involves a printer, open Services.msc. Find Print Spooler, right-click, select Stop. Then right-click again, select Start. This flushes stuck print jobs. If it keeps happening, set the service to Automatic (Delayed Start) in properties.
Still failing? Check these
If you've done all that and it's still broken, run sfc /scannow from an admin command prompt. If that finds corrupt files, run DISM /Online /Cleanup-Image /RestoreHealth and reboot. I've seen a bad Windows system file cause phantom semaphore locks.
Also, test the hardware. Try the device on another PC. If it works there, your machine's USB controller or chipset driver is likely fried. Update the chipset driver from the motherboard or laptop manufacturer's site — not from Windows Update.
One last thing: if you're using an external hard drive, check its power supply. Undervolted drives can drop out mid-transfer, leaving orphaned semaphores. Swap the cable or use a powered USB hub.
Was this solution helpful?