Solved

Limit of characters in a Registry Value

Posted on 2003-11-18
2
161 Views
Last Modified: 2013-11-20
I just wonder, how many characters can a value contain in the registry?

Thanks in advance.
0
Comment
Question by:Nick_72
2 Comments
 
LVL 9

Accepted Solution

by:
Priyesh earned 100 total points
ID: 9775793
Here's what MSDN says: under the topic : "Registry Element Size Limits"

The following are the size limits for the various registry elements.

The maximum size of a key name is 255 characters.
The maximum size of a value name is as follows:

Windows Server 2003 and Windows XP:  16,383 characters

Windows 2000:  260 ANSI characters or 16,383 Unicode characters.

Windows Me/98/95:  255 characters

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. The maximum size of a value is as follows:
Available memory. (**)

Windows Me/98/95:  16,300 bytes. There is a 64K limit for the total size of all values of a key.


0
 
LVL 9

Author Comment

by:Nick_72
ID: 9775845
Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question