Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Using Diskpart/Clean to fix Windows 7 repair/upgrade issue.

13 Oct 2012   #1
Baback

Windows 7 Pro SP1
 
 
Using Diskpart/Clean to fix Windows 7 repair/upgrade issue.

Hi everyone,
I'm actually unable to repair my system files through the W7 DVD.It always ends up with an error message saying something as ''could not be carried out and will restore to previous version...''.
Googling this issue ,I found this discussion involving gregrocker:
Quote   Quote: Originally Posted by gregrocker View Post
Quote   Quote: Originally Posted by geverl View Post
I've a dual boot system with GRUB 1.99 in the MBR. Once again, I am here to AVOID a clean reinstall and I am not going to wipe my HD.

This is a known issue with GRUB bootloader on the HD. It corrupts Win7 in many ways including blocking a Repair Install. The only solution at that point is to Clean Reinstall making sure to wipe the HD using Diskpart Clean Command .

As I explained earler you only have to get a Clean Reinstall once then save a Win7 backup image to use in place of future reinstalls, to re-image the HD or its replacement in 20 minutes.

.
My question is if I do an image of W7 with Acronis before running Diskpart/Clean,what will happen when I restore it.
Will the previous corruption that prevents me from repairing W7 be restored?
Thanks.


My System SpecsSystem Spec
.
13 Oct 2012   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

Quote   Quote: Originally Posted by Baback View Post
My question is if I do an image of W7 with Acronis before running Diskpart/Clean,what will happen when I restore it.
Will the previous corruption that prevents me from repairing W7 be restored?
Thanks.
I'd say yes.

Images contain everything in the imaged partition----including viruses, warts, corruption, whatever may have been there.
My System SpecsSystem Spec
13 Oct 2012   #3
edwar

7 x64
 
 

I'd say yes also. Imaging a system that is corrupted would just make an image of that corruption and then restore it as it was.
My System SpecsSystem Spec
.

13 Oct 2012   #4
gregrocker

 

If you have irreparable System files then the next step is a Repair Install.

If you cannot boot then there are other steps here for Troubleshooting Windows 7 Failure to Start.

These lead up to the possibility of needing to rescue your files to run Factory Recovery or get the superior Clean Reinstall - Factory OEM Windows 7
My System SpecsSystem Spec
13 Oct 2012   #5
Baback

Windows 7 Pro SP1
 
 

Quote   Quote: Originally Posted by gregrocker View Post
If you have irreparable System files then the next step is a Repair Install.
I've got a few files I would like to repair, but the Repair Install option does not work for me.That's what this post is all about.
Quote:
It always ends up with an error message saying something as ''could not be carried out and will restore to previous version...''.
That's why I was thinking of another solution through Diskpart/Clean.
Thanks
My System SpecsSystem Spec
13 Oct 2012   #6
gregrocker

 

It says nowhere in your first post that you have attempted to run a Repair Install.

If you'd asked to help troubleshoot a failed Repair Install then I'd ask you if you first have established a Clean Boot as given in Troubleshooting Steps for Windows 7 .

If that fails and there are performance problems then you are correct to want to run Diskpart Clean Command before Clean Reinstall - Factory OEM Windows 7 to wipe any GRUB boot code from the HD and give the cleanest slate.

My System SpecsSystem Spec
14 Oct 2012   #7
Baback

Windows 7 Pro SP1
 
 

Quote   Quote: Originally Posted by gregrocker View Post
It says nowhere in your first post that you have attempted to run a Repair Install.


Quote:
I'm actually unable to repair my system files through the W7 DVD
I thought that this was self-explanatory as far as what I had attempted.
On the other hand,it's out of the question to clean the disk and make a reinstall of all programs and settings.
What I'm interessted in , is to run a successfull Repair/Install to fix somme files issues.In the past,I succeeded the first time but when I needed to do another one late after, it never worked.

I burned my Iso file to another DVD and on a USB key ,not to avail.I tried everything I could think of.
I even went to other Forums ,which I rarely do as I'm generally able to fix my own problems.

Generally speaking, when I can't nobody can...
My System SpecsSystem Spec
14 Oct 2012   #8
gregrocker

 

And what was the result of the Clean Boot?
My System SpecsSystem Spec
14 Oct 2012   #9
Baback

Windows 7 Pro SP1
 
 

I read over the content of the link related to Clean Boot.
However, I did not see how this could be related to my issue, which is(only) that I can't Repair/Install anymore.
I already performed most of these steps in the past and nothing changed.
Thanks.
My System SpecsSystem Spec
14 Oct 2012   #10
gregrocker

 

The very first thing that is done when Repair Install won't run is to run a Clean Boot, which solves the problem in about half the cases.

But you know too much to be bothered by what works here based on our experience helping thousands of users with these very issues. So you instead posted here to disabuse us of our ignorance, correct?
My System SpecsSystem Spec
Reply

 Using Diskpart/Clean to fix Windows 7 repair/upgrade issue.




Thread Tools




Similar help and support threads
Thread Forum
Accidently did diskpart clean. Installed Windows
Dear all, First, I'm not very good with English but I will try my best to explain. Second, I'm very noob about computer things. I hope you can guide me step by step. I wanted to Install Windows 10, but it seems I cant install it at my system drive. (MBR, GPT error) So, I format my system...
Backup and Restore
Accidently did diskpart clean. Installed Windows. Urgent..
Dear All, I messed up real time and now I don't know what to do. I accidently followed diskpart clean tutorial while installing Windows 10. (due to MBR,GPT error) Now, to make it even worse I created a separate 131GB partition out of 1 TB HD to install windows. I am posting this through...
Backup and Restore
Windows DISKPART Clean command used on Wrong Disk
Hi all... Yesterday, I was going about my drive management on my windows server machine, and I was cleaning two disks that I had just bought. I did not unplug the drives that I was not trying to clean from the PC, so something went horribly wrong. I accidentally cleaned one of the three of the...
Hardware & Devices
Should I clean my HDD with Parted Magic or Diskpart clean all command?
Hi everyone i have a question about HDD Clean and also question about Win 7 64 bit :) I want to wiped out my all HDD data inside i want to delete all information like a brand new HDD. I heard that there is a program called Parted Magic can do this and also Diskpart clean all command too. ...
General Discussion
Windows 7 Clean install & upgrade; black screen issue
Hi; so basically I'll start from the begginging; My parents computer has been running on Windows Vista since they got it, the computer is a "Dell Inspiron 530" nothing special the only thing changed in it is a "Nvidia GeeForce 9500GT" The specs are fine for running Windows 7, I recently...
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 03:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App