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

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 Windows 7 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 Windows 7 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 Windows 7 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 Windows 7 with Acronis before running Diskpart/Clean,what will happen when I restore it.
Will the previous corruption that prevents me from repairing Windows 7 be restored?
Thanks.

My System SpecsSystem Spec
.

13 Oct 2012   #2

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

Quote   Quote: Originally Posted by Baback View Post
My question is if I do an image of Windows 7 with Acronis before running Diskpart/Clean,what will happen when I restore it.
Will the previous corruption that prevents me from repairing Windows 7 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

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
Microsoft MVP

 

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

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
Microsoft MVP

 

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

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 Windows 7 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
Microsoft MVP

 

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

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
Microsoft MVP

 

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 for2: Using Diskpart/Clean to fix Windows 7 repair/upgrade issue.
Thread Forum
Disk - Clean and Clean All with Diskpart Command Tutorials
Should I clean my HDD with Parted Magic or Diskpart clean all command? General Discussion
Windows 7 Clean install & upgrade; black screen issue Installation & Setup
Solved Diskpart hangs running 'clean all' Installation & Setup
Solved A simple question about diskpart /clean all General Discussion
Do not see HDD after clean all using diskpart General Discussion
Solved Diskpart Clean All Error General Discussion

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:04 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33