In Windows XP there's three separate ways a file can be run. You will want to check all of these places to see where this file is running from to disable it cleanly. To simply find out where the file is so that you can rename it, use
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx"" or you can do it manually if AutoRuns doesn't work for you.
For manual removal of startup items in Windows XP a startup program/file can be located in:
1. The startup folder in the "Programs" or "All Programs" dropdown folder in the start bar. (You'd disable the file from running by deleting the shortcut or moving it elsewhere)
2. In the msconfig utility, there are the "services" and the "startup" tab (you uncheck the file from running).
3. From the registry (This for both local and all users - I'm not sure if this is the same in windows vista - You would disable the file by deleting the registry key). I'll list a full list below with descriptions for WinXP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
– these programs automatically start when any user is logged in. It is used for all users on this computer
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
– The programs here start only once when any user is logged in and will be removed after the Windows boot process would have finished.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
– The programs here start only once when any user is logged in and will be removed after the Windows boot process would have finished. Also the RunOnceEx registry key does not create a separate processes. The RunOnceEx registry key also support a dependency list of DLLs that remain loaded while either all the sections or some of the sections are being processed.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices
– these programs automatically start when the system is loading before the user logs in. It is used for service applications - antivirus, drivers etc. In Windows NT/2000/XP it could be canceled by admin to use other service startup sections. Read more at services startup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce
– these programs automatically start only once when the system is loading as service application and items are deleted after the Windows boot process have finished.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
– The programs here automatically start when the current user logs in. It is used only for current logoned user.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
– The programs here automatically start only once when the current user logs in and it will be deleted after the Windows boot process would have finished.
HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
– The programs here automatically will be copied into HKEY_CURRENT_USER\...\Run for every new user account.
HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
– The programs here automatically will be copied into HKEY_CURRENT_USER\...\RunOnce for every new user account.Well, I hope this helps. :)
Edit: The forum added the spaces in "CurrentVersion" for some reason, they are not there in the registry or in the text I wrote here.