HiJackThis is a software that is able to detect unusual entries on your registry and hard drive and create a log file with the information it gathered about the running processes. This log file can either be analysed by the user himself or be copied into an automatic analyser that shows if the entries are rated safe or dangerous.
You can download HiJackThis here: http://www.trendmicro.com/ftp/products/hijackthis/HiJackThis.msi
If you made the program create a log file after scanning, it is recommended to copy and paste it into an automatic analyser such as the one you can find here: http://www.hijackthis.de/en. The analyser will then give you an overview of the scanned files combined with a rating given by visitors.
If you find any unsafe entries, you are given the option to fix them in the program's window. Be cautious what you delete however, inform yourself about the stated entries and do not rely on information provided by a single source. Always double-check before you delete an entry.
I've got the following error message on Debian Linux (6.0) with Courier IMAP server:
Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library)
when I tried to access a IMAP share. The resaon for the problem seems to be that the "fam" package was not working correctly. The solution is to install the gamin package which can replace fam in a courier setup:
apt-get install gamin
Dont worry when you get a message from apt that libfam0 gets uninstalled but is required by courier. This had no geative effects on my server.
On every Windows system able to create system restore points that undo any configuration changes made after their creation, there is also the possibility to create simple quick-link icons, consisting of a few line of code, that enable you to create restore points with a double-click. On Windows XP this is achieved with only two lines of code. Learn in this post, how it is done. In Windows Vista and 7 however, there are a few problems that stand in the way of our (automatic) one-click system restore point. First one is, that the script we need to run to create system restore points can only be run with administrative powers, so we need a way to get those. Second is the annoying User Account Control that asks as if we really want to run that script. This would not be such a great deal, but if you are the kind to create restoration points quite often or after a time schedule, the UAC may become a great pain.
To start with the administrative rights, there are more than one way to get those. The probably least complex one is to add the Run as administrator option to the menu appearing upon right-clicking the script:
This is done by adding the appropriate keys to the Windows Registry. To open that, open Run... by entering run into the Windows search bar in the main menu and clicking on the program. Type in regedit into Run and the Windows Registry will open. It consists of two columns, one on the left, containing the key directories, and one on the left, showing the keys' values. Take on the left column and browse the HKEY_CLASSES_ROOT\VBSFile\Shell directory. Right-click it and select New > Key. Name it Runas and leave its values as they are (there is only one). Now right-click the Runas key and again select New > Key. Name the newly created key Command and leave the values as they are. Right-click the Command key and select Export.... Give it a name and save it somewhere you will find it. Go to the directive you saved it and open it with notepad. Erase all of its contents and paste this:
Windows Registry Editor Version 5.00
Save the file and double-click to merge it with the registry. The Open as administrator option should now be available to all Visual Basic Scripts (you can use the one from the linked XP tutorial with this option enabled).
However, this option neither is automatic nor does it circumvent the UAC. An option that enables creating a restoration point on double-click (but still, without disabling UAC) is to alter the script that you use for this. Open a new notepad (it has to be notepad) and paste the following code:
if wscript.arguments.count = 0 then
set objshell = createobject("shell.application")
objshell.shellexecute "wscript.exe", wScript.scriptfullname & " run", , "runas", vbnormalfocus
getobject("winmgmts:\\.\root\default:systemrestore").createrestorepoint "Automatic Restore Point (Win7 Script)", 0, 100
Save the script as *.vbs and make sure to select All files from the dropdown menu before saving! With this, you have enabled administrative rights beforehand every time you run the script. Now there still is a slightly circumstantial method to also disable the UAC prompt. To achieve this, you need to have a desktop shortcut pointing to a scheduled task that runs the script with highest privileges grantable. To access scheduled tasks, browse Menu > Control Panel > System > Administrative Tools > Scheduled Tasks. Create a new one without any trigger, executing your script (be sure to remember the task's name, you will need it once more) and check the Run with highest privileges box on the first tab.
Now right-click your desktop and create a new shortcut. Let it point to following location (enter your own task-name in the last option):
C:\Windows\System32\schtasks.exe /run /tn "EnterYourTaskNameHere"
Upon opening, it should execute the script without asking for anything.
If you have a directory with many files (a few thousand in my case) and need to know which one is the newest, then the following command might be useful. It returns the name and details of the newest file in a directory where it is executed:
ls -tl | sed -n 2p
Sometimes it is necessary to just put a file that does not want as you want in the trash can. And sometimes doing this simple thing is not possible, because the file is being used by another program or is bound to other processes . If this is the case, the file is treated as if it was "locked" and changes cannot be done to it. If you are sure that the file needs to be deleted anyway, there is a tool called Unlocker that is able to cut off any file from its bonds so that it can be moved, renamed or even deleted. This can be pretty handy if your computer too stubborn to see its mistakes.
Unlocker is available for both 32 bit and 64 bit systems on the emptyloop homepage: http://www.emptyloop.com/unlocker/#download
To be able to use Unlocker with a rightclick, make sure that the Explorer extension is checked during the installation process.
To delete files afterwards, rightclick them and select Unlocker. The opening window will tell you if the selected file is locked or not and gives you the option to move, rename or delete it instantly.
If you have ever tried to set another default application for opening file folders on Windows XP and to turn it back afterwards, you will have run into a really nasty bug.
If you try to restore the default settings of an application to open a folder, the folder will no longer open as before (normal explorer window, further folders open in the same window) but will open a search window on doubleclick.
You cannot achieve the former behaviour by trying to reset it in the control panel. What you have to do is to create a new opening action for File Folder and set it as default. Afterwards, open Run... and enter regedit to open the Windows Registry. On the left side of the registry, there is a list of directories. Browse this list to HKEY_CLASSES_ROOT > Directory > shell and click on the plus-button next to shell to unfold the actions to open file folders with. Now look for the new opening action you have previously created and set as default. Rightclick it, choose Delete and confirm your choice. It is not enough to delete this entry in the Control Panel, it has to be done in the registry. Close the registry after deletion and try out doubleclicking a folder. It should now open like it usually used to.
There is a feature added to the Show Desktop panel in the bottom right corner of the screen that enables you to free the desktop of all windows instantly if you want to drop an item upon it. To do so, just drag the desired item on the panel, hold it a split-second and all open windows will minimize, allowing you to drop the item on the desktop.
If you know the feeling of browsing the default Windows Control Panel for half an hour and still not having found the option settings you looked for, there is a solution that might ease your life: There is a hidden option that lets you view all of the Control Panel's categories and more in a detailed and well structured overview, it's just not that obvious to access. To do so, open any Windows Explorer window and enter following in the top bar, that usually shows the directory path of your current folder:
Upon entering the input will change into All Tasks and you will be shown a huge list of settings:
If you do not want to type in the code again and again to access the list, just drag the icon on the far left of the browser bar and drop it anywhere on the desktop to create a link.
The common computer user often does not know that a simple uninstall of a software he or she is no longer in need of will not erase the program completely but will leave traces on your hard disk. These may stack up to a fairly high size and can slow your computer down. The same goes for all kind of temporary files your system stores, the most common being temporary internet files. Deleting these files manually can be a hard thing to do, especially if you do not know where to find those and how to recognize them. That is why there are plenty of tools on the internet that allow you to search for and erase them automatically.
One of these helpful tools is CCleaner.
CCleaner is a tool that allows you to clean up your Windows Registry (the key storage that is responsible for every kind of configuration on your system), uninstall software properly without leaving any traces, disable autostart processes, delete all kinds of temporary files and even format your hard drives and overwrite them up to 35 times so that your old files will no longer be accessible by any usual means.
CCleaner for Windows can be downloaded here: http://download.piriform.com/ccsetup311.exe
It is also available for Mac on: http://download.piriform.com/mac/CCMac1.00.077.dmg
CCleaner's menu is divided into four main options, being Cleaner, Registry, Tools and Options. The Cleaner section is there for deleting temporary files, cookies, recent documents and other stored files of that kind. The Registry section searches the registry for disposable entries such as missing shared DDLs, unused file extensions or obsolete software and gives you the option to delete these entries. In the Tools section you can uninstall software, delete system restore points and wipe your hard drives empty. Options, speaking for itself, lets you configure your settings, mainly to include or exclude data from being deleted.
HoboCopy is a commandline program that lets you copy large amounts of data in a comparatively short time to other copy functions. However, the clue is that it takes a snapshot of the file system before copying, making it possible to copy files that are being used without having to close them or end processes. It can be downloaded here:
Extract the files to any directory (preferably one that is easy to access). To use it, open a Command Prompt (or cmd on Windows XP) and direct it to the directory where you have extracted the Hobocopy files to by using the cd (change directory) command. In my case, I have extracted the files onto a folder on my Desktop (the directory must be specified in double quotes if a space character was used in any of the folders' names):
cd "C:\Users\howtoforge\Desktop\HoboCopy stable"
This is necessary if you want to run HoboCopy because it is only running through a command prompt and the command prompt cannot start it without knowing where it is located. If you doubleclicked on the HoboCopy icon in the explorer, it would only blink up for a split-second and vanish after that, and if you started it with the command without directing the prompt to its location it would only give you:
'hobocopy' is not recognized as an internal or external command,
operable program or batch file.
The basic structure of the command looks like this: hobocopy "C:\source\directory" "C:\destination\directory"
However there are a lot of useful extra options available, as for example incremental copying, meaning it only copies the files that are new to the destination folder. A full list of options can be found here (scroll down to the USAGE section):
As example of how to use HoboCopy I am going to show you how to copy your Windows Live Mail folder to another directory to back it up (backups usually only make sense on different partitions or external hard drives, but for demonstrational purposes I am going to copy it to a folder on the same hard drive).
The Windows Live Mail folder on Windows 7 is located in "C:\Users\howtoforge\AppData\Local\Microsoft\Windows Live Mail" (the AppData folder is hidden, you may have to make it visible through the folder options in the Control Panel first). Open up a command prompt and direct it to the location of your HoboCopy file with the cd command as shown above. I want to do an incremental (includes a statefile, as said in the usage section of the project page), recursive copy of the folder, meaning that it only copies the files that are new to the destination folder and includes all subdirectories of the chosen folder, not just the files. To accomplish that, my command has to be this:
hobocopy /statefile=state.txt /incremental /recursive "C:\Users\howtoforge\AppData\Local\Microsoft\Windows Live Mail" "C:\Users\howtoforge\Desktop\destination"