Once
you got the meterpreter session
use ‘shell ‘command to get
command prompt of the target
How to Disable and
Enable services.msc
REG add
"HKCU\Software\Policies\Microsoft\MMC\{58221C66-EA27-11CF-ADCF-00AA00A80033}"
/v Restrict_Run /t REG_DWORD /d 1 /f
To Enable services.msc
REG add
"HKCU\Software\Policies\Microsoft\MMC\{58221C66-EA27-11CF-ADCF-00AA00A80033}"
/v Restrict_Run /t REG_DWORD /d 0 /f
How to Disable and Enable
Internet Options
REG add "HKLM\Software\Policies\Microsoft\Internet
Explorer\Restrictions" /v NoBrowserOptions /t REG_DWORD /d 1 /f
To Enable Internet Options:
REG add
"HKLM\Software\Policies\Microsoft\Internet Explorer\Restrictions" /v
NoBrowserOptions /t REG_DWORD /d 0 /f
How to Disable and
Enable Folder Options
REG add
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v
NoFolderOptions /t REG_DWORD /d 1 /f
To Enable Folder Options:
REG add
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v
NoFolderOptions /t REG_DWORD /d 0 /f
How to Disable
and Enable Security tab
REG add
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v
Nosecuritytab /t REG_DWORD /d 1 /f
To Enable Security tab
REG add
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer /v
Nosecuritytab /t REG_DWORD /d 0 /f
How to Disable
and Enable Group Policy
REG add
"HKCU\Software\Policies\Microsoft\MMC\{8FC0B734-A0E1-11D1-A7D3-0000F87571E3}"
/v Restrict_Run /t REG_DWORD /d 1 /f
To Enable Group Policy
REG add
"HKCU\Software\Policies\Microsoft\MMC\{8FC0B734-A0E1-11D1-A7D3-0000F87571E3}"
/v Restrict_Run /t REG_DWORD /d 0 /f
How to Disable
and Enable Task Manager
REG add
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v
DisableTaskMgr /t REG_DWORD /d 1 /f
To Enable Task Manager
REG add
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr
/t REG_DWORD /d 0 /f
How to Disable
Registry Editor
REG add
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v
DisableRegistryTools /t REG_DWORD /d 1 /f