Problème message ancien virus

Fermé
torumo2 Messages postés 11 Statut Membre -  
 Utilisateur anonyme -
Bonjour,
depuis que j'ai désinstaller un virus j'ai ce message qui s'affiche sur mon bureau au démarage:

//-----------------------------------------------------------------------------
//
// This script copies a file to the default users startup folder
// i.e. c:\documents and settings\default user\start menu\programs\startup
// Parameters Required: Full Path of file to copy
//
// Note: This script will not copy the file when in Limited User Mode
//
//-----------------------------------------------------------------------------

try
{

var STARTUP_USERPROFILE = "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\Startup"
var USERPROFILE = /%USERPROFILE%/g;

var Wshell = WScript.CreateObject("WScript.Shell");
var FileSys = WScript.CreateObject("Scripting.FileSystemObject");
//Get the first argument from the commandline which provides the name of the file to copy
var fileToCopy = WScript.Arguments(0);

//Build Default User Startup folder from items found in the registry
var strPath = Wshell.RegRead(STARTUP_USERPROFILE);
strPath = strPath.replace( USERPROFILE , "c:\\Documents and Settings\\Default User");
//WScript.Echo(strPath);
strPath += "\\";

//Copy file to startup default user path
//WScript.Echo(fileToCopy);
FileSys.CopyFile( fileToCopy, strPath, true);

}
catch(e)
{
//can't copy file
}

merci de vos réponses.

A voir également:

1 réponse