Questions tagged [regedit]

For issues relating to using the windows registry edit tool or performing registry edit operations.

The Windows 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.

Related commands:

Documentation:

492 questions
62
votes
10 answers

How can I enable Assembly binding logging?

I'm getting, "Could not load file or assembly 'Bla' or one of its dependencies. An attempt was made to load a program with an incorrect format." A portion of the detailed info says: "WRN: Assembly binding logging is turned OFF. To enable assembly…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
49
votes
16 answers

How to launch Windows' RegEdit with certain path?

How do I launch Windows' RegEdit with certain path located, like "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0", so I don't have to do the clicking? What's the command line argument to do this? Or is there a place to find the explanation of…
XTL
  • 1,807
  • 3
  • 16
  • 15
23
votes
3 answers

How to do RegAsm so that it cover 32-bit and 64-bit?

I have a DLL file prepared by C# and my system is Windows 7 64-bit. When i apply the RegAsm its not adding the registry to 64-bit path but only adding it to 32-bit path. "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe" /register…
user285594
12
votes
2 answers

Regedit file format

I would like to document the file format of regedit utility, so data can be merged into the registry. From the command-line you can (silently) merge data from a batch file like this: regedit /s file.reg Exporting from a subkey goes like…
doekman
  • 18,750
  • 20
  • 65
  • 86
11
votes
1 answer

Modifying registry to increase GPU timeout, windows 7

Im trying to increase the timeout on the GPU from its default setting of 2 seconds to something a little longer. I found the following link but it appears its slightly different in windows 7 as i cant see anything mentioned in the webpage. Has…
Hans Rudel
  • 3,433
  • 5
  • 39
  • 62
11
votes
2 answers

Why is registry written in different location than expected?

I tried to write a registry subkey and its corresponding value to registry like this: const string subKey = @"SOFTWARE\Apple\Banana\"; const string regKey = "pip"; var rk = Registry.LocalMachine.OpenSubKey(subKey); if (rk == null) rk =…
nawfal
  • 70,104
  • 56
  • 326
  • 368
10
votes
6 answers

Get installed software list using C#

I try to get a list of installed application keys: RegistryKey RegKeyUninstallList = Registry.LocalMachine; string strUninstallList = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; string[] test =…
user3523585
  • 157
  • 1
  • 2
  • 7
10
votes
1 answer

Add menu item to windows context menu only for text selection

Someone know where can I add registry key for add some function to the right-click menu only when some text is selected? Such as copy,paste,cut function Thanks :)
user2058638
  • 109
  • 4
9
votes
3 answers

cmd: regedit from cmd

how can i run to a specify path in regedit from cmd? I would like to add a new key to a specific service. Can someone help me? I would like to do this from a c# code, but first i am trying to do it from cmd. Thx i would like to navigate from cmd to…
elisa
  • 743
  • 2
  • 13
  • 31
8
votes
3 answers

how can I run an app automatic after restart?

how can I run an app automatic after restart? (by c# code) I create A new string in 'runOnce' key in registry with the path of the App. the OS run this APP before it load the OS my problem is: My APP loads but explorer doesn't load, after I close my…
sari k
  • 2,051
  • 6
  • 28
  • 34
8
votes
3 answers

Regedit: Find and export keys from command prompt

I'm wondering is there any option via command line to search for a string and export all found keys in Windows registry?
Ara
  • 409
  • 2
  • 11
  • 24
7
votes
1 answer

Problems with getting VS10 debugger to jump certain libs?

I'm getting debugger errors when using the boost serilazation library. To fix these I am trying to get Visual Studio 10 to skip the debugging the boost library, after som reading I found out how this coult be achived but the solution somehow doesn't…
Alzorz
  • 527
  • 4
  • 11
7
votes
2 answers

How to find the .NET Core Desktop Runtime is installed in a windows machine

Is there any registry key to determine whether a windows machine has the .NET Core Desktop Runtime installed programmatically (e.x through c#)? I can see the registry is getting the following key when I install the .net core…
Nlr
  • 183
  • 3
  • 13
7
votes
1 answer

Unable to set DefaultIcon in registry

I am attempting to update the Windows registry to add an icon for my custom file extension, and I have thus far been unsuccessful. My current version is closest to this stackoverflow question. Unfortunately, my file's icon is still one of the…
joescii
  • 6,495
  • 1
  • 27
  • 32
6
votes
2 answers

Notepad++ right-click to open file in a new window

How can I configure Notepad++ to open a file in a new window when I right-click it and select Edit with Notepad++ ? I already know I have to launch the program with the -multiInst switch, I just don't know how to add that to the registry mapping for…
CupOfTea696
  • 1,266
  • 3
  • 14
  • 29
1
2 3
32 33