Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Administrator can't delete files

Reply
Thread Tools Display Modes

Administrator can't delete files

 
 
Lee Beck
Guest
Posts: n/a

 
      04-20-2009
I set up my Vista installation so that I am administrator with all
priviledges. I now have installed an old HDD and want to remove the Windows
folder. Vista says that I don't have access.

I have checked the attributes and nothing is read only. I also have tried
the DOS prompt and DEL *.*

How do I remove the folder??
 
Reply With Quote
 
 
 
 
Stubbo of Oz
Guest
Posts: n/a

 
      04-20-2009
On Sun, 19 Apr 2009 23:21:01 -0700, Lee Beck
<> wrote:

>I set up my Vista installation so that I am administrator with all
>priviledges. I now have installed an old HDD and want to remove the Windows
>folder. Vista says that I don't have access.
>
>I have checked the attributes and nothing is read only. I also have tried
>the DOS prompt and DEL *.*
>
>How do I remove the folder??



Try to first take ownership of the file as describes here:-

http://www.vistax64.com/tutorials/67...ship-file.html

then try deleting again


--
----------------
Stubbo of Oz
----------------
 
Reply With Quote
 
Lee Beck
Guest
Posts: n/a

 
      04-20-2009
Lots of help on that site - thanks.

But there still is one stubborn file that I can't delete. I took ownership
in Vista 32 and got the message "access denied." So I tried in DOS and got
the following cut/paste:

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>takeown /f P:\windows\system32\macromed\flash\flash6.ocx

SUCCESS: The file (or folder):
"P:\windows\system32\macromed\flash\flash6.ocx " n
ow owned by user "Lee-PC\Lee".

C:\Windows\system32> del P:\windows\system32\macromed\flash\flash6.ocx
P:\windows\system32\macromed\flash\Flash6.ocx
Access is denied.

C:\Windows\system32>


"Stubbo of Oz" wrote:

> On Sun, 19 Apr 2009 23:21:01 -0700, Lee Beck
> <> wrote:
>
> >I set up my Vista installation so that I am administrator with all
> >priviledges. I now have installed an old HDD and want to remove the Windows
> >folder. Vista says that I don't have access.
> >
> >I have checked the attributes and nothing is read only. I also have tried
> >the DOS prompt and DEL *.*
> >
> >How do I remove the folder??

>
>
> Try to first take ownership of the file as describes here:-
>
> http://www.vistax64.com/tutorials/67...ship-file.html
>
> then try deleting again
>
>
> --
> ----------------
> Stubbo of Oz
> ----------------
>

 
Reply With Quote
 
Rick Rogers
Guest
Posts: n/a

 
      04-21-2009
Hi,

Try RD /s /q <dir_path>

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"Lee Beck" <> wrote in message
news:ED60D759-4E3A-44C6-B607-...
> Lots of help on that site - thanks.
>
> But there still is one stubborn file that I can't delete. I took
> ownership
> in Vista 32 and got the message "access denied." So I tried in DOS and got
> the following cut/paste:
>
> Microsoft Windows [Version 6.0.6001]
> Copyright (c) 2006 Microsoft Corporation. All rights reserved.
>
> C:\Windows\system32>takeown /f
> P:\windows\system32\macromed\flash\flash6.ocx
>
> SUCCESS: The file (or folder):
> "P:\windows\system32\macromed\flash\flash6.ocx " n
> ow owned by user "Lee-PC\Lee".
>
> C:\Windows\system32> del P:\windows\system32\macromed\flash\flash6.ocx
> P:\windows\system32\macromed\flash\Flash6.ocx
> Access is denied.
>
> C:\Windows\system32>
>
>
> "Stubbo of Oz" wrote:
>
>> On Sun, 19 Apr 2009 23:21:01 -0700, Lee Beck
>> <> wrote:
>>
>> >I set up my Vista installation so that I am administrator with all
>> >priviledges. I now have installed an old HDD and want to remove the
>> >Windows
>> >folder. Vista says that I don't have access.
>> >
>> >I have checked the attributes and nothing is read only. I also have
>> >tried
>> >the DOS prompt and DEL *.*
>> >
>> >How do I remove the folder??

>>
>>
>> Try to first take ownership of the file as describes here:-
>>
>> http://www.vistax64.com/tutorials/67...ship-file.html
>>
>> then try deleting again
>>
>>
>> --
>> ----------------
>> Stubbo of Oz
>> ----------------
>>


 
Reply With Quote
 
Daddy Tadpole
Guest
Posts: n/a

 
      04-21-2009
Vista is reserved for geeks.

Who will use Windows 7?

