install dlg and pwd restore