„msdt-reg-patch.ps1“ hinzufügen

This commit is contained in:
Dominik Höfling 2022-06-01 20:41:49 +02:00
parent 05c9aa6fe5
commit 9acd973727

11
msdt-reg-patch.ps1 Normal file
View 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