I guess reinstalling DB2 will help but there is an easier way to fix your problem. DB2 components on Windows run as services and use the instance owner login and password when starting up.
Go to the Services control panel, open properties for each DB2 service, and change db2inst1 (or whatever user) password on the "Log on" tab.