How do I *completely* kill all files when re-installing

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 12,012
    Windows 7 Home Premium SP1, 64-bit
       #11

    Two ideas:

    Run the write zeroes application within your drive manufacturer's disk utility as I mentioned earlier in this thread.

    If you don't want to write zeroes, but do want to get rid of that 100 MB hidden system reserved partition and do a full format, you can reinstall Windows 7 in this manner:

    1. Once Windows 7 Setup is loaded, press Shift + F10 keys at the first setup screen (which allows selection of language, keyboard and locale). A Command Prompt window will be opened.

    2. Run Diskpart, the built-in disk partitioning tool of Windows 7 with the following command:

    diskpart

    3. Type in the following commands one by one, followed by the Enter key; (text in parentheses are comments only):

    list disk (to show the ID numbers of the hard disks available, in a one disk system you should see only Disk 0)

    select disk 0 (change 0 to another number if installing on some other disk)

    clean (this deletes all partitions on the selected disk)

    create partition primary (creates one new partition covering the entire selected disk; create others later in Windows if needed)

    select partition 1 (chooses the partition you just made)

    active (makes that partition active)

    format fs=ntfs (full formats the partition)

    exit (dumps you back into the Windows 7 install where you continue as usual)
      My Computer


  2. Posts : 207
    Windows7 Pro x64
    Thread Starter
       #12

    Thanks, ignatzatsonic
    But b*gger, I fear it is now too late, because I have installed Window7 on my disk, (and I would now lose about 5 hours work to revert!)

    FWIW, I did try shift/F10 but couldnt get it to work, perhaps because I was trying to do so at the "where do you want windows installed?" screeen rather than earlier. (sigh - they dont make this easy, do they?)

    But no one seems to be answering my central question: Is it possible/likely that a virus could survive a full reinstallation of Window7 including resizing of the partitions on the disk (but not including a format as such)?

    Ship
      My Computer


  3. Posts : 2,573
    Win7 Ultimate X64
       #13

    i very much doubt anything would survive, i only ever format with win and always been ok

    Once you have finished installing, get windows updated and your core programs installed and working and then consider taking a system image with backup and restore in control panel, this will take an image of your HDD and in the event of damage to OS or future HDD failure you can reimage the system back to your drive and return to the point in time you made the backup making reinstalls a thing of the past
      My Computer


  4. Posts : 88
    Windows 7 Ultimate 64bit
       #14

    I can't really say, personaly i've never encountered a virus to survive a full format of the HD before re-installation of the OS so if you performed the custom install and formated the HD first before installing the OS it should be OK. :)
      My Computer


  5. Posts : 12,012
    Windows 7 Home Premium SP1, 64-bit
       #15

    You are asking for certainty and there is none.

    You are worried that you are already infected. If so, any image you make will contain the infection.

    You have a simple decision tree:

    Am I worried enough to warrant saying goodbye to my 5 hours of work and starting over by zeroing and repartitioning?

    Yes or no.

    Nothing anyone can tell you in this or other threads is going to get rid of your worries. After all, any advice you get COULD BE WRONG!!!!!

    So you either live with it or start over.

    But even if you start over and zero the drive, is that enough???

    Repeat loop ad infinitum.
      My Computer


  6. Posts : 274
    Windows 7
       #16

    shiphen said:
    Thanks - but no one has answered my question about can viruses get through a re-installation of Windows7?
    Technically, no virus or trojan can get through a Custom Install of Windows 7. Boot viruses will be overwritten. All other viruses will be orphaned. The only way to get a virus or trojan from a previous installation is through your old data files.

    Your best bet is to concentrate on disinfecting your data files, not worrying about your installation method of windows.
      My Computer


  7. Posts : 207
    Windows7 Pro x64
    Thread Starter
       #17

    ignatzatsonic said:
    You are asking for certainty and there is none.

    You are worried that you are already infected. If so, any image you make will contain the infection.

    You have a simple decision tree:

    Am I worried enough to warrant saying goodbye to my 5 hours of work and starting over by zeroing and repartitioning?

    Yes or no.

    Nothing anyone can tell you in this or other threads is going to get rid of your worries. After all, any advice you get COULD BE WRONG!!!!!

    So you either live with it or start over.

    But even if you start over and zero the drive, is that enough???

    Repeat loop ad infinitum.

    I am no expert but I dont get the reason for this lack of certainty.
    Surely it's down to physics!

    Surely a virus can only exist as some sort of file, no?
    And either ALL files on a disk will be deleted by a full Win7 reinstall or they may not be.
    If there is any scenario whereby a full Win7 reinstall (involving resizing of partitions) does leave behind files, or there is not.

    To recap, I am booting from the Win7 DVD, right?
    So the hard disk shouldnt even be *TOUCHED* until windows asks it about its partition sizes. It there any conceivable way that a really nasty virus could leap up and stop itself from being deleted along with all other files on the disk?

    OR is Windows lazy and does it NOT delete every file on disk (if they have certain rights...).

    OR wait a minute, perhaps certain viruses are able to burrow through the file partitioning structure and lurk in structures outside of the file structure system and exist in some other format that are not really files as we know them... ??
      My Computer


  8. Posts : 274
    Windows 7
       #18

    shiphen said:
    ignatzatsonic said:
    You are asking for certainty and there is none.

    You are worried that you are already infected. If so, any image you make will contain the infection.

    You have a simple decision tree:

    Am I worried enough to warrant saying goodbye to my 5 hours of work and starting over by zeroing and repartitioning?

    Yes or no.

    Nothing anyone can tell you in this or other threads is going to get rid of your worries. After all, any advice you get COULD BE WRONG!!!!!

    So you either live with it or start over.

    But even if you start over and zero the drive, is that enough???

    Repeat loop ad infinitum.

    I am no expert but I dont get the reason for this lack of certainty.
    Surely it's down to physics!

    Surely a virus can only exist as some sort of file, no?
    And either ALL files on a disk will be deleted by a full Win7 reinstall or they may not be.
    Some viruses use to infect the MBR. Those are no longer effective.
    For all practical purposes, if you wipe a partition, all virus and trojans that live on that partition are dead. If you don't wipe the partition, a full Win7 reinstall will orphan the viruses and trojans.

    If there is any scenario whereby a full Win7 reinstall (involving resizing of partitions) does leave behind files, or there is not.
    All Win7 reinstalls that don't wipe the partition will move the old Windows, ProgramFiles, ProgramData, and User folders to a folder called Windows.old. So ya, there could be viruses still there, but you would have to run those programs or files explicitly to reinfect your computer. Essentially they exist inside a box and only by opening the box(running the program) can you reinfect your system.

    Didn't I just type all this in my previous posts?????
    To recap, I am booting from the Win7 DVD, right?
    So the hard disk shouldnt even be *TOUCHED* until windows asks it about its partition sizes. It there any conceivable way that a really nasty virus could leap up and stop itself from being deleted along with all other files on the disk?
    Nope.

    OR is Windows lazy and does it NOT delete every file on disk (if they have certain rights...).

    OR wait a minute, perhaps certain viruses are able to burrow through the file partitioning structure and lurk in structures outside of the file structure system and exist in some other format that are not really files as we know them... ??
    Nope.
      My Computer


  9. Posts : 207
    Windows7 Pro x64
    Thread Starter
       #19

    ignatzatsonic said:
    All Win7 reinstalls that don't wipe the partition will move the old Windows, ProgramFiles, ProgramData, and User folders to a folder called Windows.old.
    Is there a way to erase the folder called Windows.old - and if so would that get rid of them?

    (And does Windows.old house the Master Boot Record?)

    I remain uneasy about orphaned things lurking on my hard disk. Some new virus might fire them up again no?

    Ship
      My Computer


  10. Posts : 274
    Windows 7
       #20

    shiphen said:
    ignatzatsonic said:
    All Win7 reinstalls that don't wipe the partition will move the old Windows, ProgramFiles, ProgramData, and User folders to a folder called Windows.old.
    Is there a way to erase the folder called Windows.old - and if so would that get rid of them?

    (And does Windows.old house the Master Boot Record?)

    I remain uneasy about orphaned things lurking on my hard disk. Some new virus might fire them up again no?

    Ship
    Windows.old is just like any other folder. Highlight it and press delete. And no, it does not contain the MBR. You can't see the MBR from Explorer.

    Technically a virus can reactivate orphaned virus, but that is about as likely as a plane falling out of the sky and hitting your house. One, the virus has spider its way through your harddrive to your Windows.old foler. Two, the virus has to be aware of how to reactivate these orphaned viruses.

    I'm curious what files are you downloading that would load your system up with so many trojans and viruses.
      My Computer


 
Page 2 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About 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 00:13.
Find Us