New PC build.
One new HD.
Also Old drive.
Windows 7 Home Premium. 32bit installed on new drive.
Booted first time all OK.
Cleaned out old drive of all files. (Was XP Pro)
Used PC for a week, decided to upgrade Windows to 64bit.
No problems or errors loading.
On first boot got a splash screen showing two Windows 7 boot selections.
Used the one hi-lited, booted fine.
My Computer shows a C: and D: drive.
D: drive has my first install of what I assume is the 32bit installation.
I tried to clean the D: drive of all files but cannot.
I have exhausted all attempts after much searching for an answer as to how and why
I am refused entry to most of the files I want to delete.
Format won't work.
Changing Owners and Permissions won't work.
Many Trustedinstaller error messages still preventing me from deleting files.
Tried DBAN no success. Plus many other suggestions.
All has failed.
Can someone help me please.?

Thank You

I've not had experience with win 7, but asked another forum about your issue...This is what PMwitch posted back on Ihub,...hope it will help.

First part. . .

Open a Command Prompt window as Administrator. (Right-Click the shortcut and select Run as Administrator)

Execute BCDedit /v

Scroll through the results, find the Windows 7 you DON'T want, and record the value of its identifier. {It'll be a longish string inside curly brackets}

Remove this unwanted entry. . .

Bcdedit /delete {Unwanted identifier string} /cleanup

Your system should respond with an Operation Successful message.

Second part. . .

Boot your system using your Windows 7 DVD.

In the window asking about country, language, and keyboard, enter what you please and continue.

When the window opens asking if you wish to install (or repair) hold down the Shift key and Press Function key 10 (Shift-F10) and a Command Prompt window will open.

This Command Prompt window is connected to Windows Preinstalled Environment, or WinPE. It DOESN'T support User Access Control, or UAC. It's UAC that's preventing you from removing your old system files.

You have some choices for what you do now. I like DISKPART.

DISKPART creates a separate environment when you issue the command.

DISKPART
DISKPART> list disk {Note the number of your disk. I'll assume 0}
DISKPART> select disk 0
DISKPART> list partition {Note the partition number. I'll assume 1}
DISKPART> select partition 1
DISKPART> format fs=NTFS Label"EmptyNow" quick
DISKPART> exit {This exit ends DiskPart}
EXIT {This exit closes the Command Prompt window}

Last part. . .

Restart your system. It should boot directly to your new Windows 7 without displaying the Boot Menu. In Explorer, you should see an empty disk with "EmptyNow" as a label. You can change the label and/or drive letter in Windows.

Cheers, PW.

P.S. You could do the BCDedit work in the WinPE window. It makes no difference. The same Boot Configuration Database will be altered.

P.P.S. For me, typing the {identifier strings} can be a challenge. If you're familiar with Command Prompt Editing commands, they make this work painless.

Thank You for the reply.
I followed your instructions but got into a little trouble.
Before I explain let me elaborate on my problem.
I was able to remove the boot flash screen problem using msconfig.
I went into the Boot option and removed the second Windows 7 entry.
As mentioned above, I have two HD's. C: and D:
C: has my Windows 7 64bit version installed and works just fine.

D: Has what I believe to be my first install of windows 7 32bit, plus some other
programs I installed. I have a Windows file, and a Windows.old file.
This is the drive that I cannot delete anything from.
I did try DISKPART hoping to use the format option, but to no avail.
I was stymied at the partition references and options.
D: drive has no partitions.
I could not get past the command line after selecting D: as the 0 drive.
Disk Management shows it as 0.
Hope I hav'nt confused you.

Another option may be to turn computer off, unplug the "C" drive and start the computer with the Win 7 disk in the drive...may enable repair or deletion.
If you have copies of the programs already installed on "D", perhaps reformatting and starting over might be the way to go.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.