All Questions
Tagged with regedit command-line
14
questions
5
votes
2
answers
7k
views
Is there any way to turn off tamper protection using command line?
I work with many test PCs, so I want to automate the procedure for installing OS and setting up.
Disabling anti-virus is one of the set-up steps via the below, with it working well for a while, but ...
0
votes
1
answer
892
views
regedit.exe doesn't work from within a Windows 10 ssh session
I am running Windows 10 Pro (ver 1809) OpenSSH. When I SSH into the Windows 10 box as an administrator, I am unable to run regedit.exe /S <reg file>. Typing in the command just returns me to ...
1
vote
1
answer
820
views
Shutdown command prompt strange behavior
Recently I've found something strange behavior of shutdown command prompt. When I type shutdown -h, it'll shutdown not hibernate. When I type only shutdown, it'll shutdown not a list of options of ...
0
votes
2
answers
271
views
How can I create a new .reg file from the CLI
I'd like to create a new .reg file and add it to the registry, as suggested in this article.
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="...
1
vote
0
answers
84
views
Error while opening Windows Registry or Command Prompt as administrator after registry edit
I am using Windows 10.
I have made some changes in Windows Registry.
Actually I have changed paths in keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
HKEY_LOCAL_MACHINE\SOFTWARE\...
0
votes
1
answer
1k
views
How to stop .bat files from running in background?
I'm facing a strange problem after change the Screen configuration on my PC, the story is that before I identify my graphics card I used to use the CMD in full screen (windows 7), and whenever I run a ...
2
votes
0
answers
2k
views
Reg un/load access denied
While trying to unload an HKLM\SOFTWARE subkey I kept receiving the error Access is denied. I tried loading/unloading a test key, but I still received the error.
I haven't been able to find any ...
3
votes
1
answer
7k
views
Add registry entries for all users
I've installed a software on my windows 8 computer which writes entries in my registry. How can I modify this registry entries for all users ? For example what I need to modify is values from this key ...
2
votes
3
answers
3k
views
Windows 7's compatibility mode set to Windows XP SP3 for an executable from the command line and bypass User Account Control Prompt
I'm trying to package an application called Boss and it's intended to be deployed through SCCM 2012 and seems that it's an old Windows 2K application so it doesn't has all the properties I wish it ...
5
votes
4
answers
12k
views
Easiest way to update a Registry value?
While using Linux I've grown accustomed to one-liners when I search online to fix annoying defaults. I know that these one liners could be very dangerous so I always make sure I know what they are ...
1
vote
1
answer
5k
views
How do I export HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe with regedit from cmd.exe?
I am trying to export the registry key HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe but am unable to do so, probably because of the percent signs.
I tried to escape the %-sign with a caret ...
0
votes
1
answer
982
views
Automatic Remote REGEDIT?
I've got a lot of computers on the domain here that do not have remote desktop enabled. I can open the command prompt and do this command:
REG.exe ADD \\[the machine im doing this to]\HKLM\SYSTEM\...
2
votes
1
answer
1k
views
Command line syntax for launching a softphone
I was advised to use the following command, from the Windows command line, in order to get my softphone to dial a number:
@="\"C:\\Program Files\\qutecom\\qutecom.exe\" \"-c\" \"call\\%1\""
However, ...
3
votes
1
answer
19k
views
Command Prompt, msconfig, regedit close immediately after opening
cmd.exe, regedit, msconfig and other system utilities close immediately after I open them. After restarting Windows, the folder option "Hide extensions for known file types" is automatically checked.
...