Wednesday, December 28, 2005

NotMyFault – The fault maker!

NotMyFault is a tool developed by Mark Russinovich of Sysinternals. NotMyFault can generate faults like High IRQL fault, Code Overwrite, Buffer Overflow, Deadlock etc. which can crash Windows. This tool can be helpful in crash dump analyzing. Whenever Windows crashes due to some serious error, it creates a memory dump file (%windir%\memory.dmp, for example) and this dump file can be analyzed later using debugging tools such as LiveKD, to find out more about the crash.

Since NotMyFault is a user mode program, it can not directly cause such crashes. Hence it uses a driver (aptly named MyFault.sys) to generate faults by performing illegal operations in Kernel mode, also known as Privileged mode.

Here’s the screenshot showing NotMyFault, just select the type of the fault you want and click "Do bug"!
Image Hosted by ImageShack.us

NotMyFault is a freeware and can be downloaded from here (direct link).

Wednesday, December 21, 2005

Unlock 'em!

When you are deleting a file in Windows, sometimes you can get errors like "Cannot delete file: Access is denied", "The source or destination file may be in use", "The file is in use by another program or user. Make sure the disk is not full or write-protected and that the file is not currently in use".

This happens if the file that is being deleted is still loaded in memory. So before deleting it, it has to be unloaded from memory. Unlocker is a small freeware which just does that. Once its installed, it adds itself in right-click context menu. One has to just right-click on the "locked" file and click "Unlock". This opens the Unlocker through which the file can be unlocked. Afterwards, the file can be deleted easily.

Get it here.