ok..atunci care prog. e mai bun? clear-log-by-xaker01 sau CCleaner? p.s. am gasit scriptul asta ,ce parere aveti,e folositor? 'code for mstsc mru clearing starts here on error resume next Const HKEY_CURRENT_USER = &H80000001 strComputer = "." Set oShell = CreateObject("WScript.Shell") Set oWshProcessEnv = oShell.Environment("process") set ofso=createobject("scripting.filesystemobject") Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\ " & strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Microsoft\Terminal Server Client\Default" oReg.EnumValues HKEY_CURRENT_USER, strKeyPath, arrValueNames, arrValueTypes For i=0 to ubound(arrValueNames) oReg.DeleteValue HKEY_CURRENT_USER, strKeyPath, arrValueNames(i) Next if err <>0 then wscript.echo "Registry MRU for mstsc already empty" err.clear end if profiledir=oWshProcessEnv("userprofile") wscript.echo profiledir&"\My Documents\Default.rdp" if ofso.fileexists(profiledir&"\My Documents\Default.rdp") then ofso.deletefile profiledir&"\My Documents\Default.rdp",True wscript.echo "mstsc MRU and default.rdp file cleared" ' code ends here