Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Limit of characters in a Registry Value

Posted on 2003-11-18
2
Medium Priority
?
166 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 400 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

885 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