blog community

Welcome to blog community Sign in | Join | Help
in Search

Raimond Brookman

Architecture and .NET Development

Deleting Vista files from inside XP to facilitate clean setup

I had Vista installed in a dual boot configuration when I decided to install a newer build of Vista. (Going from beta to to build 5472)

However, because of bad experiences by others, I wanted to do a clean reinstall. The drive containing Vista also contained other files, so I did not want to format the Vista drive.

So I thought I would simply go into XP, and delete the Vista Windows directory by hand. This turned out not to be as simple as I thought because I was getting Access Denied or depending on the method getting 'the file is in use' on the files.

After trying several options I found out this is the way to do it:

  1. The vista files are owned by an unknown SID (from the Vista installation). SO the first thing to do is to use the Advanced button on the security dialog of the directory to take Ownership.
  2. Go to the permissions tab, and make your Owner get full control of the directory, and make sure that you:
    1. Do Not inherit permissions from the parent directory
    2. Do make contained files & folder inherit from this directory

This way you have made sure that you new owner can access all vista files & folders with a Full Control permission set, and you be able to delete the files

Published Sunday, July 30, 2006 1:53 PM by Raimondb

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Hao said:

Thanks so much.  I messed around with changing permissions, but somehow I never had the right settings to allow me to delete the files.

November 9, 2006 9:02 AM
 

Dave Bray said:

Excellent, been looking for that for ages. Just one thing. In standard XP the Security Tab is hidden by default. More MickeySoft garbage. Don't forget to go enable the Security tab in the Folder Options before applying the above.

Spitz

November 23, 2006 12:55 PM
 

Tass-AJ said:

Oh my christ, the sheer effort required to do all that. I had those folders renamed, moved, sorted, exchanged, ugh. And to top it all off, I have simple filesharing enabled, I didn't think to enable it and sort out the permissions. Cheers!

November 28, 2006 11:04 AM
 

Sergey said:

Thank you so much.

December 6, 2006 7:10 AM
 

Dee said:

The only thing I can say is thank you

January 29, 2007 7:36 PM
 

john said:

i had xpsp2 installed with vista64 rc1,dual boot ws workin fine. Then i installed vista64 but i dunno y i lost th dual boot option and only vista ws workin. after tht i reinstalled xp n lost vista n now i cant del vista. can u please help me

February 11, 2007 1:36 AM
 

john said:

i mean i lost th dual boot option fr xpsp2 (i think thts obvious right)

February 11, 2007 1:38 AM
 

Raimondb said:

This articles descrbies the steps to use I think.. The steps are written to be performed when you are logged into XP and so no Vista files will be locked.

Which steps are giving you problems?

February 11, 2007 7:25 PM
 

john said:

i am a noob...so i needed more detailed steps under owner and permissions tab

February 11, 2007 9:12 PM
 

Raimondb said:

The trick is to right click on the folder you want to delete, then select properties. In this dialog you find the tabs I speak of.

February 11, 2007 9:23 PM
 

john said:

actually i ws not gettin past th steps under th tabs - owner and permission. i am th administrator and it shows here administrator and my name. so wht do i hv to choose.

February 12, 2007 2:59 AM
 

Remco said:

Nice, but I tried everything but I don't get the map with the ownership....

February 16, 2007 2:53 PM
 

Timo said:

Yeah, thanx, but maybe its important to say that if you have enabled simplified sharing, in properties aren't these tabs with ownership. To disable simplified sharing read this: http://support.microsoft.com/?scid=kb%3Ben-us%3B307874&x=10&y=11 and now rigt click on the folder you want to delete and....

April 28, 2007 11:25 AM
 

Alex said:

So could anyone tell me why is a Vista file in use by an XP process? O_o

The "xrwcscci.dll" for instance.

July 12, 2007 1:10 PM
 

Riste said:

I've deleted Windows Vista and now I cannot remove the folder by myself. What should I do?

November 26, 2007 6:55 PM
 

eizhak said:

tnx man it worck

May 26, 2008 7:37 PM
 

Shishir said:

I am using a software named Unlocker to delete these files, and it's working, but it is very slow.

September 3, 2008 1:33 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

This Blog

Syndication

News

Subscribe in NewsGator Online

Subscribe in Bloglines

Add to Google


 Visitors since June 2005




Powered by Community Server, by Telligent Systems