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
6
votes
3 answers

How to handle UnauthorizedAccessException from User Code

In a Windows Application I have, I am doing some changes in registry like deleting a particular key, in some test scenarios like in a Vista machine with its UAC put on, I'm getting System.UnauthorizedAccessException. My code would look something…
Niranjan
  • 813
  • 2
  • 12
  • 33
6
votes
1 answer

How to delete the one application's registry key from the regedit using python script?

I'm new to python. I want to delete the key which is in the regedit using python script. regedit tree view for my application key HKEY_CURRENT_USER | |_Software | |_Applications | |_Application …
cgsabari
  • 506
  • 2
  • 7
  • 28
5
votes
3 answers

RegEdit to run an .exe at startup as administrator

I have a program which I wrote in Java using Eclipse and then put into a .jar file. Then, I used launch4j to make an executable from my .jar file and included a .manifest file to cause the executable to run with administrator privileges. I put the…
Gossamer Shadow
  • 387
  • 1
  • 5
  • 16
5
votes
1 answer

Registry keys visible when running as non-admin but not as admin

I have a registry key visible when queried as a normal user account using powershell or in regedit., But when I run powershell or regedit as an admin, it does not appear: Non-admin: PS C:\> Get-ChildItem…
nonpoliticaltag
  • 165
  • 1
  • 2
  • 16
5
votes
0 answers

How to change blue stacks 2 resolution by regedit

In original blue stacks, users can change the resolution by reg file. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0] "WindowWidth"=dword:00000500…
WeiHung
  • 109
  • 2
  • 10
5
votes
3 answers

Receiving arguments from Windows Context menu

I have done this before but for the life of me can't remember how to do this... In my explorer context menu I added a new entry (go to regedit...go to HKEY_CLASSES_ROOT...bla bla bla)... Now when I click on my option I want to pass in the file path,…
Jean
  • 51
  • 1
  • 2
5
votes
3 answers

What is the difference between Process.Start() and running manually?

I am creating an app for the company I work for which will backup the data for some software we supply. It has options to add SQL databases, folders, files and reg keys to the backup job which are then put into a Zip file. There are also options…
TheCrimsonSpace
  • 188
  • 1
  • 8
5
votes
2 answers

Iterate through Registry Subfolders

I want to get all values of a registry path include the values of its subfolders. Right now i read the values of a single folder by this: const HKEY_LOCAL_MACHINE = &H80000002 strComputer = "." Set…
Dennis Kriechel
  • 3,719
  • 14
  • 40
  • 62
4
votes
5 answers

Webbrowser control ignores FEATURE_BROWSER_EMULATION reg entry

Im developing a custom browser solution with .net's Webbrowser control. To disable the IE-Compatibilty View, I set the registry entry Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION: [Sreenshot regedit]…
David
  • 51
  • 1
  • 3
4
votes
7 answers

pyttsx3 initialization error, can't use pyttsx3

I was having some problems when using the .getproperty('voices') attribute in pyttsx3. So I decided to uninstall it and then re-install it using PIP to see if that may fix the problem. Previous link to when I had the .getproperty('voices') error:…
saiffarid
  • 43
  • 1
  • 2
  • 9
4
votes
1 answer

Query multiple entries from registry at once (using reg query)

I run subsequent reg queries and this takes quite a time: reg query HKLM\SOFTWARE\Classes /s /f "foo" reg query HKLM\SOFTWARE\Classes /s /f "bar" Is there any way to search by multiple values at once with reg query?
scor4er
  • 1,580
  • 12
  • 23
4
votes
0 answers

Add item to Right click Drag and Drop contextual menu on Windows

I need to add items to the contextual menu when I drag and drop a file using the right click. I can manage to add item in registry for just right click on the file, but not when dragging to another folde. This is what I'm using just for the right…
SirAleXbox
  • 101
  • 1
  • 14
4
votes
5 answers

How do I add a right-click option to search the web using a selected file's name?

I'm looking to add an option to the right-click menu in Windows Explorer that will launch Chrome and search a specific site for that file's name. To be a little more specific, I want to be able to do this on a video file and then look for available…
Mike
  • 302
  • 2
  • 3
  • 12
4
votes
3 answers

Creating registry key for logged in user (not admin user) in Inno Setup

I'm trying to create an installer using Inno setup when I encounter this problem, everything else is being installed, but the registry keys are not being installed in the current user, I can't find it in the HKEY_CURRENT_USER. But when I try to run…
Shana
  • 51
  • 1
  • 2
4
votes
1 answer

Is it possible to open regedit and navigate to straight to a specific key using process.start?

I'm making a small tool that can write a key in registry, and a tiny part of it just for convenience would be to navigate to that key instantly with the click of a button. I know how to open regedit.exe already but is there a way to instantly…
WolfyD
  • 865
  • 3
  • 14
  • 29
1
2
3
32 33