Hi welcome to JustAnswer
I am looking into it. Will get back to you as soon as possible.
Can you send me screen shot of error message ? Which operating system you are trying to install ?
And which operating System ?
Alright ! I will tell you steps to follow soon.
Download file from here :- https://download.sysinternals.com/files/Autoruns.zip
ok .Then autorun won't help us now.It seems like startup registry is currpted. Are you able to open your system in safe mode ? Try pressing exc or F8 during startup and enter into these mode
Take a picture of your PC where you are getting this error and send it to me . Please restart your pc and enter into safe mode by pressing esc or f8 key. You would see which key to press at the bottom of your screen during initial boot process.
Were you able to enter into safe mode and fix this issue ?