Windows system skillfully uninstall Java Virtual machine with RUNDLL32

Source: Internet
Author: User

Installing and uninstalling programs in a Windows system is a very easy task and can be easily done by the installation and Uninstall Programs Wizard. However, there are some little-known tips for installing and uninstalling Windows programs, and using the RUNDLL32 command to install and uninstall Windows is one of them, and maybe you've never touched it, so let's enjoy the magical features of it!

Tip: Rundll32. EXE is a command provided by the Windows system that invokes a 32-bit DLL function (a 16-bit DLL file with Rundll). EXE to invoke. DLL file is the foundation of Windows, all API functions are implemented in the DLL, it can not run independently, generally by the process load and invoke, the simplest way to run DLL file is to use Rundll32.exe, its command format is "Rundll32.exe dynamic link library name Function Name Parameter name ".

1. Uninstall the Microsoft Java Virtual machine

In Windows systems, you must install the Microsoft Java Virtual Machine (MSJVM) in order to execute a Web page that contains a Java applet, and Windows 98/2000 is already bundled with Msjvm,windows xp/ Although Microsoft Java Virtual machine has been stripped off in 2003, it can still be installed by hand. However, there is a reality we have to face: Because Microsoft and Sun Company's infighting, Microsoft has stopped the development of MSJVM, so many users to the Sun company provided Java Virtual machine. But Microsoft does not provide MSJVM uninstall tools, using the RUNDLL32 command, we can easily uninstall MSJVM.

Click the start → Run command to enter "RunDll32 advpack.dll,launchinfsection Java.inf,uninstall" In the Run dialog box, and the system will open "Microsoft VM UnInstall" after carriage return dialog box, click the "Yes (Y)" button, the system will begin uninstalling the Microsoft Java Virtual Machine, after the uninstall is completed, you need to reboot the system.

Next, delete "%systemroot%" (that is, the Windows installation directory, the Windows 2000 system is the Winnt directory, Windows xp/2003 is the Windows directory) Java folder; "%systemroot%inf" Under the java.pnf file, and "%systemroot%system32" under the Jview.exe files and wjview.exe files. Finally, open Registry Editor, expand in sequence [Hkey_local_

MACHINESOFTWAREMICROSOFTJAVAVM] Branch and [HKEY_LOCAL_MACHINE

Softwaremicrosoftinternet Explorer

ADVANCEDOPTIONSJAVA_VM] Branch, delete all subkeys under these two branches.

Tip: The above methods do not apply to Windows 98 systems.

2. Reinstall Windows XP from the IE6. 0

Windows system's IE browser has many vulnerabilities and is the most vulnerable to problems. Sometimes you cannot fix it, you can only reinstall it. The RUNDLL32 command makes it easy to do the reinstallation work. For example, let's reinstall the IE6.0 in Windows XP:

First insert the Windows XP CD-ROM into the CD drive, and then click start → run to enter the RUNDLL32 setupapi,installhinfsection DefaultInstall 132 C in the Run dialog box: Windowsinfie.inf command, the system opens the Setup Process dialog box and starts reinstalling IE6.0.

Tip: If your Windows XP system is not installed on the C disk, please "C\windows\inf\ie". INF "modified to"%systemroot%\inf\ie. INF ".

3. Uninstall Windows Messenger

There are a lot of ways to uninstall Windows Messenger, and the most common is to modify the "Sysoc.inf" file, but this is a complex approach, and using the RUNDLL32 command makes it easy to uninstall:

First make sure that Windows self-contained components such as Outlook and IE are turned off, and then click start → run to enter the RunDll32 advpack.dll,launchinfsection%windir% in the Run dialog box INFMSMSGS.INF,BLC. Remove command, the system starts uninstalling the Windows Messenger program after the system opens an Uninstall dialog box and clicks the Yes (Y) button.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.