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,684
questions
0
votes
0
answers
60
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
697
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
2k
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 ...
2
votes
2
answers
2k
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
72
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
160
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
430
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
93
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
360
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
24
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
299
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
2
answers
4k
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
293
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
101
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
233
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
80
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
65
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 ...
1
vote
1
answer
314
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
242
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
6k
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
0
answers
1k
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
1k
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
100
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
128
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
139
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
4k
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
678
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 ...
1
vote
2
answers
5k
views
Shell Bags Registry Hacks
Windows often decides for itself against the will of the user how a folder should be presented. Despite the various "official" methods to ensure Windows displays folders exactly as the user ...
0
votes
0
answers
181
views
Registry contains thousands of non-ASCII entries
Something created thousands of weird entries in my registry (Windows 10) in HKEY_CURRENT_USER. Virtually all of them consist of 4 characters and have no sub-keys and there are more than 20.000 of them....
1
vote
1
answer
44
views
Filter informations in regedit (Batch)
I made a script that retransmits values from regedit to a .txt file. I would like to know if it is possible to filter the "Exe History - Store" information that is written in the .txt (the ...
0
votes
0
answers
1k
views
Purpose of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\<SID> - "IsUpgrade"
I just came across a workstation with MANY keys under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. I'm familiar with the ProfileList and ProfileGUID subkeys, but was srpprised to ...
1
vote
1
answer
227
views
Issue with reg add command for automating desktop icon selections
I am looking for some help on what is causing my batch file to not execute the following commands. I am trying to change the desktop icons for mass automation for imaging. There is a lot more to the ...
3
votes
0
answers
6k
views
PowerShell / Registry: Remove the "Activate Windows" watermark for Windows Sandbox
The "Activate Windows" watermark is used by Microsoft to track unlicensed copies of Windows; this is important for them and I have no issue with that. However, for Windows Sandbox, we are ...
0
votes
1
answer
520
views
How to delete WOW64 related entries with Autoruns?
I have the following entries in Autoruns, but can't delete them because of access denied error
What are them and how to force?
Am running Autoruns as administrator.
1
vote
1
answer
1k
views
Custom entry in Windows Explorer navigation pane
Does anybody know, how to create new entry in explorer navigation pane, just below new Home entry?
I already wrote a code which can create custom entry, and already tried setting different ...
1
vote
1
answer
2k
views
Win 11 Regedit - set Default app for HTTP / HTTPS launch from app (e.g. npm run serve)
I want a specific web browser to open when a Windows app calls to open a web browser. I've seen various solutions specific to Chrome, for example, but I'm not interested in Chrome-specific solutions.
...
0
votes
0
answers
187
views
How to make right-click menu wait for each file to be processed?
I have created a right-click menu item based on this answer to run a batch file. This batch file runs a command which does some processing on the file. However, if I select multiple files, I see a ...
0
votes
0
answers
306
views
Where does LogMeIn Control Panel store the control panel settings?
I am trying to script some aspects of installing LogMeIn Control Panel on industrial workstations running Windows 10 that may or may not have internet access once commissioned. Namely, I am trying to ...
1
vote
1
answer
241
views
Is it possible to repair damaged win 11 registry(won't start) by creating new same version windows 11 on Virtual Machine and copying that registry
I got error message on win 11 "The operating system could not be loaded because the system registry file is missing or contains errors."
File ... system32/config/system
What I tried:
System ...
0
votes
0
answers
213
views
In Windows 11, what's the registry key that controls whether "details" side panel in Explorer is shown?
I frequently do in-place upgrade to Windows 11 since Windows Update doesn't work on my PC. After each upgrade, the "detail" tile on the right side of explorer will be hidden and I have to ...
0
votes
0
answers
154
views
Can't access network locations after editing windows 10 registry
I wanted to remove the network icon from the Windows 10 explorer and in order to do that I read that I had to edit the windows registry I followed the steps in this website also took ownership of the ...
0
votes
1
answer
4k
views
Where is the notepad icon located in the registry in Windows 11?
I want to change the default Notepad++ icon to the default notepad icon in Windows 11. But I can't find its location in the registry. How to find the default notepad icon path in Windows 11?
Default ...
1
vote
0
answers
77
views
Offical Souce For Windows Version Format [closed]
Windows' versioning structure has changed many times over the years. Over that time registry values have come and gone, and some still remain but contain old data. I would like a source that tells me ...
1
vote
0
answers
308
views
Windows Terminal WSL2 profile shortcut not highlighted in taskbar when opened
I have a shortcut for a WSL2 profile in Windows Terminal (Windows 10) pinned to the taskbar. The command is of the form wt.exe -p "Fedora 36" where the profile executes the command wsl.exe ~ ...
1
vote
0
answers
274
views
Unable to uninstall a font in Windows 10 - SOLVED (ish)
UPDATE: When I went back to get screenshots, without me doing anything, the font, along with two others I was trying to track origins for, had disappeared.
I do not know for sure, but right now I'm ...