Run the SFC scan first then install all pending updates for your Window, below is the link for the complete guide. Make sure you have enough storage for the updates, try also to turn off anti-virus. If that still doesn't work, you can perform inplace upgrade. You may be prompted by User Account Control. Click on Yes if so.