mstsc 접속기록 지우기

2018. 5. 4. 13:5699. 정리전 - IT/29. IT 잡동지식

원격접속 로그 지우기


RDP_Log_Cleaner_Win7_8.cmd


@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