Questions tagged [windows-registry]
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.
405
questions
0
votes
1
answer
204
views
What does Windows use to determine how old a profile is when implementing the CleanupProfiles registry setting?
How does the Windows registry setting HKLM\Software\Policies\Microsoft\Windows\System!CleanupProfiles determine the age of a profile on Windows 10?
I have tried to understand the setting, which is ...
2
votes
1
answer
360
views
How can I add a Capability SID to GPO Registry permissions?
We attempted to configure the permissions of a Registry key (HKLM\Software) via GPO. (https://www.stigviewer.com/stig/windows_server_2019/2019-12-12/finding/V-93025)
However this resulted in a ...
0
votes
0
answers
58
views
After setting the windows 10 gpo "DenyUnspecified" and "DenyRemovableDevice", and configure AllowDeviceIDs device is visible but cannot be removed
I need to allow only specific usb media on my windows 10 Host (21h1).
The gpo configuration:
GPO_LocalMachineRegistryKeySet "Software\Policies\Microsoft\Windows\DeviceInstall\Restrictions&...
1
vote
0
answers
473
views
Problems with FIPS Mode in Adobe Acrobat Pro 2020 and Adobe Reader DC
Security requirements are such that we need to set this key depending on software:
HKCU\Software\Adobe\Adobe Acrobat\2020\AVGeneral\bFIPSMode (DWORD = 1)
KHCU\Software\Adobe\Acrobat Reader\DC\...
0
votes
1
answer
25
views
If I've already created a registry entry on 2 servers, when I roll it out to the rest of the estate via Group Policy , is it "Update" or "Create"?
If I've already created a registry entry on 2 test servers, when I roll it out to the rest of the estate via Group Policy , do I choose "Update" or "Create"?
2
votes
1
answer
2k
views
How does Windows set the %SystemRoot% variable?
The %SystemRoot% environment variable contains the path to the Windows directory. (e.g. c:\windows)
SystemRoot is not configured in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session ...
0
votes
1
answer
3k
views
Registry option "do not use proxy server for local addresses"
I just create a gpo to configure proxy with this registry options:
https://theitbros.com/config-internet-explorer-11-proxy-settings-gpo/
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet ...
2
votes
1
answer
404
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 ...
0
votes
1
answer
297
views
Delete selected subkeys in a registry key
I need to Delete selected subkeys in a registry key.
For one of the subkeys I need to delete I tried:
(SET _KEY=SOFTWARE\Microsoft\Windows\CurrentVersion\UFH\SHC)
REG Delete "HKCU\%_KEY%" /V ...
0
votes
2
answers
101
views
Windows "reg.exe" complaining missing user right when using "save" subcommand
When using "reg.exe" on the command line, when using the "reg.exe save" subcommand, i get the error message...
"FEHLER: Dem Client fehlt ein erforderliches Recht."
which ...
0
votes
1
answer
528
views
One user has two SIDs with same profile path in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
Why would a user on a Domain joined PC (or any PC, really) have two entries in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList, in the case as these SIDs:
S-1-5-21-...
1
vote
1
answer
803
views
How can I pull Minimum Password Length policy from Windows 10 registry?
Trying to pull the minimum password length policy information from the registry, but it appears that is no longer possible on later versions of W10?
There are a number of documented answers out there ...
0
votes
1
answer
789
views
Applocker - Publisher rule not working
In a bit to reduce the number of Applocker Packaged apps rules now that we are using the private store. We're looking into publisher only rules (right now, we have 1 rule per microsoft store ...
1
vote
1
answer
10k
views
Windows NTP Server Registry Configuration
I inherited an environment with a Windows 2012R2 Domain Controller (serverA) set as the NTP server. This server is going to be retired shortly for a new (separate) 2019 instance. The domain controller ...
1
vote
0
answers
381
views
Registry Key disappearing on reboot after added to read application and services logs via WMI
I have a Windows Server 2019 VM and am trying to collect some specific Windows Event Logs using Get-WmiObject
In order to read an Event Logs channel in Applications and Services, I created a registry ...
3
votes
1
answer
2k
views
Force Windows 10 to load group policy from registry
I would like to apply several group policies (for data protection purposes) on various Windows 10 machines from time to time. The target machines are running with various Windows 10 version (Home, EDU,...
1
vote
1
answer
145
views
Consequences to manually adding a entry to `HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall`
We have an application, lets call it 'App A', that when you run it checks the registry to see if another app, lets call it 'App B', is installed. It does this by searching HKEY_LOCAL_MACHINE\SOFTWARE\...
0
votes
1
answer
179
views
Is there a way to restore a backed up .reg while deleting added keys, not just overwrite existing keys?
I want do an export of the current state of the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
And so I can do that with:
reg export HKEY_LOCAL_MACHINE\...
0
votes
1
answer
279
views
How can I disable the Windows Game DVR from the command line?
I need to disable the Windows Game DVR for a collection of Windows computers that will be running student exam / testing software, so that students can't use the Game DVR hotkeys to record the test ...
2
votes
1
answer
2k
views
Can i update the windows registry entries for HKEY_CURRENT_USER values without elevated privileges?
Links such as the following suggest that I should be able to edit the registry without elevated privileges, as long as I only update HKEY_CURRENT_USER.
https://blog.codeinside.eu/2015/08/11/reg-exe-or-...
1
vote
1
answer
609
views
Wine in Docker - "reg add" only keeps effects temporarily
Ive been bashing my head against a wall about this.
I'm looking to add an executable to the PATH under wine on Ubuntu 20.04.
Trying to configure this from the dockerfile, but having a weird issue.
...
0
votes
0
answers
147
views
Redirect or alter specific registry key under HKEY_LOCAL_MACHINE based on the logged in user
We would like to run an application under Terminal Server that's typically designed to run on a single client machine connected via network to a local server. This will mean multiple users logged on ...
0
votes
1
answer
5k
views
Disabling auto-login via gpedit?
Recently, one of our employee has left his computer in the customer's office, which could possibly leak some information from that device(Thankfully, it didn't happened). Right now, all of our ...
0
votes
1
answer
378
views
Adding registry key via GPO creates but not affects to the system?
I could not give a detailed title to my question. But my problem is: I'm trying to add keyboard languages from Group Policy (Windows Server 2012R2) with Registry. I added like below:
Then I check (as ...
0
votes
1
answer
95
views
Additional info request on DSC Syntax for Binary Registry Key
I have more questions about implementing the solution found in: DSC Syntax for Binary Registry Key
For the most part the solution suggested by Matthew Whetmore worked... but if the data starts with &...
0
votes
1
answer
2k
views
How do I determine what Registry Keys a GPO modifies?
It seems like such a simple question, but after hours of googling I can not find a way to correlate a GPO policy and a registry key that it would modify.
Does anyone have a way to decrypt them?
1
vote
1
answer
1k
views
Will GPO setting registry keys be reapplied on reboot?
Most GPO settings are either enforced/user can't change the setting/ or applied only one time /software install/. My question is - if I set a specific registry key using a GPO and the registry key is ...
0
votes
1
answer
214
views
Why would a server in an AD environment allow Remote Registry access by FQDN, but deny and lock out accounts over IP address?
We have a situation where a software application cannot be installed because the admin account used during installation gets locked out during prerequisite checks. After some investigation, we found ...
0
votes
1
answer
480
views
How can I create a registry key on all domain machines with group policy?
I have a domain with a controller and joined workstations. I want to create a registry item on all of the connected workstations using a group policy.
I have created a group policy and tried to create ...
0
votes
1
answer
441
views
difference between two registry locations for HKLM\SOFTWARE\Microsoft\Windows\ and HKLM\SOFTWARE\Microsoft\Windows NT\
What is the difference between the two registry locations
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon:LegalNoticeText
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System:...
-1
votes
1
answer
75
views
Loading a performance DLL of a windows 7 service [closed]
I am trying to do a POC of recently published windows zeroday flaw where a vulnerability has been exposed in windows registry entries. I have created a performance subkey of a service RPCEPTMAPPER ...
3
votes
2
answers
52k
views
Checking TLS 1.2 enabled or not on my Windows Server
I need to check if TLS 1.2 is enabled on my Windows Server 2019.
In the registry the key TLS 1.2 is not present under Protocols
But when I browse on a secure website (hosted on this server in IIS) ...
0
votes
2
answers
682
views
Persistent registry settings on a workgroup computer with local group policy
From what I understand (and have tested) in What is the difference between Group Policy and Registry Policy processing in Windows?, computers within a domain would have a policy refresh every 90 to ...
1
vote
1
answer
556
views
Group Policy: existing Policy values deleted when running gpupdate
Domain Controllers (2): Samba 4
Client: Windows 10 1909 x64
After joining a computer to the domain, when I run gpupdate /force for the first time, the values under these keys are deleted:
HKLM\...
0
votes
1
answer
4k
views
Read Local "HKEY_CURRENT_USER" from another user, windows batch/powershell
Ok is a tricky question, I know.
I have a software that runs validation scripts in all computers in network. I can create my own scripts too. But I found a problem that the script runs as specific ...
3
votes
1
answer
32k
views
Microsoft Intune - How to modify Windows 10 registry settings?
Win32 app uses bat file to install software and edit registry keys. Registry keys are modified if I run bat file locally but not when run through via Intune because Intune runs installation as System.
...
0
votes
1
answer
744
views
Windows Registry CREATOR OWNER
I've got a program that creates a registry key in HKCU, but after that does not have the rights to write to it. It seems to me that CREATOR OWNER does not work.
The strange thing is that it does work ...
1
vote
0
answers
2k
views
Determine the root cause of Windows update rendering PCs unbootable
Dozens of Windows 8.1 PCs across my environment show Fatal Error: C0000022 and cannot boot any further after installing either KB4541505 or KB4541509. Automatic Repair fails; they cannot be restored ...
0
votes
1
answer
1k
views
Firefox addon uninstall through registry
I have installed a Firefox add-on by adding a key-value pair in the registry under the following path-
Software\Policies\Mozilla\Firefox\Extensions\Install\1 = "https://addons.mozilla.org/firefox/...
0
votes
0
answers
846
views
registry keys are getting imported under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WOW6432Node\ on windows server2016
I am trying to import registry keys along with my application installation using powershell. I am using below command to import registry values (which is placed in a file RegFileName)
reg import ".\$...
0
votes
1
answer
606
views
Delete Windows Share 'History' "the folders shared below were previously shared"?
When trying to share a folder, if there have been previous shares on folders (which have since been removed), Windows will prompt: "the folders shared below were previously shared" and ask what you ...
1
vote
2
answers
231
views
How to prevent user from disabling the Mcafee
How can I prevent user from disabling the Mcafee VirusScan Enterprise 8.8? Is there any Registry or Local Group Policy that I could do it?
0
votes
1
answer
488
views
Restrict Outlook client to corporate accounts
Does anyone have any experience with restricting Desktop clients of Outlook to only corporate accounts?
We have contractors who will be using our equipment and have our email, but they also require ...
2
votes
2
answers
6k
views
Change Registry Key Permissions Access Control List using only Command Prompt
I am trying to change the Access Control permissions on a specific registry key i'm generating using a batch file. I try using regini.exe to pull the configuration from a .ini file and run into ...
3
votes
0
answers
769
views
Microsoft IIS HTTP/2 Vulnerabilities Registry Keys Recommended Values
Microsoft "fixed" the HTTP/2 vulnerabilities recently discovered. The updates add the ability to create the registry keys to stop the vulnerabilities, they don't actually fix the vulnerabilities ...
1
vote
1
answer
2k
views
Registry mod to replace PowerShell with CMD in WinX menu (2019 new windows 10 update)
At some point in 2019 Windows 10 updated to where PowerShell is the default in the WinX menu. I'm looking for a solution to change this that can be syspreped and cloned. So a registry modification or ...
0
votes
1
answer
559
views
Registry Setting - Windows lock screen grace period
I understand that there's a registry setting for configuring a period of time after the screen saver has activated during which the user can provide input (e.g. mouse movement) and not have to log-in ...
0
votes
1
answer
225
views
Multiple values returned with GetDwordValue .uvalue
On a few systems I have GetDwordValue return duplicate values (.uvalue)
The commands are
$reg=Get-WmiObject -List -Namespace root\default -ComputerName $ip.ipaddress | Where-Object {$_.Name -eq "...
0
votes
1
answer
5k
views
Delete registry value specific to user and contained in user's hive
Trying to get a script to run across my domain to delete a registry value contained in the user's hive.
This is the path it will be located: HKCU:\Software\Microsoft\OfficeCompat\Outlook\...
0
votes
1
answer
2k
views
Export a single entry of the registry
Is this posssible? For example i have a entry with the Name "DefaultProfile" and the Value "test". How can i export only this one entry not the full tree?
I was thinking about somethign like reg ...