Questions tagged [windows-registry]

Window registry is a hierarchical database that stores configuration settings and options on Microsoft Windows operating systems. It contains settings for low-level operating system components as well as the applications running on the platform: the kernel, device drivers, services, SAM, user interface and third party applications all make use of the Registry.

Filter by
Sorted by
Tagged with
103
votes
11answers
495k views

How do you remove a default program association for file types in Windows 7?

I somehow have set the default file type association for a file type in Windows 7. It doesn't appear to be possible to delete it from the "Change the file type associated with a file extension" ...
71
votes
2answers
64k views

How can I disable flashing icons on Windows 7 taskbar?

I set my Windows 7 taskbar to auto-hide. However, sometimes when a program changes or something new happens in a program, the taskbar will show its self, and its respective taskbar icon will begin ...
61
votes
4answers
7k views

Is “HKLM” an alias for “HKEY_LOCAL_MACHINE”?

HKLM is often used as an abbreviation for HKEY_LOCAL_MACHINE. Somewhat unexpectedly this also appears to be true when I ask reg for a value. C:\>reg query "HKLM\SOFTWARE\Microsoft\Windows NT\...
57
votes
9answers
46k views

Linux equivalent of Windows Registry

What is the Linux equivalent of Windows Registry? If there is no equivalent or similar structure in Linux, how are the things that are done by the Windows Registry handled in Linux?
46
votes
4answers
25k views

Which special variables are available when writing a shell command for a context menu

When extending the Windows' shell context menu (e.g. for adding an 'Open command here' prompt on directories), a 'command' key needs to be created in the registry. The value of this 'command' key ...
43
votes
3answers
7k views

When does Windows write registry changes to disk?

TL;DR: I've noticed that if I make a registry change and then hard-shutdown my Windows 10 system, the registry change does not appear after reboot. I've also noticed that the deletion of a ...
40
votes
5answers
298k views

How to reset shortcuts (.lnk file) in Windows 7?

Somehow I went to open a shortcut and Windows couldn't find the target but instead of pointing the shortcut to the .exe it pointed the .lnk file handler to the .exe, so now all my .lnk files are ...
39
votes
12answers
3k views

Is it worth cleaning the registry?

I have heard that you should keep the registry clean on Windows. Is this actually important or is it just myth?
39
votes
2answers
141k views

How to disable Windows 10 memory compression?

my former wrong assumption: it drains my notebook battery and I've no shortage of RAM. In Task manager you see ntoskrnl.exe is eating more CPU time than any other process. this feature does not appear ...
38
votes
5answers
101k views

What's the easiest and fastest way to compare 2 registry files?

I would like to find the changes made in the registry after installing something on my computer. However I would like to also know what can be done with ease as a general procedure.
36
votes
4answers
20k views

Remove Desktop entry from Alt+Tab list

Is it possible to remove the entry for the desktop from Windows 7's Alt+Tab list? So far I have found a post telling me to add an entry to the registry: HKEY_CURRENT_USER/Software/Microsoft/Windows/...
34
votes
2answers
6k views

How to restore the Process Name column in Process Explorer?

Currently, Process Explorer's window does not show the process name: (When I run Process Explorer as another user, the column displays correctly.) I have tried dragging all the column handlers, but ...
32
votes
5answers
13k views

Is there a way to see all files and registry entries that an application installs?

I am trying to figure out if there is a way to basically install an application into a sandbox, so that I can easily see all files it created and all registry entries it added without searching the ...
31
votes
5answers
128k views

Can I safely remove *.msi and *.msp files that are in C:\Windows\Installer but are not the mentioned in the registry?

