Registry Element Size Limits

The following table identifies the size limits for the various registry elements.

Registry ElementSize Limit
Key name255 characters
Value name16,383 characters
Windows 2000:  260 ANSI characters or 16,383 Unicode characters.
ValueAvailable memory (latest format)

1 MB (standard format)

TreeA registry tree can be 512 levels deep. You can create up to 32 levels at a time through a single registry API call.

 

Long values (more than 2,048 bytes) should be stored as files with the file names stored in the registry. This helps the registry perform efficiently.

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker