Questions tagged [registry]

The Windows Registry is a database where configuration settings for hardware, software and the Windows operating system itself are saved.

[The Windows Registry] 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. The registry also provides a means to access counters for profiling system performance.

When first introduced with Windows 3.1, the Windows registry's primary purpose was to store configuration information for COM-based components. With the introduction of Windows 95 and Windows NT, its use was extended to tidy up the profusion of per-program INI files that had previously been used to store configuration settings for Windows programs.

Source: Wikipedia

7354 questions
2
votes
1 answer

Firewall rules on the registry

I need to understand the nomenclature of firewall rules in the registry, that some have parameters that I do not know, such as these v2.27 | Action = Allow | Active = TRUE | Dir = Outside | Profile = Public | IFType = Wireless | Name = @…
2
votes
1 answer

"websites" vs. "Web sites" in Windows Internet Settings

I noticed that once you customize the settings of a zone in Internet Explorer, the "Description" registry value in HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2 changes from: "This zone contains all Web sites that are on…
Android Eve
  • 14,864
  • 26
  • 71
  • 96
2
votes
3 answers

GetProfileInt... where in the registry?

Simple question, if someone happens to know the answer. I'm maintaining an old Windows app; it uses GetProfileInt to retrieve a setting. Documentation says it reads "from the registry". Whereabouts? I know on older OSs, it read from win.ini. …
Laure
  • 531
  • 1
  • 6
  • 11
2
votes
2 answers

.Net Framework / Standard Access Registry

I have the following scenario where registry access is not working with a .Net Standard 2.0 dll. There are two parts to the program shown below... A Shared library that is .Net Standard 2.0. It references the Microsoft.Win32.Registry nuget…
Steve0212
  • 682
  • 2
  • 6
  • 23
2
votes
0 answers

Completely Remove COM DLL From Registry

What is the proper way to completely remove COM DLL from the registry? I'm experimenting with developing a C# COM Dlls. I'm calling them from Excel VBA. I've developed numerous DLLs (~15) and for the most part have had great success. When you…
user2970483
  • 323
  • 5
  • 14
2
votes
2 answers

PowerShell: How do I create selector on file/folder, whose name is '*' (asterisk/star)?

I have a need to modify registry from PS. This registry item is related to context menu for particular files (folder for all extensions). \\HKEY_CURRENT_USER\Software\Classes\* Currently I'd like to add items to this…
Tatranskymedved
  • 4,194
  • 3
  • 21
  • 47
2
votes
3 answers

Differentiate Registry Key from Value paths

Is there an equivalent of [System.IO.DirectoryInfo] and [System.IO.FileInfo] for differentiating Registry Keys from Values? I want to evaluate a path and log for the user what the final target of the path is. So far, this is what I have, and it's…
Gordon
  • 6,257
  • 6
  • 36
  • 89
2
votes
1 answer

How to get the list of installed applications on Windows 10 from Java

I'm trying to get a list of all applications installed in windows 10 from my Java program. I have tried the following: Runtime.getRuntime().exec("Get-WmiObject -class Win32_Product | Select-Object -Property Name"); and I get: Cannot run program…
Javier V. R.
  • 23
  • 1
  • 5
2
votes
1 answer

RegistryKey.OpenRemoteBaseKey does not work with IPv6

I'm using: var rk = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "IPv6MachineAddress"); and getting "The network path was not found" error. The remote machine exists. Also I'm able to modify registry using WMI via IPv6. Does anybody…
vasyl
  • 235
  • 3
  • 4
  • 13
2
votes
1 answer

Read REG_RESOURCE_LIST memory values - Incorrect value

I am trying to read the physical memory values in Hardware\ResourceMap\System Resources\Physical Memory using the following code: #include #include #include #include #include using namespace…
Jenny
  • 572
  • 4
  • 16
2
votes
1 answer

Winreg Python, QueryInfoKey giving incorrect date/times for the last changed?

I have a function that loops through a list containing found registry key paths. I now need to find the date each registry key was last changed from that list of keys. def get_values(subkeylist): try: x = 0 nanos = [] while x <…
Mr.Pixel
  • 43
  • 5
2
votes
1 answer

WiX MultiString registry keys

I tried adding registry keys for compatibility assistant to a wix setup like this:
configurator
  • 40,828
  • 14
  • 81
  • 115
2
votes
1 answer

How to get the OpenWith list from the Registry?

This Windows Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts ...supposedly contains the file extensions registered with Windows Explorer. I try to programmatically read the OpenWith list for specific file…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

Read Local Registry with Browser Based Javascript - Google Desktop API

Can I use javascript in a Google Chrome packaged app (a.k.a. browser extension) to read a user's local registry key (i.e. stored query url, a.k.a. the search_url key for Google Desktop)? If so, some example code to access this would be much…
2
votes
1 answer

golang can't enumerate subkeys of registry key

i'm trying to watch all over the windows registry to find some keys and values. There are some keys, that can't be opened with registry.READ permission, so for me to read values and keys, i have to use registry.QUERY_VALUE and…
1 2 3
99
100