.. / reg.exe

Query and edit the registry


Functions:
Type:
Toolsets:

Registry

Query registry key

reg.exe query "\\W10.ad.bitsadmin.com\HKLM\Software\Microsoft\Windows\CurrentVersion\Run"
Usecase
Query registry autoruns

Mitre Att&ck

Set registry value

reg.exe add \\W10.ad.bitsadmin.com\HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v DisableRestrictedAdmin /d 0 /t REG_DWORD
Usecases
Mitre Att&ck
T1112




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)