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.
2,700
questions
1
vote
1
answer
186
views
Of what use are empty Windows Registry HKCR keys for my C: and D: drives? Can they be deleted?
I've been having ongoing issues with my system not starting correctly sometimes.
I've run chkdsk on my C: drive and have run sfc. Both reported no issues. Next I thought I'd get a registry cleaner and ...
3
votes
1
answer
3k
views
Install manually custom keyboard layout (dll) created with MSKLC
I created a custom keyboard layout with the Microsoft Keyboard Layouter Creator (MSKLC) tool and generated a "build package" which allows an easy installation. The installation of the ...
1
vote
1
answer
537
views
How can I restore only one registry key from registry back up I had?
I want to restore only one key from registy back up I had in here:
%systemroot\System32\config\RegBack
How can I do this?
I just changed some permissions on this registry and my PC is not working ...
3
votes
0
answers
928
views
Windows 11 Snap Layouts: force all 6 layout options (irrespective of display resolution)?
I noticed that on Windows 11, upon pressing Win+z, on my smaller screen I have ...
...while on my bigger one I have two more options:
(And if you upvote this question,then next time I'll be able to ...
0
votes
0
answers
634
views
Windows does not respect theme switch done by registry
I am using Windows 11 22H2 build 22621.1265.
I use these scripts to change the system/application theme accordingly:
New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\...
1
vote
1
answer
4k
views
ASUS laptop running Windows 11 automatically hibernates after 3 minutes when lid is closed by default
The default is bad. I want to use my laptop with an external monitor when the lid is closed, but after 3 minutes of inactivity, the laptop goes to hibernate. I also want to listen to music when the ...
1
vote
1
answer
4k
views
Windows 11: Modify screensaver behavior via script
I want to enable/disable the screensaver for a fixed local user via a scheduled task. My task runs
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /f /v ScreenSaverIsSecure /t REG_SZ /d 0
...
0
votes
1
answer
158
views
Windows 11: MS Word 365 spellcheck underline colour changed in registry reverts to default colour
I have a problem with the red underlining to show spelling errors in Word. As I am translating documents, I have whole chunks of text that are in the source language and thus underlined in red. This ...
1
vote
1
answer
386
views
How to remove shutdown option in start menu but leave it on when selecting CTRL + ALT + DEL
I would like to hide/remove the shutdown option from the start menu but leave it available on CTRL + ALT + DEL.
1
vote
1
answer
1k
views
Vertical scrolling sensitivity with the mouse wheel keeps being reset in the background. How do i figure out what is changing it?
This problem is solved temporarily by manually resetting it to 1, my desired value. I have multiple hid devices and the machine is an asus rog 14 2022 laptop with ati graphics. I am running windows 11....
1
vote
0
answers
50
views
Fixing the broken .exe lin by associating the .exe to execfile prevents app from launching
Recently I started running into this issue that when I tried to open OneNote/Excel/PowerPoint, the .exe file would open up in Notepad.
I tried a bunch of things to solve this issue. A combination of ...
0
votes
0
answers
380
views
Why does audio work in Linux but not in Windows?
Model: MSI GL63 8SE
Problem:
Headphones audio work in Linux and Windows
Speakers audio work in Linux only
Observations:
In Windows, the audio output default seems to be headphones
connector
In ...
1
vote
1
answer
960
views
How to manually add a program to the list of windows optional features so that it can be turned on or off?
The C:\Windows\System32\OptionalFeatures.exe program allows to Turn windows features on or off by checking or clearing the checkboxes from the shown list.
For educational/learning purposes, how can a ...
0
votes
1
answer
228
views
Windows Registry String Value Path
I'm trying to set up Lock Screen for Users.
I've created a new Registry Key with the three values:
I'm using %userprofile% since I don't know all the name of users.
But the Lock Screen is not ...
1
vote
1
answer
31
views
How to edit start menu in Windows 10 in a way that it doesn't "fall back" on updating Windows or software pieces?
I'm using Classic Shell, so my experience in restructuring Start Menu is more like in Windows 7: I open C:\ProgramData\Microsoft\Windows\Start Menu\Programs and edit folders and links there and that ...
1
vote
0
answers
373
views
How to change the default action for a file in Window 11 (w/o changing the default app)
Sorry the question is longer than usual, but the shorter version would probably just close again because of a false "duplicate" stamp .
With "default action" Is meant the double ...
2
votes
2
answers
4k
views
How entries at RUN registry are overridden by Windows settings
I have recently been experimenting with the different ways to run things at startup/logon, and I have found something that I don't quite understand.
Autoruns treats entries in HKEY_CURRENT_USER\...
0
votes
0
answers
362
views
Replacing default file manager without breaking browsing within File Explorer
In attempt to change a default file manager I have tried replacing command location under
Computer\HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shell\open\command
and
Computer\HKEY_CURRENT_USER\SOFTWARE\...
0
votes
0
answers
76
views
Need to reg add in commandline the 2 entries in red
Can´t boot windows 10
But can open a command line
Need to add command line the 2 entries in red in attached picture
But not sure about the syntax
2
votes
1
answer
813
views
PowerShell, properly association .jar files with java.exe or javaw.exe
Using the answer from this question Copy Java installation to another system I can manually install Java (without running the installer) and port it to other systems. This works well.
However, I still ...
1
vote
2
answers
3k
views
How do you disable hardware-accelerated GPU scheduling via the command line in Windows 10/11?
I need to disable, programmatically, hardware-accelerated GPU scheduling in Windows if it's enabled.
Searching, I was pointed at the HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers - HwSchMode ...
1
vote
1
answer
1k
views
'Get-Service' fails to list *all* services due to one causing an issue
As a "normal" UAC-elevated user (i.e. member of the BUILTIN\Administrators alias, but not .\Administrator), how can I list all services using Get-Service and sidestep the issue described ...
3
votes
2
answers
6k
views
How to see changes being done to registry?
I am using StartAllBack to customize my Win11, but I would like to switch to Start11. The thing is SAB has a feature where it colorizes even dialog windows like copy/move dialogs and errors and I ...
1
vote
1
answer
76
views
is there a way to decouple the screen saver activity timer from the lock timer?
I'm looking for a way to separate the functionality of "lock the PC" from "activate a screensaver" or "turn off the display".
In my ideal world, these two functions would ...
0
votes
1
answer
4k
views
Can't delete npf64.sys from HikVision SADP install location - in use by invisible service?
I'm trying to fully uninstall HikVision SADP (an IP camera discovery & initial configuration tool) because it isn't working properly and I want to reinstall it cleanly.
The installation path C:\...
-1
votes
1
answer
194
views
Windows 7 Broken Boot (Complicated Issue)
I have an issue with my old Hard Drive, I got the issue by using CCleaner Registry Cleaner, I thought it could improve my PC's performance but it made it worse.
Whenever I boot/start the PC, it never ...
0
votes
1
answer
618
views
Adjust blur strength of Windows UI. Is there a registry key that sets the strength of windows 10s UI blur effect?
I wanted to ask if there's a registry key/a way to patch the Window manager itself that allows me to adjust the strength of the blur used in f. ex. Windows 10s start menu.
Found a way to completely ...
0
votes
1
answer
108
views
Force folders to NOT save their appearance
I've just switched to fresh Win10, and
I found that I haven't backed up one system tweak I had.
That tweak is somewhat hard to describe
(since I'm not sure what 'tweaker' I used; like, years ago), ...
0
votes
1
answer
416
views
Selectively start Hyper-V at boot on Windows 11 22H2
Back on Windows 8, 8.1, and 10, one could have two boot menu entries, with one launching Hyper-V and the other starting Windows without Hyper-V. This was very useful, since I could have Hyper-V around ...
0
votes
1
answer
25
views
Pass along calling process when specifying open-with behavior for file types and protocols on Windows
To associate certain file types or protocols like https with a particular program it's possible to edit the registry and basically add an association that goes like this:
"C:\MyApp.exe" &...
1
vote
1
answer
412
views
Stopped being able to run exes and msis on Windows 11 via mouse double-click
I must have done something that messed up with Windows settings leaving me unable to run exes nor msis by double clicking them.
They will run, however, if running them via CLI, either by manually ...
1
vote
3
answers
6k
views
Disabling three-key snipping tool hotkey via DisabledHotkeys registry value?
Windows 10 binds Win+Shift+S to the snipping tool. I want to use that keybind for another program. You can make a new registry key in Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\...
1
vote
3
answers
394
views
File shortcuts don't work or throwing association error in Windows 11
I accidentally broke up my Windows 11 registry regarding shortcuts. To be honest, I also forgot to export a copy of the registry before making changes. Yeah, I know it's dumb, but it happened.
I ...
0
votes
1
answer
131
views
Change scancode in registry - 'arrow up' to 'shift rigtht'
I have a problem with my Lenovo v510 keyboard (Windows 10).
My up arrow is next to my shift right button and every time I have to use uppercase letters, I hit the wrong key.
Now I try to change the ...
1
vote
0
answers
341
views
Some custom URI schemes not working on Edge
I've discovered the concept of Custom Protocol Handlers lately and have been using it to access some desktop (.exe) applications through my browser (which is Edge).
I've registered many of my apps to ...
1
vote
0
answers
99
views
Oracle SSO (Passlogix) prevents Java Application from starting [closed]
I have a Java application which uses a bundled Java runtime (it does NOT use a system installed version of Java).
✅ When I start the application using java.exe -jar myapp.jar, the application works ...
1
vote
0
answers
92
views
Run exe with parameters by default
I'd like to run my browser (Vivaldi) with the --silent-debugger-extension-api parameter by default, which I know is possible via a shortcut or batch file. But I want it to run this way for every ...
2
votes
1
answer
438
views
How do I disable or change ALT+Ctrl+K in windows?
I need to use ATL+CTRL+K. But it appears windows is using this hotkey for something, and I cant tell what it is used for.
I used this tool to figure out what was using it:
https://github.com/ITachiLab/...
0
votes
0
answers
2k
views
How do I set the owner of a registry key using powershell?
I'm trying to modify the permissions of a registry key, however before I can do that I need to change the owner of that key.
Is it possible to do that using a powershell script? I've seen that you can ...
2
votes
1
answer
1k
views
Copy Java installation to another system
I'd like to create a detached/offline Java setup on Windows to roll out to other systems and VMs. I know that some applications bundle Java within them, but I was wondering if I can also create a Java ...
0
votes
0
answers
274
views
Assign registry key last write/modified time recursively using PowerShell
One can view Windows Registry key's LastWriteTime by exporting key as TXT using Registry Editor:
Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Audio
Class Name: ...
1
vote
1
answer
7k
views
How to launch Edge browser with command line flags?
My question is similar to this:
Applying a command-line flag to Chrome at auto-launch
But 7 years later, on Edge browser, on Windows 11.
I knew a way that'd make it possible to add flags to Edge ...
2
votes
1
answer
2k
views
Disable specific WIN shortcuts without additional software (Windows 10)
I would like to know hot to disable specific ⊞ Win + shortcuts (Windows 10) without any third party software (with only included Windows 10 tools).
Particularly ⊞ Win+Ctrl+D one (create new virtual ...
0
votes
1
answer
2k
views
Access denied when adding key to HKEY_LOCAL_MACHINE using bat file, adding to HKEY_CURRENT_USER works fine
I need to add a new registry key to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRunTime\AllowedCOMCLSIDs.
I tried running a following bat script:
@echo off
REG ADD "HKEY_LOCAL_MACHINE\...
1
vote
0
answers
114
views
Programs that use URN protocol
Does there any Windows 10 program or handler to use URN protocol?
It's possible to write a script that handles the URN protocol and register it in the Windows registry. But is there a finished utility?...
0
votes
0
answers
165
views
Pictures icon is broken after hacking registry to change location
[enter image description here][1]I recently installed Windows 11 and uninstalled Onedrive. I then changed the location of the Desktop, Documents and Pictures folders from Onedrive to their %...
0
votes
1
answer
153
views
Setting compatibility flags on executables residing on removable media from a batch file
Edit: On further investigation it seems the SIGN.MEDIA=xxxxxxx string changes based on the subfolder on the removable media, so it's not the removable media's device ID at all. I can't seem to find ...
6
votes
1
answer
5k
views
How to enable light mode/dark mode in Windows 11 programatically?
I'm trying to schedule the light mode/dark mode in Windows personalization settings using Task scheduler, so that Windows theme colors will change based on time of day, which is also better for eyes.
...
1
vote
1
answer
1k
views
How do i use DisallowRun on an UWP app in Windows 10 Home
I'm new to superuser, hello!
I'm trying to block apps on my Windows 10 Home laptop, and this does work with .exe apps:
Open regedit
Go to Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\...
1
vote
1
answer
799
views
On Windows 11 22H2 (22621), which registry keys controls whether a user folder is shown at system tree view?
After upgrading to Windows 11 22H2 (22621), most user folders (Music, Pictures, Downloads, Videos, etc.) are removed from default explorer view to "make explorer look cleaner". There is an ...