Registry Keys
2 TopicsGroupPolicy/Registry issue
My MDR product is having an issue with scanning the registry of our hosts. It times out and causes performance issues, essentially bringing down the host. I opened a case with their support and we narrowed the issue down to this reg key: Computer\HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects There are hundreds of sub keys, each with their own sub keys. It seems each time group policy is applied to the host, 2 new keys are created, a machine and a user key. As a test, I deleted everything under the main key and rebooted. After logging back in, 2 new keys had been created. After a day I checked again and there were a dozen or more. Now after a few weeks we're back up to hundreds. Does anyone have any ideas as how to automatically clean up the older entries to keep the number to a minimum? Or is there a way to stop this behavior? Thanks116Views0likes7CommentsHow to wirte command to update the ImagePath REG_EXPAND_SZ type key ?
Hi I am trying to edit an existing registry key from a .reg file. I want to change the vaue of the path below command is not updating registry key How to wirte command to update the ImagePath ? Windows Registry Editor Version 5.00 [HKEY_Local_Machine\System\CurrentControlSet\Services\c2wts] "ImagePath"=REG_EXPAND_SZ:"%ProgramFiles%\Windows Identity Foundation\V3.5\c2wtshost.exe"179Views1like0Comments