2018. 5. 4. 13:56ㆍ99. 정리전 - IT/29. IT 잡동지식
원격접속 로그 지우기
@echo off
title RDP Log Cleaner :: NEORAY
mode con cols=50 lines=5
color 0A
cls
REG DELETE "\\.\HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f
REG DELETE "\\.\HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f
del "%userprofile%\Documents\Default.rdp" /Q /A:h
del "%userprofile%\Documents\Default.rdp" /Q
cls
echo ------------------------------------------------
echo ------------ RDP Log Clean Finished ------------
echo ------------------------------------------------
echo Wil You Leave Message To neoray.tistory.com?
set /p YN=Continue(Y/N)?
if /i "%YN%" == "y" c:\progra~1\intern~1\iexplore.exe http://DonzBox.tistory.com
if /i "%YN%" == "n" exit
exit