Uninstalling and installing DB2 express-C 9.7.2 under win7 (on)

Source: Internet
Author: User
Tags db2 express

Some time ago, the latest DB2 version DB2 express-C 9.7.2 was installed on Windows 7, and it was installed eleven times, only once.Db2instance:-2029059916.The specific symptom of this error is: there should have been six services, only four were installed, no user account was created, no icons in the system tray, and none of the websites found could work, so we can only temporarily put it down. Today, I installed the system again. While the system has not been contaminated by me, I would like to try again. Oh, it's a silly smile. It's really unforgettable ~. Therefore, if you are engaged in it, you should not be absolutely sure about the consequences, or do not tamper with the system. However, this installation is different from the previous one. For example, the user db2admin is directly placed in the Administrators group, rather than in the two groups defined by the user, the sample database is automatically installed (I used to manually --!). Moreover, I set Firefox as the default browser this time. The "first" running after installation is opened in ff (previously opened in my own window ), I also changed my ff user configuration. Did I install oracle first? Curiosity is coming again, unload it and try again, God bless me!

If you talk nonsense about it, you will get scolded. If you don't talk about it, you will start to uninstall it.

First, run the uninstall program in the Add/delete operation of the system. The system will prompt that your database files will not be deleted. If the problem fails, it is said that you can try to uninstall the installation file. Sadly, I have been running the installation file all the time. If this is not the case, the anti-virus will not be successful. Clean it up directly.

1. delete an object

I installed it by default. Delete the following directories, and some directories may have been deleted.

C: \ Program Files \ IBM

C: \ programdata \ IBM

C: \ Users \ <Name> \ appdata \ roaming \ IBM

C: \ windows \ system32 \ config \ systemprofile \ Application Data \ IBM

C: \ DB2 (this is my data file directory, which may be different)

C: \ Users \ <Name> \ Documents \ db2log (delete log)

Delete the prod_expc.rsp response file under <my documents>.

Delete the Start Menu.

2. delete an account

Right-click the computer, properties, and advanced settings, click the setting button in the user settings box, and a box pops up. Select the account with db2admin and click Delete.

Right-click the computer, manage, local users and groups, users, and delete the user db2admin.

3. delete system environment variables.

Classpath

Db2instance

Include

Lib

3. Clear the Registry

Just use a good registry cleanup software to clean it. You don't have to manually delete it one by one.

 

So far, it's basically done. To ensure the effect, we 'd better restart it. I have to restart it. It's so nervous!

Installed in the next article ~

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.