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 SP1, Home Premium, 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
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
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
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
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
Microsoft MVP

 
 

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
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
Thread Forum
Disk - Clean and Clean All with Diskpart Command
How to "Clean" or "Clean All" a Disk with the Diskpart Command This will show you how to use the clean or clean all command on a selected disk to delete all of it's MBR or GPT partitions, volumes, and any hidden sector information on MBR disks is overwritten. The data on the HDD is not...
Tutorials
Formating 3tb drive..diskpart clean or clean all
I am having to format a 3tb drive that I am installing Windows 7 on and I need to know do I need to do clean all or just clean in diskpart? What happened is I did not know about the GPT (first time dealing with a drive over 2tb) and I just went through the motions like you do with installing. Well...
Installation & Setup
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
Do not see HDD after clean all using diskpart
Can someone please help with this. after do clean all follow diskpart and format HDD. now do not see this hdd in my computer but see it in DISKPART. thanks,
General Discussion
Diskpart Clean All Error
Hello, came here to post my problem if anyone is willing to help. Due to a recent virus which I can't seem to get rid of, I'm going to do a clean install of windows 7 from an iso file with virtual clone drive. However, after researching a bit I found it would be best to first do a clean all...
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 11:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App