„msdt-reg-patch.ps1“ hinzufügen
This commit is contained in:
parent
05c9aa6fe5
commit
9acd973727
11
msdt-reg-patch.ps1
Normal file
11
msdt-reg-patch.ps1
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# ==============================================================================================
|
||||||
|
# Purpose : Save MSDT Reg entry an remove for security
|
||||||
|
# Author : sonith UG . Dominik Hoefling
|
||||||
|
# Date : 01.06.2022
|
||||||
|
# ==============================================================================================
|
||||||
|
$strRegKey = "HKEY_CLASSES_ROOT\ms-msdt"
|
||||||
|
$strExportPath = "C:\backup"
|
||||||
|
$strExportFileName = "msdt0day_savepatch.reg"
|
||||||
|
mkdir $strExportPath
|
||||||
|
reg export $strRegKey $strExportPath\$strExportFileName
|
||||||
|
reg delete $strRegKey /f
|
||||||
Loading…
x
Reference in New Issue
Block a user