deleting files

  • Thread starter Thread starter Guest
  • Start date Start date
I guess you did.

--


Regards,

Richard Urban
Microsoft MVP Windows Shell/User
(For email, remove the obvious from my address)

Quote from George Ankner:
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!
 
Strange, original message seems to have disapeared.. I am trying run a
program to remove the old files for WinTV2000 by hauppage.. There are 6
files in the Windows\system32 folder it is not allowed to delete. My question
was is they anyway to delete these files.. I can't believe the only way to
get rid of some files in Visat is to wipe the disk clean..
 
Hello,

To delete the protected system files, you will first have to take ownership
of them and then grant yourself permission to them.

You can do it using an elevated command prompt (right-click command prompt
and click Run As Administrator):

cd c:\windows\system32
takeown /F FILE /A
icacls FILE /grant Administrators:(F)
del FILE

for each file you need to delete (where FILE is the filename)


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/
 
Jimmy Brush said:
Hello,

To delete the protected system files, you will first have to take ownership
of them and then grant yourself permission to them.

You can do it using an elevated command prompt (right-click command prompt
and click Run As Administrator):

cd c:\windows\system32
takeown /F FILE /A
icacls FILE /grant Administrators:(F)
del FILE

for each file you need to delete (where FILE is the filename)


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/
 
Back
Top