Friday, June 17, 2011

complete uninstallation of softwares [even from registry]]

Problems:
  • problems created due to installation of a software presists on its uninstallation
  • computer performs slow
  • if initial installation of a software fails due to some reason then it cant be reinstalled later
Reason : now you must be thinking " why the hell , do we need to an uninstallation-software to remove an installed software , when we can directly remove it from the Control Panel? "the one word-answer for the above question is the " Registry ".Stronger the registry , beter the performance will be.

Explanation : "Registry" is the back-bone of the windows operating system which stores every policy,every license, every attribute related to hardware & software. Its just more than a mere database.For every click that we make Windows first consults the registry ,checks all policies and licences and than generates a response.

Thus when we install a software the O.S automatically creates registry settings against it . In case of certain Software these registry settings are left behind in the machine . This may lead to several problems like :1. slower response time of a machine 'coz presence of too many unimportant keys. 2.had there been problems with initial installation of a software , the problems persist even on reinstallation [as previsous registry settings are implemented automatically].[note: not all software left behind their registry settings on un-installation. Some of them do. It completely depends upon the developer. Coz not all developers love to wash dishes after having food]

Solution: these software specific settings can be removed manually. but thats not only complicated but can result in fatal-consequences if not done properly.So thats not recommended.There are various uninstallation-software available in market which can help you to overcome this problem with ease.Using them to uninstall software ,also ensures removal of unimportant registry settings.I personally recommend :


Features :

real time installation monitor

Forced uninstall

Scanning for left-overs

Multilevel-backup system

Junk file cleaner

Evidence remover

Windows cleaner

Autorun manager

Unrecoverable-delete


Few other uninstallation-programs are:

Advanced Uninstaller Pro
Softonic's top uninstall download
Your Uninstaller! Pro very easy to use . with drag-n-drop uninstall utility
Easy Uninstaller performs multiple uninstall. just line then & watch them uninstall
Zsoft Uninstaller
seeks out remnants of uninstalled programs in the registry
Magic Utilities variety of utilities including uninstall and process-killer
Rogue Remover
removes hard to find malwares such as trojans and adwares

Friday, June 10, 2011

trick to obtain object of type interface in java

this concept makes java so scalable and newer vesions of JDK [java development kit] are incorporated with new functionality without messing with the previous packages and classes using this.

in fact this is one of the key concepts upon which the JDK is built.in recommends use of Interfaces on to of hierachy.Thus:
Interfaces -----> implementing classes------> sub-classes


To understand this concept lets take an example :-
in JDBC [java database connectivity] we write the following line of code to create a connection:

Connection con = DriverManager.getConnection( "jdbcurl", "username" , "password") ;

from the above code it can be well understood that ' DriverManager ' is a class which has a static method getConnection() [which takes 3 arguments] and returns an object of type Connection.But ' Connection ' is an interface in java.So how can it ever have an object ?
Problem :- Interfaces cant have objects since they contain atleast one abstract method. So how does ' Connection ' Interface have an object [i.e. ' con ' here] ?

Solution[Concept behind] :-
we know once we have the appropriate object, then using any method is not a problem.But how to obtain object of Interface, coz dats not possible. Thus to obtain objects of type Interface the following trick is deployed

interface Interface
{
public void mymethod(); //abstract method without body
}
class B implements Interface
{
public void mymethod() //giving body to the method
{
System.out.println("Hello Geeks");
}
}

class A
{
public Interface mymethod2() //notice the return type of this method
{
Interface itr=new B(); //here is the juice of the program
//itr is an object of type Interface with content of class B
return itr;
}
}
public class InterfaceProject
{
public static void main(String[] args)
{
A aobj=new A();
Interface interface_obj=aobj.mymethod2(); //thus creating object of type interface
interface_obj.mymethod();
//finally mymethod() is called with interface_obj
}
}


similar trick is found in jdk at various instances: for example ' Servlet ' is an interface having certain concrete and certain abstract methods. this interface is implemented by classes like HttpServlet class and GenericServlet class.These classes give their own implementation to the methods defined abstract in the ' Servlet ' interface.

one should also understand that interface-object and object of type interface are not the same things.the former is not possible while the later is.

Thursday, June 9, 2011

cracking BIOS password

PROCEDURE:- open the motherboard battery and then place it again in its place.this removes the existing password.

its really easy to do that but the working
mechanism is important to understand !


CONCEPT BEHIND:- We know 1.RAM(i.e the main memory) is volatile. whereas 2.ROM(i.e Read Only Memory) is a non-volatile memory and we cant write anything to it.the bios program is embedded in the ROM-chip by the motherboard manufacturing vendor.but if ROM is truly a read Only Memory then how can it store the customized bios settings (like boot device priority, bios date-&-time,bios password,etc.) ?And if ROM is not the place then where these settings are saved (because that memory-space has to be writable as these settings are changeable) ?



these settings are actually stored in a volatile memory chip present within the motherboard-called CMOS [Complementary metal oxide semiconductor] .since this CMOS is writable, its volatile too. As such once the power goes off ,it will also loose all its data. that's why its kept alive with the help of the mother-board battery power.







Therefore on taking out the mother-board battery the custom-bios-configurations are lost from the CMOS and the motherboard is reset

create driver backups from already installed drivers

