Posts

Showing posts with the label registry

File extension attributes in registry

Image
There are two things you can do with any file extension, although I do not know how much useful they can be... We can view the following keys in the registry;the first key (.lnk), which is the extension for the shortcut files, points to the second one (lnkfile). HKCR\.lnk HKCR\lnkfile If we navigate to the second key (lnkfile), we can see two empty string (REG_SZ) values on the right when this key is selected: IsShortcut NeverShowExt If we add those values to any desired file extension then two things happen: A small arrow appears at the lower left corner of the icon (IsShortcut) The file extension of the icon does not appear, regardless of the folder settings in the Control Panel (NeverShowExt) Really, if you want to make fun, using this hint you can give the illusion that some icons on the desktop are shortcuts (while they are not).

Remove deactivated entries in System Configuration

Image
Have you ever wanted to remove the deactivated entries from the System Configuration utility (MSConfig) in the Startup item list? At the Startup tab, the user may uncheck the items that need not be started when Window starts. The unchecked items are stored in the registry at the following locations: HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder The subkeys of the above keys are the deactivated startup entries. If the user removes those subkeys then they will no longer appear in the Startup list of the System Configuration utility. Of course, be extremely cautious when tackling the registry (and always backup the registry before changing anything)!