The g-card and dirrect X drivers are the most-likly problem.
1. Don't keep doing factory resets or you can lock your account with microsoft.
2. the fact that a f-reset fixes it makes a microsoft update/ download likly... don't allow them to auto install.
3. go get a image backup program... I use acronis true image but others on this forum report some of the free ones work well.
4. make a back-up image of your (working) system then install the microsoft updates some at a time until the system goes tits up again.