WHAT IS DRIVER SOFTWARE: in simple language they are a special category of software which integrate/link the hardware to the operating system.without them either the hardware wont be recognized properly by the o.s. or it malfunctions. as such u may not get the optimum performance out of your installed hardware.

that is why nearly every hardware comes with a driver-disc which are operating-system-specific.in case of computers (windows users) some drivers are o.s. inbuilt. these inbuilt drivers are thus very generic drivers from the o.s. manufacturing vendor and not from the hardware vendor. hence these are not very hardware specific. so its always recommended to install drivers provided by hardware manufacturing vendor to get the maximum performance.
[ that is why Windows 7 recognizes literally everything because of its inbuilt driver support. ]

PROBLEM : suppose u have a running system. but u have lost the driver disc of various hardware [ like NIC-card driver, sound-driver, display-driver, motherboard-driver,etc.].n now your system is having problem but u cant format it because of post-format-hardware-malfunction fear[as u have lost the driver-discs and cant grab the appropriate drivers for whatsoever reason]. what to do now?

SOLUTION: in these cases the following 2 software can help you to get over the problem.these are powerful driver-manager software for windows that can backup,restore,search and update your drivers with couple of mouse clicks

Driver Magician
CHIEF FEATURES:-

1.Back up device drivers of your computer in four modes.

2.Restore device drivers from backup in one mouse click.

3.Update device drivers of your PC to improve system performance and stability.

4. Detect unknown devices.


5.Clone all drivers to an auto-setup package (.exe), so you can restore drivers without installing Driver Magician.


CHIEF FEATURES:-

1.Quickly backup device drivers for your computer

2.Install multiple drivers with a single click.

3.Enhanced driver detection and faster download speed by more reliable
New Driver Download Manager

4.Ensure your drivers are always up-to-date by Driver scan scheduler.

5.Remove invalid or useless drivers, improve system performance and stability.




[ WITH THESE SOFTWARE YOU CAN ALSO VIEW VARIOUS TECHNICAL DETAILS & SPECIFICATIONS OF THE DRIVERS PRESENT IN YOUR SYSTEM ]

Saturday, June 4, 2011

fix any locked-out/unbootable windows system

in our everyday life we come across systems which are locked-out or unbootable. there may be numerous reasons behind this.some of them are:
1.user accounts have passwords which are lost/forgotten
2.boot files have got corrupted as such booting fails or system restarts.
3.some of the core system32 files have been corrupted by virus infection
4.windows administrator password is lost
5.system can not be restored or restoration doesnt solve the problem
and many more

But irrespective of these reasons we need to make the system up and running or at least boot it to backup all necessary files from hard-disk. fortunately for all these problems there is a single solution called MSDaRT[Microsoft Diagnostic and Recovery Toolkit] .it comes in the form of a bootable disc. u just have put it in the cd/dvd drive and boot the machine using cd/dvd drive. once u do that ,u will be shown a list of operating systems present on your machine. here u have to select the one you want to repair and follow wizard steps provided.MSDaRT comes with some very powerful features as listed below.you can even reset the admin password with it.

MSDaRT[Microsoft Diagnostic and Recovery Toolkit]
Microsoft Diagnostics and Recovery Toolset is a complete suite of powerful and versatile tools that allow you to repair unbootable or locked-out systems, restore lost data, and diagnose system and network issues while the system is safely offline. Microsoft Diagnostics and Recovery Toolset includes the following tools:


* Emergency Repair Disk (ERD) Commander * Disk Commander Wizard
* ERD Commander Boot Media Wizard * Command Line
* ERD Help * ERD Explorer
* File Search * Notepad
* Unzip * Chkdsk
* Windows Shell * Crash Analyzer Wizard
* Disk Wipe *System Restore Wizard
* ERD Registry Editor * File Restore
* Hotfix Uninstall Wizard * Locksmith Wizard
* Solution Wizard * Solution Wizard
* Autoruns * Disk Management
* Event Viewer * Services and Drivers
* System Information * File Sharing
* Map Network Drive * TCP/IP Configuration


Supported platforms:
* Windows XP (x86,x64) both 32 & 64 bit systems
* Windows Vista (x86,x64) both 32 & 64 bit systems
* Windows 7 (x86,x64) both 32 & 64 bit systems

create a file/folder with no name

1.select any file/folder

2.right click on it and select rename (or you can select the file and then press F2)

3.press and hold "Alt" key. While holding Alt key type '0160' from numpad [notice: this trick doesn't work if press the mentioned number using number keys which are just above the alphabets as they have a different key-value ].

4.press enter/return key , and your nameless file is created.
[note: we all know that every file/folder should have a name 'coz that forms its basic identity. so this topic itself seems like violation of that rule. but actually its not . here the name of the file is actually set to a "space character". n that's why its name is not visible though it certainly has got a name]

now to create another nameless file/folder at the same location:

a->select the file and press F2.

b->hold 'Alt' key and type '0610' from numpad

c->release the Alt key.now without anything else, press and hold the 'Alt ' key again and type '0160' form numpad

4.press enter/return key and a second nameless file/folder is created.
[we ll know that there cant be two files/folders with same name at the same location. here too that rule is obeyed.here we have set the file/folder name to 2 'space-characters'. similarly you can repeat step-c as many times you want {and still all the file/folder will continue to seem nameless}]