"Rick Rogers" <> a écrit dans le message de
news:...
> Hi,
>
> Try RD /s /q <dir_path>
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Windows help - www.rickrogers.org
> My thoughts http://rick-mvp.blogspot.com
>
> "Lee Beck" <> wrote in message
> news:ED60D759-4E3A-44C6-B607-...
>> Lots of help on that site - thanks.
>>
>> But there still is one stubborn file that I can't delete. I took
>> ownership
>> in Vista 32 and got the message "access denied." So I tried in DOS and
>> got
>> the following cut/paste:
>>
>> Microsoft Windows [Version 6.0.6001]
>> Copyright (c) 2006 Microsoft Corporation. All rights reserved.
>>
>> C:\Windows\system32>takeown /f
>> P:\windows\system32\macromed\flash\flash6.ocx
>>
>> SUCCESS: The file (or folder):
>> "P:\windows\system32\macromed\flash\flash6.ocx " n
>> ow owned by user "Lee-PC\Lee".
>>
>> C:\Windows\system32> del P:\windows\system32\macromed\flash\flash6.ocx
>> P:\windows\system32\macromed\flash\Flash6.ocx
>> Access is denied.
>>
>> C:\Windows\system32>
>>
>>
>> "Stubbo of Oz" wrote:
>>
>>> On Sun, 19 Apr 2009 23:21:01 -0700, Lee Beck
>>> <> wrote:
>>>
>>> >I set up my Vista installation so that I am administrator with all
>>> >priviledges. I now have installed an old HDD and want to remove the
>>> >Windows
>>> >folder. Vista says that I don't have access.
>>> >
>>> >I have checked the attributes and nothing is read only. I also have
>>> >tried
>>> >the DOS prompt and DEL *.*
>>> >
>>> >How do I remove the folder??
>>>
>>>
>>> Try to first take ownership of the file as describes here:-
>>>
>>> http://www.vistax64.com/tutorials/67...ship-file.html
>>>
>>> then try deleting again
>>>
>>>
>>> --
>>> ----------------
>>> Stubbo of Oz
>>> ----------------
>>>

>


 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      04-21-2009
Well, not you, if you think like that......


--
Windows 7 beta
http://get.live.com/wlmail/overview
http://download.live.com/wlmail


"Daddy Tadpole" <> wrote in message
news:...
> Vista is reserved for geeks.
>
> Who will use Windows 7?
>
> "Rick Rogers" <> a écrit dans le message de
> news:...
>> Hi,
>>
>> Try RD /s /q <dir_path>
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>> http://mvp.support.microsoft.com/
>> Windows help - www.rickrogers.org
>> My thoughts http://rick-mvp.blogspot.com
>>
>> "Lee Beck" <> wrote in message
>> news:ED60D759-4E3A-44C6-B607-...
>>> Lots of help on that site - thanks.
>>>
>>> But there still is one stubborn file that I can't delete. I took
>>> ownership
>>> in Vista 32 and got the message "access denied." So I tried in DOS and
>>> got
>>> the following cut/paste:
>>>
>>> Microsoft Windows [Version 6.0.6001]
>>> Copyright (c) 2006 Microsoft Corporation. All rights reserved.
>>>
>>> C:\Windows\system32>takeown /f
>>> P:\windows\system32\macromed\flash\flash6.ocx
>>>
>>> SUCCESS: The file (or folder):
>>> "P:\windows\system32\macromed\flash\flash6.ocx " n
>>> ow owned by user "Lee-PC\Lee".
>>>
>>> C:\Windows\system32> del P:\windows\system32\macromed\flash\flash6.ocx
>>> P:\windows\system32\macromed\flash\Flash6.ocx
>>> Access is denied.
>>>
>>> C:\Windows\system32>
>>>
>>>
>>> "Stubbo of Oz" wrote:
>>>
>>>> On Sun, 19 Apr 2009 23:21:01 -0700, Lee Beck
>>>> <> wrote:
>>>>
>>>> >I set up my Vista installation so that I am administrator with all
>>>> >priviledges. I now have installed an old HDD and want to remove the
>>>> >Windows
>>>> >folder. Vista says that I don't have access.
>>>> >
>>>> >I have checked the attributes and nothing is read only. I also have
>>>> >tried
>>>> >the DOS prompt and DEL *.*
>>>> >
>>>> >How do I remove the folder??
>>>>
>>>>
>>>> Try to first take ownership of the file as describes here:-
>>>>
>>>> http://www.vistax64.com/tutorials/67...ship-file.html
>>>>
>>>> then try deleting again
>>>>
>>>>
>>>> --
>>>> ----------------
>>>> Stubbo of Oz
>>>> ----------------
>>>>

>>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't delete a file - Access is denied to Administrator jeff Windows Vista File Management 11 03-21-2012 07:37 PM
How to allow non-administrator to delete files Joel@IRR Windows Vista Administration 0 10-02-2007 12:57 AM
Administrator can not delete files without UAC!! Gigmanity Windows Vista General Discussion 4 09-04-2007 01:45 AM
Delete Administrator Account? McGuywer Windows Vista Administration 7 03-11-2007 01:10 PM
Can't delete a file as Administrator Richard Windows Vista General Discussion 4 02-18-2007 11:18 AM



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59