All Questions
Tagged with batch windows-registry
74
questions
0
votes
0
answers
72
views
Batch Enable "Hide HDR Notifications on this device"
I am trying to programmatically hide hdr notifications that recently got added to the xbox game bar in the last year or two. I tried enabling and disabling it through the ui and looking under these ...
0
votes
0
answers
220
views
Getting REG Hive List of an offline Device
I am trying to get an hive list files of an offline windows installation so I can backup the files in WINPE in my script.
What I have tried
reg load HKLM\Offline D:\Windows\System32\config\SYSTEM
...
4
votes
1
answer
455
views
Batch FOR LOOP with REG QUERY, REG EXPORT, list matching, REG DELETE if it matches, and ECHO any output to CMD and output.log
I have a list of registry keys/values/entries that I would like to delete (basically the list in #3 below without the REG DELETE stuff). It works as is but I'd like to have the batch...
I. Write the ...
0
votes
0
answers
91
views
Run Single Instance of CMD via Registry for Multiple Files?
I have written a script to convert images with DirectXTex. I use %* in the command inside the script to handle however many files I pass to it by directly dragging multiple files onto it directly. It ...
0
votes
1
answer
157
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 ...
1
vote
1
answer
45
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 ...
1
vote
1
answer
270
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 ...
0
votes
0
answers
217
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
2
answers
233
views
Custom Windows right-click command doesn't execute batch file as expected
I'm trying to create a custom right-click command which will move a file to a folder. I have a batch file called C:MyMove.bat with the following code:
@echo off
cls
move %1 "C:/My folder/"
...
0
votes
1
answer
767
views
How to properly find java home folder with batch?
I'm trying to find the currently installed version and home folder of java JDK.
I am trying this code, but I cannot figure out the proper "combination" of delims, tokens such that it ignores ...
1
vote
1
answer
286
views
Win 10 shortcut hotkey list location
I am looking for a file or Reg Key that holds current shortcut hotkey combinations, i.e.:
Ctrl+Alt+B
I have a few batch files with hotkeys assigned, but after each win update I need to reassign the ...
1
vote
1
answer
2k
views
Open up a registry from a remote client
I want to make a Script, that ask me for my input (Client) and opens up the registry editor with the client already connected, so I dont have to click manually add network...
Is there a way, in Batch ...
2
votes
1
answer
1k
views
How to check if Night Light is enabled on Windows 10 using a batch file and enable/disable it?
How to check if Night Light is enabled on Windows 10 using a batch file? I think it can be accessed from Windows Registry, but I'm unsure about how to do it.
I'm trying to get and set/change the value ...
1
vote
0
answers
356
views
Windows Registry Query Problems
i trying to query the wifi registry ProfileName under this path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles as Wifi_5G i want to change the profilename to ...
2
votes
1
answer
3k
views
Batch script to find and delete a value in multiple registry keys
I have a batch script to find an delete regedit key:
@for %%I in ("foo") do reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "%%~I" /f
I need to expand ...