Home > Windows >
Registry examples | Sitemap Search |
|
Sections Membership Features
Recent comments
very difficult by alfin Taking the credit for another persons work ? by curious dude. |
Registry examplesPosted by martin on 1 Jun 2002. If you are new to the Windows registry please read first the registry tips and tricks which have been moved to their own page. It is also a good one to start if you want some info not just examples. Some useful registry tweaksBy default Windows does not unload dll files a program has used after it has been closed to speed up a possible restart of the program, by setting this value to 1 you can change this behavior, the default is 0. [HKEY_LOCAL_MACHINE\Software\Microsoft\ -> Windows\CurrentVersion\explorer] "AlwaysUnloadDLL"="1" This can be used to control whether the CPU is cooled down when not in use (idle) if you set this DWORD to 1 or not. [HKEY_LOCAL_MACHINE\System\CurrentControlSet\ -> Control\CPUIdle] "Idle"=dword:00000001 Here you can find some Windows settings like the Drag Full Windows option or Font Smoothing, also the Mouse Double Click Rectangle size and the Menu Show Delay (animation if greater than zero, time is specified in milliseconds). The next two values specify that when an application wants the focus (for user input for example) it should not take it but rather than that only flash in the taskbar (0x0a = 10 times). The AutoEndTasks corresponds to the behavior of Windows when shutting down or restarting and the next two values (in milliseconds) control the time Windows gives an application to close before displaying the End Task dialog, the first is on a user End Task request and the second when shutting down/restarting. [HKEY_CURRENT_USER\Control Panel\Desktop] "DragFullWindows"="0" "FontSmoothing"="0" "DoubleClickHeight"="10" "DoubleClickWidth"="10" "MenuShowDelay"="0" "ForegroundLockTimeout"=hex:98,3a,00,00 "ForegroundFlashCount"=hex:0a,00,00,00 "AutoEndTasks"="1" "HungAppTimeout"="2000" "WaitToKillAppTimeout"="10000" NoDriveTypeAutoRun prevents data CDs and audio CDs from autostarting, NoSaveSettings wouldn't allow changing the desktop and NoStartBanner prevents the "Click here to begin" marqueue starting Windows. NoExpandedNewMenu changes the default menu in IE to only a single New which opens a new explorer window. The following settings are basically for the desktop and Start Menu and it should not be a problem to anybody who can understand the difference between a PC and a vacuum cleaner what they do. [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\ -> CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=hex:bd,00,00,00 "NoSaveSettings"=hex:00,00,00,00 "NoStartBanner"=dword:00000001 "NoActiveDesktop"=hex:01,00,00,00 "NoRecentDocsHistory"=hex:01,00,00,00 "NoActiveDesktopChanges"=dword:00000001 "NoRecentDocsMenu"=dword:00000001 "NoFavoritesMenu"=dword:00000001 "NoNetHood"=hex:01,00,00,00 "NoExpandedNewMenu"=dword:00000001 "NoControlPanel"=dword:00000001 "NoInternetIcon"=dword:00000000 "NoDesktop"=dword:00000000 "NoAddPrinter"=dword:00000001 "NoDeletePrinter"=dword:00000001 "NoPrinterTabs"=dword:00000001 "NoNetConnectDisconnect"=dword:00000001 "NoSetFolders"=dword:00000001 "NoSetActiveDesktop"=dword:00000001 "NoWindowsUpdate"=dword:00000001 "NoFolderOptions"=dword:00000000 "NoSetTaskbar"=dword:00000000 "NoFind"=dword:00000001 The DriveWriteBehind specifies the size of the write behind cache I would recommend seting it to the masettingvalues unless you have less than 64MB RAM. NameNumericTail controls the DOS compatible name (8.3) a value of 0 means ProgramF rather than Progra~1, Note: Only files created after setting this are to be affected (this has to be set to hex:01 if you want to install a new copy of Windows and you run setup from within Windows). The NameCache and PathCache are used to determine the number of files and folders to be cached. ReadAheadThreshold sets the read-ahead buffer size, DisableLowDiskSpaceBroadcast denies the Low Space dialog from popping up for drives A,C and D. [HKEY_LOCAL_MACHINE\System\CurrentControlSet\ -> Control\FileSystem] "DriveWriteBehind"=hex:ff,ff,ff,ff "NameNumericTail"=hex:00 (also dword is acceptable) "NameCache"=hex:ff,ff,00,00 "PathCache"=hex:ff,00,00,00 "ReadAheadThreshold"=hex:00,00,01,00 "DisableLowDiskSpaceBroadcast"=dword:0000001d "ContigFileAllocSize"=dword:00000800 This setting removes to "Shorcut to " prefix for new shortcuts. [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] "link"=hex:00,00,00,00 By setting to 1 the following values you can disable the access to the Passwords & Users Control Panel applets. [HKEY_CURRENT_USER\SOFTWARE\Microsoft\ -> Windows\CurrentVersion\Policies\System] "NoSecCPL"=dword:00000001 "NoProfilePage"=dword:00000001 "NoPwdPage"=dword:00000001 The next tweaks allow you to disable the automatic codec download which media player tries if it does no find the required for playback, also you can change the window titlebar of media player and internet explorer with the following keys. [HKEY_CURRENT_USER\SOFTWARE\Policies\ -> Microsoft\WindowsMediaPlayer] "NoCodecDownload"=dword:00000001 "TitleBar"="Media Player" [HKEY_LOCAL_MACHINE\Software\Microsoft\ -> Internet Explorer\Main] Window Title"="Internet Explorer" CommentsAdd new selection to right-click menu by Ryan (magiklxl@aol.com) on 5 Jul 2002 4:23pm GMT I first must say that I'm very impressed with all the information you've provided throughout your website, it has given me plenty of information I could use! And since you seem very proficient with Registry settings, I was wondering if you could help me out with a certain problem I'm having: I want to add a selection to the right-click menu when highlighting text that will take that text and send it to a particular website. Well, what I mean is this: Say I highlight the number 123 and right-click on it. I want to have a selection that, when clicked, would copy the 123 and open a webpage such as "http://www.nothing.com?info=123". Is it possible to do something like that or would it require much more than a registry edit? I've seen a few right-click menus that will go directly to a website, but nothing that will do what I would like it to do. If you have any suggestions, comments, or even flames you could offer me I would greatly appreciate it, thanks for all your info and help! Sincerely, Ryan right click menu by martin on 5 Jul 2002 11:15pm GMT Sorry Ryan but I don't really understand what do you mean by "highlighting text", is it in a particular application or you want it for all apps? I don't think I can do that for all apps. security registry by atul wadyalkar (atul500@indiatimes.com) on 8 Jul 2002 7:18am GMT very good info..pls. can u mail me regularly info..reguarding registry security by atul wadyalkar (atul500@indiatimes.com) on 8 Jul 2002 7:26am GMT Hello Friend , I want to know few things reguarding registry.. If i have IE and I have net connection is it possible to not allow user to browse internet..what is the reg setting can u help me ? ur friend Atul registry by martin on 8 Jul 2002 11:39pm GMT Sorry Atul and all the others, for the last year I've used Linux/NetBSD most of the time and have forgotten a bit the Windows tricks. This info is found on the Windows 98 SE CD in two .inf files called dhcp_off and dns_off, I hope I've converted it right: [HKEY_LOCAL_MACHINE\Software\CurrentControlSet\Services\ This won't disable the connection sharing (I suppose) but without DNS and DHCP they won't be able to use it anyway. Always Unload DLL's by Muse (webmistress@psychedelic-muse.com) on 16 Sep 2002 8:50pm GMT Hi, I have Windows 98SE, and I don't have this registry key. [HKEY_LOCAL_MACHINE\Software\Microsoft\ -> Windows\CurrentVersion\explorer] "AlwaysUnloadDLL"="1" What would be the key for my version of Windows? Please advise. Thanks! Re: Always Unload DLL's by martin on 17 Sep 2002 4:42pm GMT Create the key if you don't have it. Recycle Bin Confirm delete by Tyler (ttoles@attglobal.net) on 13 Oct 2002 5:32am GMT Martin, Surely there is a registry tweak to get rid of the confirmation dialog box when emptying the recycle bin. (not sending to the RB) Recycle Bin by martin on 13 Oct 2002 7:44am GMT You can right click the recylce bin, there is a properties menu. From there you can choose if you like or don't like the dialog box. What are 2 registry values and examples by () on 15 Oct 2002 5:14am GMT the subject says it all What do you mean by martin on 15 Oct 2002 7:22am GMT Can you explain in more details. I just don't get it. helping desk by vivekanand (vivekanand_pandey@hotmail.com) on 16 Oct 2002 7:16am GMT good for intermideate users thanks for providing registry guide ForegroundLockTimeout & ForegroundFlashCount by VaLyoMeT () on 20 Oct 2002 1:35am GMT That keys don't solve my problem...how can I disable the flashing? Beacuse I have the taskbar set to "autohide" & "always on top", and every time it flashes, it auto-unhides and puts itself on top of everything. Any ideas ? Ups...sorry... by VaLyoMeT () on 20 Oct 2002 1:44am GMT hadn't finish the post...that taskbar is getting on my nerves...well...how to disable flashing...or even better...how to not disable flashing but make the taskber stay where it should...HIDDEN! :) Mayday,Mayday. ;) Re: ForegroundLockTimeout & ForegroundFlashCount by martin on 20 Oct 2002 8:11am GMT I have no idea, I think it worked for me... at least it didn't caused me problems. Excellent by dan (vinylrawkstar@aol.com) on 30 Dec 2002 12:09am GMT Any chance you know where in the registry the recycle in size is set? Like 10% or whatever? registry updates by KyleC on 24 Feb 2003 11:29pm GMT Do you know if the registry holds the current open files in MS Word, Excel, and other programs? ForegroundLockTimeout by mortis van berg (mortis@newcougar.org) on 31 Mar 2003 8:03pm GMT Change the ForegroundLockTimeout to 0 to stop the flashing. re boot by Natalie (natanddan@hotmail.com) on 12 Apr 2003 10:44pm GMT Eveytime I restart my pc, it says i must close all programs first but the problem is that they are all closed. this just recently happeneed. The file that it is asking me is called cpuidle...what is it and how can i get rid of it asking me to turn it off. Thanks Toolbars by jimbo () on 24 Apr 2003 2:00pm GMT I heard that you can change the start button in windows to what ever you want is this a reg edit or it can be done from somewhere else.. alway on top by (ekanaley@lancasterlibraries.org) on 6 May 2003 4:41pm GMT Can the option always on top be set to off from with in the registry without using the Taskbar and Start Menu Properties MACRO SECURITY FOR EXCEL by STARFOX (BMASSA01@HOTMAIL.COM) on 8 Aug 2003 7:37pm GMT ANYONE KNOW WHICH REG KEYS ARE USED TO SET THE MACRO SECURITY WARNING FOR EXCEL? ALSO, DO YOU KNOW HOW TO CHANGE REG SETTINGS USING CODE? THANKS Auto line up icons ? by NiO_ShOoTer () on 11 Sep 2003 2:26am GMT Hi i am registry freak man (sometimes i play with the registry editor hours and hours) :) But my problem is how i can make the "line up icons" to automode on Win9x/Me? Question by seraj (seraj_kh@i8group.net) on 27 Sep 2003 9:02am GMT contact me please immediately require help by sailesh kumar panda (sailesh_panda2000@yahoo.com) on 7 Nov 2003 12:11pm GMT i have to write a program to generate log file for the network printer using VC++ WIN32 apis . how to do that one. please help me in this regard else by ajay (ajaywith_u4ever@yahoo.co.in) on 23 Nov 2003 4:42am GMT can u explain me briefly i don't get it log file for printer by sailesh kumar (sailesh_panda2000@yahoo.com) on 25 Nov 2003 12:33pm GMT i m writing a module of a network project in which i have to generate log file for local printer,network printer & remote printer . the log file should contain time,name of machine from where print command has generated,full path of file printed,date etc.the application should run in all windows platform. first i have to enumerate no of printers.then the no of jobs for each printer in queue & for each printer i have to generate log file. required technology is VC++,C++,C,WIN APIs. please try soon to give code to me as soon as possible .... yours sailesh log file for printer by sailesh kumar (sailesh_panda2000@yahoo.com) on 25 Nov 2003 12:33pm GMT i m writing a module of a network project in which i have to generate log file for local printer,network printer & remote printer . the log file should contain time,name of machine from where print command has generated,full path of file printed,date etc.the application should run in all windows platform. first i have to enumerate no of printers.then the no of jobs for each printer in queue & for each printer i have to generate log file. required technology is VC++,C++,C,WIN APIs. please try soon to give code to me as soon as possible .... yours sailesh macros by (greg.wall@suttoncentre.notts.sch.uk) on 5 Dec 2003 9:08am GMT does any one know how to set the registry key for security warning on macros in excel? win98se upgrade by Don (dowahlstrom@uintacounty.com) on 9 Dec 2003 5:08pm GMT I recently upgraded a win95 to windows 98se. After the upgrade my when trying to print to an hp1200 I get the error Unable to write to lpt1: check connection cable etc. I can print from dos. I have reloaded the drivers, updated bios and motherboard with latest drivers. Is my registry hosed and if so which part. Thanks retrieve windows services through registry in vc++ by anilkumar (anilkumarreddi@yahoo.com) on 24 Dec 2003 12:11pm GMT i am doing project in vcp , i want to retreieve the windows services through registry program. using vc++ Dword by Dinesh (sdinesh79@yahoo.com) on 5 Jan 2004 8:58am GMT I am new to registry and its features.May I know whats a dword and can u please give me an example registry by priyanka (priyanka_n_d@yahoo.com) on 10 Jan 2004 2:08pm GMT hi martin, Im an engineeering gratuate &im doing a project in VC++. my project conatins a module wherein i need to deploy my component(project created) in task bar( near start button-desktop). the component should work the same way as Addresses link is found when u click toolbars(right click on taskbar). the component provides employee deatils of a company as floating popup. in the same way as "addresses"(rightclick on taskbar->toolbar->Address) provide us with the link to the url when we type in the combo box. i need to know the mechanism how we can deploy a component into desktop using windows registry &vc++. thks for ur help pl. reply me soon bye priyanka question by () on 10 Feb 2004 1:14pm GMT Can the option always on top be set to off from with in the registry without using the Taskbar and Start Menu Properties always o top by kazem mortazavi (kazem_mortazavi@yahoo.com) on 10 Feb 2004 1:50pm GMT hello.excuse me . i want to know : where is the setting of Taskbar (always on top , show clock,...) in the registry . I want to change them in my program. please help Me... THANKS A LOT Writing Reg keys using COM in VC++ by Balaji (kgvb@yahoo.com) on 19 Feb 2004 6:26pm GMT I'm doing an application which needs the creation of pop-up menu, reading & writing keys in to the Registry. Could you please help in doing that in COM. IIS windows 2003 server by Magohr (magnus.ohrman@svenskaspel.se) on 27 Feb 2004 9:57am GMT Is the alwaysunloaddll-thing possible for IIS under Windows2003 aswell??? Flashing Taskbar by The_Cuteness () on 2 Mar 2004 6:38pm GMT Hey, I set the ForegroundLockTimeout to 0 to stop the flashing. But the window remains highlighted on the taskbar. Is there a way to get rid of the highlighting all together?? Can someone please help? =) Cannot import sys reg box by Rich (rich@2trom.com) on 10 Mar 2004 6:35pm GMT I have an IBM laptop w/windows 98se.. When I turn it on there appears a rectangular box with a red circle/white X ... the box has a title "Registry Editor" and the text sez: "Cannot import sys.reg:Error opening the file. There may be a disk or file system error." I tried everything to get rid of this box..once I click it OK everything works fine, but does anyone have any suggestions on how to get rid of it. Many thanks, Rich shortcuts by ed o (eso33@eudoramail.com) on 29 Mar 2004 4:51pm GMT I'm having a hard time booting up my computer since I've been getting several ".lnk" messages and alays ave to restart but still keeps getting those shortcut error messages. reg. problem by milind keny (milind_ke@hotmail.com) on 13 Apr 2004 10:01am GMT I have one reg. problem, When i start my computer,at the startup it gives me reg.error "cannot import sys.reg:Error opening the file.There may be a disk or file system error." I didn`t get soluation on this. If u know this please E-mail me. Thanks registry by Nadeem (shaikhnad123@rediffmail.com) on 19 Apr 2004 10:02am GMT dear sir can i change reg at perticular location without restarting i m using win2000 and vb bye nadeem HELP!!! by Jeremy (chinookfixer@msn.com) on 26 Apr 2004 12:31am GMT I believe it may be Spyware, but im not sure..and im not extremly knowledable about computers...what is happening is if i type a web address into the web address bar...it will not load the page..instead it reverts itself back to www.smart-finder.com . I cant do anything without using their rediculous search engine..and i cant select internet options from the tools menu in internet explorer..it says "contact system administrator" i told a friend about this and he said it sounds like a Registry problem..please help me if you have ever heard of this...i have even tried system restore and it said it could not restore settings on my computer...also i have talked to MSN tech support and they were on the phone with me for hours trying to figure this out...they suggested downloading a spyware killer software...and when i tried downloading it internet explorer kept resetting its page back to that smart finder page...i am boggled..and so are my friends...if you have heard of this please help me registry examples by arun garg (mail2lovearun@yahoo.com) on 30 Apr 2004 1:32pm GMT we can change registry Office 2003 by Jorge (jorgesbanana@hotmail.com) on 11 May 2004 7:00am GMT I have office 2003 and need conf code. some sort of generator. is there any way to stop the count down for office 2003 so i don't get locked out Hex Dword by Michael J. Khayan (khayan@cantv.net) on 29 May 2004 11:34pm GMT Dear Martin, I have Windows98SE and when I am trying to set the ForegroundLocktimeout and ForegroundFlashCounter in the registries but they use the Hex Dword convention... What is the order I have to put the numbers? what is the maximum value I can use for both? Why if U use 10 as the flash count U do not put 00 00 00 0a? why the 0a first and not last? What does it represent the 98 3a 00 00 in decimal value? I will appreciate your prompt and kind reply to these requests of info. Thank You!!! Auto starting an application by Shekar (ambharish@rediffmail.com) on 11 Jun 2004 9:37am GMT How could registry help me in autostarting an application. i doesnt want to put them in startup folder or something like that sys.reg error by Will Fleming (wtfleming72@yahoo.com) on 20 Jul 2004 8:56pm GMT I have one registry problem. When I start my computer it gives the following message..."cannot import sys.reg: Error opening the file.There may be a disk or file system error." I would be grateful for any assistance or suggestions. Thanks so much! Will Taskbar by Agnel (agneld@maricoindia.net) on 8 Aug 2004 6:48am GMT How can i put another picture on the start button instead of the windows flag which is on the start button Registry Problem by Akhil (akhil_agarwal@rediffmail.com) on 18 Aug 2004 4:54am GMT Hi How can I create a Menu and its submenu below the Open option on the menu which pops up when we right click on a file using Windows 2000 registry. akhil sys.reg error by Phaitoon S. (phaitoon@doleasia.com) on 31 Aug 2004 3:30am GMT I have one registry problem. When I start my computer it gives the following message..."cannot import sys.reg: Error opening the file.There may be a disk or file system error." I would be grateful for any assistance or suggestions. Thanks so much! sys.reg error?? by Daisy (dleung@dastuart.com) on 16 Sep 2004 12:37pm GMT Here are the details of an error message I got on my home computer. I am grateful if you may advise as to how can I fix the problem. Thanks WINJDO32 caused an invalid page fault in module WINJDO32.EXE at 0187:00401bb9. Registers: EAX=00000000 CS=0187 EIP=00401bb9 EFLGS=00010246 EBX=000002d0 SS=018f ESP=014d9d04 EBP=014d9d44 ECX=014d9d38 DS=018f ESI=0000000a FS=363f EDX=014d9d3c ES=018f EDI=00000000 GS=0000 Bytes at CS:EIP: 8b 08 50 ff 11 8b 45 f4 50 8b 08 ff 51 08 8b 5d Stack dump: 004018c8 014d9d3c 0000000a 0000000a 000002d0 0002df01 00000000 000000c0 46000000 00000000 00000000 00000014 014ddf9c 00000000 00000000 00404964 help me by andy (kytad60@yahoo.com.sg) on 20 Sep 2004 5:19am GMT [HKEY_LOCAL_MACHINE\Software\Microsoft\ -> Windows\CurrentVersion\explorer] "AlwaysUnloadDLL"="1" what does ti main start button name by sagar (sagar772003@yahoo.com) on 1 Nov 2004 8:09am GMT how we change the start button name through registry start button name by Bob () on 29 Dec 2004 2:34am GMT Start button name is resources stored within the "explorer.exe" application and can only be changed by editing the proper resource item in that application. Search on Google... the answere is out there, but very technical to complete. autoplay by sreeraj (atsreeraj@sify.com) on 1 Jan 2005 8:29pm GMT please help me to solve a problem in windows 2003 server problem: while double clicking on local drives it appears as autoplay and it ask to choose a program to open(just like open with files) help dial up connection by m karima (mkarima82@hotmail.com) on 5 Jan 2005 11:47am GMT is there a possibility to disable the edit text [for login and password] displayed on a dial up connection dialog box so that a final user can't change his login and password after a driver modem installation? thanks for help begging by Archangel (stcroix@iname.com) on 6 Jan 2005 4:01am GMT An open request to those asking( begging) for help from martin... First I would like to suggest, go to the library and pick up a few books, take the time to learn a little something about your pc. Second, Martin probably has a life, and he still takes the time out to be of some help to those with less knowledge than himself, ( as many of us do) we do this because some one maybe helped us while we were learning... or It is an assignment to write a paper about the subject for a class, ( which we had to pay for and study to get a decent mark), end result we get a piece of paper that says we are smart( we already knew this).If you have little or no knowledge about programing, or how the toaster actually works. I would think the proper place to begin would be. ask what you need to look up, then hit the library for some info, and yes even buy a few books.... Then and only then, come here to forums like this, and read what some one has to offer, after Free info is always a good price. But please I beg you, do not come here and post..." yeah I have that problem too" or ask a question several times after it has been asked.. This is a waste of time for both the original poster, and those of us who will actually benefit from his/her findings. ( and it is annoying to read the same post seventeen times) Bottom line, If you really do not understand something that is posted here, then you probably can not use the information. Ok I am done ranting, Have a great day, and Thank you martin for your helpful information. ARE YOU ALIVE? by easter (easter@technologist.com) on 17 Jan 2005 12:44am GMT Are you still alive? I notice no replies to these posts for quite sometime: registry can not import! by () on 19 Jan 2005 6:42am GMT i have a registry code that i can import into win 98 but after i upgrade to win xp then when i try to import the registry again it said error accessing the registry.i have try in xp pure(no sp1 or 2),xp wth sp1 and xp wth sp2 all also didt allow.any one know why? the code look like this REGEDIT4 ; ADD section [HKEY_LOCAL_MACHINE\Config\0001\Display\Settings] "DesktopPos"="-48,-36" Print Page in registry by Nathan Currie (mail@webinsite.com.au) on 22 Jan 2005 2:16am GMT On WinXP etc, is it possible to specify that the default print action only prints the first page? Must be a key that can be added. About Internet explorer by Abanat (abanat1@excite.com) on 27 Jan 2005 6:06am GMT when i right click on Explorer to save an image, a list of menu popsup, how can i change that menu. Such as to edit that menu screen. |