need help wiping gaming PC
so i’m not completely computer illiterate, i know a thing or two about computers. i’ve had a gaming PC for about 5 years or so and within the last year and a half i stopped using it as much. recently i wanted to get back on it but i wanted to do something like a full reset, deleting my files, apps and games, etc. i wouldn’t be losing anything important, thats why i made the decision to reset it. everytime i begin the reset process, it goes for a minute before saying “undoing changes” and going to a blue screen that says “there was a problem resetting your PC. no changes were made.”
i feel like ive tried everything i can to fix this but nothing works. please, someone smarter than me, what can i do to fix this error?