| 1. |
Solve : REG ADD question. I'm stumped.? |
|
Answer» Hello, REGEDIT4Dias, I'm not sure what you mean... what I have above is not a valid registry file when saved as .reg? Could you break it down for me a good bit more because I'm unsure where to start from what you posted. Pardon me as I am only a novice. This is how I interpreted your post for me to start... but this didn't add anything to the registry, so I take it this is not what you want me to try: REGEDIT4 [HKLM\SYSTEM\CurrentControlSet\Control\FileSystem] @="NtfsMemoryUsage" I'm using xp home if that matters. I could not get the file starting REGEDIT4 to work! However, Microsoft has a page of useful help at this address http://support.microsoft.com/kb/310516 Which you could have found easily using Google! (Have you heard of Google?) Quote A .reg file has the following syntax: Quote RegistryEditorVersion is either "Windows Registry Editor Version 5.00" for Windows 2000, Windows XP, and Windows Server 2003, or "REGEDIT4" for Windows 98 and Windows NT 4.0. The "REGEDIT4" header also works on Windows 2000-based, Windows XP-based, and Windows Server 2003-based computers. Quote Blank line is a blank line. This identifies the start of a new registry path. Each key or subkey is a new registry path. If you have several keys in your .reg file, blank lines can help you to examine and to troubleshoot the contents. Quote RegistryPathx is the path of the subkey that holds the first value you are importing. Enclose the path in square brackets, and separate each level of the hierarchy by a backslash. For EXAMPLE: Quote DataItemNamex is the name of the data item that you want to import. If a data item in your file does not exist in the registry, the .reg file adds it (with the value of the data item). If a data item does exist, the value in your .reg file overwrites the existing value. Quotation marks enclose the name of the data item. An EQUAL sign (=) immediately follows the name of the data item. Quote DataTypex is the data type for the registry value and immediately follows the equal sign. For all the data types other than REG_SZ (a string value), a colon immediately follows the data type. If the data type is REG_SZ , do not include the data type value or colon. In this case, Regedit.exe assumes REG_SZ for the data type. It appears that you are trying to modify ntfs performance by using a registry tweak. You need to be aware that the tweak you propose to use will only have any useful effect if you have 2 GB or more of RAM. If you have LESS, ntfs performance will be badly REDUCED! However, this would be the reg file format: dword values: 00000001 normal (default) setting 00000002 enhanced (performance) setting if you have > 2 GB RAM Code: [Select]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "NtfsMemoryUsage"=dword:00000002 Of course I have heard of google, Dias and despite what you think I was using it a lot before I resorted to coming here. I didn't come here to get someone else to do all the work for me. Here's what happend... I had success modifying existing dword values and when I needed to create one that wasn't already there I *censored*umed I had to use completely different syntax. I had just figured it out before you layed into me. Thanks for the help Dias... you are kind of on EDGE but your knowledge is extensive and appreciated. Happy New Year. You are right; I had no need to patronise you. I apologise. Blame it on last night's Argentinian Malbec.No problem. |
|