My C:\Windows\Installer folder has grown over 10 GB. I noticed that some *.msi and *.msp files are in C:\Windows\Installer but not the mentioned in the registry (e.g. I can see a file named "104a0288....
30
votes
13answers
52k views

“Create new text document” option missing from context menu

I noticed today that there is no longer a "Create new text document" option in my Windows 7 (x64 Ultimate) context menu when I right click. No idea how or when it disappeared, point is it's gone. ...
29
votes
5answers
57k views

“Always use this program to open these files” is grayed out. Why?

I inadvertently set the Registry Editor to be the default editor for *.txt files. Now when I go to change the default, "Always use this program to open these files" is grayed out. This is the case ...
28
votes
8answers
163k views

How to restore the Path environment variable I deleted?

I accidentally deleted the Path environment variable by creating a new one with Path name. How can I restore my old Path environment variable?
27
votes
3answers
11k views

Why does Windows limit icon overlays to 15?

We can see endless questions about Dropbox vs TortoiseSVN vs many other apps icon overlays conflicts. Two examples: Why are Icon Overlays (from 3rdParty-Apps) not showing up in the Win8 Explorer? Can ...
26
votes
3answers
24k views

Why use “Cmd /c Powershell” instead of just “Powershell”?

I've added my first context menu using the registry as per instructions given in this question (yay me). I originally used this as the command that it executes, i.e. the value of the "command" key: ...
26
votes
2answers
2k views

What connection does MS Office have to Netscape Navigator?

While poking around in the registry, I noticed a Netscape Navigator key at the following: HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator That key contained two more keys "Suffixes" and "...
26
votes
1answer
73k views

Where does Windows store MSI files for uninstallation?

I'm trying to figure out how Windows (XP through 7) is handling installation and uninstallation of MSI files. I have come up in situations where Windows Installer is unable to uninstall because it's ...
25
votes
2answers
5k views

What happens when I delete the entire Windows registry?

I've been wondering what would happen if I delete all the registry stuff. Would my PC stop working? Edit: I've edited the code, now it should delete the registry. cd %TMP% reg query HKCR> RegTest....
25
votes
3answers
53k views

Where are Registry Files stored in Windows?

Where is the Registry stored in Windows? I want to find the files shown when running regedit.exe (Windows Registry Editor).
23
votes
5answers
84k views

How to export a specific registry key to a text file using command line

How can I export specific value from the registry to a text file using the command line? For example, I want to export Hkey_local_Machine\Software\mcafee to a text file in C:. I just need the key – ...
22
votes
2answers
49k views

Switching default audio device with a batch file

I'm trying to write a batch file on Windows 10 that allows me to switch between my headset and my speakers as default audio device when I run it. I don't want to use any third-party software. I tried ...
22
votes
3answers
58k views

Access another user's HKEY_CURRENT_USER Registry branch

I am looking for a way to access the registry of other users on a computer so I can copy them. The idea is that I am trying to get a complicated Delphi app to compile and run on more than one profile....
22
votes
4answers
4k views

What does the path '\REGISTRY\A\…' in Sysinternals Procmon log mean?

I use Sysinternals Procmon utility to monitor the registry access by some programs. Most log entries have the Path property starting from HKCU\… or HKLM\…, that corresponds to the registry hives ...
20
votes
3answers
5k views

Why won't normal uninstalls remove values from the registry?

Expanding on How do I remove residual traces of uninstalled software from the registry? -- every time I uninstall a program and then later look it up via RegEdit it's still there! Why are the ...
20
votes
2answers
209k views

How do I modify the data of an existing registry key value name from cmd?

How do I modify an existing registry key value from cmd? There are a lot of options and switches, bells and whistles, for the Reg command. There are options to query, add, and delete keys, subkeys, ...
20
votes
3answers
2k views

What determines the icon for entries in the New context menu?

I'm not entirely sure how this works. So I can add items to the "new" context menu (that appears when right clicking or pressing the menu button) through the registry editor. For example, if I want to ...
20
votes
3answers
26k views

Where in the registry does Windows store with which program to open certain file types?

After installing Adobe PDF reader, it opens files with the .PDF file extension. Ones' default web browser opens .html files and notepad opens .txt files, etc. Where exactly in the registry are these ...
19
votes
2answers
59k views

Edit another Windows install's registry

I have a hard drive plugged into my computer here which I'd like to edit the registry for. When opening up "regedit," it obviously loads the local Windows registry. Is there a way to load the Windows ...
19
votes
8answers
44k views

How to automate setting Chrome as default browser in Windows 10

I've tried setting default in the reg keys: hkeycu>software>microsoft>windows>shell>associations>urlassociations>http and https. Tried using master_preference file. Tried using ...
18
votes
5answers
236k views

Delete registry key or value via a CMD script?

How do I edit an already-in-production .cmd script file, in order to have the script delete a certain registry key in the Windows registry? Firstly, is this even possible, and secondly (if that's not ...
18
votes
4answers
9k views

How do I disable my computer's HDD LED?

It is very bothersome to work with my Windows 10 laptop when there is a constant light flashing in my face. Is there a way to either edit the registry or the BIOS to stop the hard drive activity light ...
18
votes
4answers
16k views

Retrieve/decrypt Windows 7 product key from Linux

I accidentally disconnected my hard drive while it was still running and corrupted my Windows 7 installation; I am now completely unable to boot into Windows. I have tried everything to try and repair ...
18
votes
3answers
36k views

On Windows, why java -version return Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'?

I've removed all ancient java 8 install on my computer. I've downloaded latest openjdk 11 from https://jdk.java.net/11/ and extracted the content to C:\Program Files\Java\ I've setup system ...
18
votes
8answers
48k views

Permanently disable num lock in Windows?

I like to use the number keys for cursor movement. But every so often I hit NumLock by mistake, and then instead of moving the cursor where I want it, I end up with an input like this: 44444488 How ...
18
votes
3answers
38k views

Disable Hyperthreading in the Windows 7 registry

Some bios's Do Not have the option to disable Hyperthreading of the CPU, it there a way to disable it in the Windows 7 Registry? Or a tool or software? I know about msconfig boot tab (advanced ...
17
votes
5answers
75k views

What registry key or windows file determines where monitors are placed in a multi monitor environment?

I have a laptop with a USB to VGA adapter which allows me to add a third monitor to my laptop (the second monitor uses the onboard slot). It worked fine on Windows Vista - you could go into Windows' ...
17
votes
8answers
16k views

Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7

I don't want to install PowerToys, I'd rather a simpler solution for this specific problem. I've tried Ctrl+Shift+Right-Click. I've tried adding a registry script, but I get the following error: ...
17
votes
6answers
62k views

How to force Windows desktop background to update or refresh

If I manually change the background image in the registry, how can I force it to refresh without logging off? I know that bginfo does it, but I would like to keep things simple and not use any ...
17
votes
4answers
24k views

How to change the cmd.exe font? [duplicate]

Possible Duplicate: How to change the Windows console font? Firstly: I have tried the options dialog for it (the one that Windows shows) and I don't want that. The default windows option dialog ...
17
votes
4answers
11k views

Difference between a stand-alone executable file, and an installed executable?

I have noticed on Windows, at least, that you can download a direct, statically-linked executable file and launch it directly, or write your own program and executable it (even dynamically) without ...
17
votes
1answer
98k views

Where is the Default Program associations stored in the registry? [duplicate]

If I run the assoc command-line utility for an extension, it shows the file type/description for the extension I set in the registry. But if I go to Control Panel -> Default Programs - Set ...
17
votes
4answers
19k views

Editing the “Open with” menu in Windows 10

I use PDF Split & Merge (PDF SAM) frequently, but don't want to set it as the default PDF handler. When I right-click on a PDF and select Open with, these are the options I am given. To select ...
16
votes
6answers
43k views

Creating a .reg file for Windows 7

I created a .reg file but when I double-click it, it doesn't want to be imported. The specified file is not a registry script.You can only import binary registry files from within the registry ...
16
votes
3answers
737 views

Is there a software that can index the contents of the registry for quick lookups? [closed]

Searching in the Windows registry can be ve------ry------ lo----ng. Is there some tool available that can index the contents of the whole registry, or contents of a single hive, such that fast ...
16
votes
5answers
14k views

What is a faster way to search the Windows registry?

Because the Windows registry is a hierarchy, the way regedit is laid out makes typical searches inefficient and slow. Typically, when performing a search in regedit, you highlight the first line ('...
16
votes
1answer
3k views

Can I prevent the change of overlay icons?

Background Several programs modifiy the icons in explorere to indicate a state ("synched" etc.) It is a known fact, that Windows (win7, win8, win10?) can only handle a limited amount of such icons ...