Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
Registry
Registry Reference
 Registry Element Size Limits

  Switch on low bandwidth view
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: 5/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker