Hello RaihanHuq,
Thank you for participating in this thread. I understand that you're unable to open Photo Gallery because of error code 080004001.
To investigate on what might be causing this issue, kindly provide us the necessary log files by following the steps in the thread below:
How
to gather Log files for Windows Live Movie Maker and Windows Live Photo Gallery
Please upload the log files in the private message area that I have provided for you. To view it, be sure that you are signed in to Microsoft Community and click the notification
which states that “You have a private reply to this message. Click here to read it on our secure private message section" or by clicking the “Private Messages” tab.
Kindly reply to this post once you have uploaded the logs.
Regards.