Solved

Limit of characters in a Registry Value

Posted on 2003-11-18
2
160 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
canBalance challenge 34 98
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 104
Not needed 13 119
moto 4g phone enable finger print 4 26
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

829 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