Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to determine and tweak the file handle limit in Windows?

share|improve this question
Go on, I'll bite, what version? 98 and below is was the 'files=' statement in config.sys ;) – Chopper3 Feb 2 '10 at 17:14
How about Win XP? – Steve Feb 2 '10 at 17:15
In which case this is a question - that said take a look here;… – Chopper3 Feb 2 '10 at 17:19
You'd be surprised how many Win98/XP/2000 "servers" are still floating around (Lawyers Never Upgrade :-( ) – voretaq7 Feb 2 '10 at 17:38
up vote 4 down vote accepted

For crusty old DOS and Win16 programs:

Windows 98 and earlier: FILES= statement in config.sys

Windows NT/2000/XP (Probably Vista & 7): FILES= statement in \Windows\System32\config.nt (Possibly also a registry setting?)

For Windows native programs (Win32 API): Shouldn't Apply (Per MSDN, there is no fixed file handles limit on the Win32 API, unless I'm misunderstanding).

If you're hitting the system global (kernel) file handle limit you have bigger issues to address.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.