File in System32 folder...will not delete


  Reply to this topic Start new topic Start Poll

> 

File in System32 folder...will not delete

Windows Vista

theworld
Jun 30 2007, 05:10 PM | Tags: System32 Not Folderwill File Delete
Related tags: Bruce Wgoogle Task File Driver Computers Users Acounts Usb


Member
******

Group: Members
Posts: 680
Member No.: 153
Joined: 27-April 08



Im trying to clean up pc after uninstalling a program.
There is a .sys file that when I ask to delete it goes through all the UAC to continue / need permission then last window box says..
You need permission to perform this action, try again and keeps repeating itself and will not delete.
Remember, I am trying to delete a single .sys file but the last window is headed ' Destination folder Access Denied', dont know where the destination folder is that is referring to when trying to delete a file.
I am joined to a domain and my domain user is a member of the local pc administrator group.
Thinking of trying to activate the disabled administrator account of local pc , logging in as this but seems a bit much to perform this action.
As an exercise I copied the file ok in this directory, I could even copy another file over the top of this file so some form of delete does work its just the actual 'delete' function.
Is this a bug or is there some setting I have missed to delete system files ?
TIA
PM Email Poster
Top
gaouzief
Jul 1 2007, 09:40 AM | Tags: Folderwill System32 Delete File Not
Related tags: Drivers Program Every Center Focus Mail Defraging Move Place Folder Update


Member
***

Group: Members
Posts: 196
Member No.: 358
Joined: 10-October 07



On Sat, 17 Mar 2007 22:22:37 -0000, "POP" wrote:

QUOTE
Im trying to clean up pc after uninstalling a program.
There is a .sys file that when I ask to delete it goes through all the UAC to continue / need permission then last window box says..
You need permission to perform this action, try again and keeps repeating itself and will not delete.
Remember, I am trying to delete a single .sys file but the last window is headed ' Destination folder Access Denied', dont know where the destination folder is that is referring to when trying to delete a file.
I am joined to a domain and my domain user is a member of the local pc administrator group.
Thinking of trying to activate the disabled administrator account of local pc , logging in as this but seems a bit much to perform this action.
As an exercise I copied the file ok in this directory, I could even copy another file over the top of this file so some form of delete does work its just the actual 'delete' function.
Is this a bug or is there some setting I have missed to delete system files ?
TIA


You can't always delete system files if they are in use since that would be like jumping out of your car while driving at 60 MPH.
What system file do you want to delete and why?
PM Email Poster
Top
Avgustslim
Jul 1 2007, 07:22 PM | Tags: Not File System32 Delete Folderwill
Related tags: Wsus 6000 Salut Gallery Opening Add Netwerkdrucker Maker Auto Twice Sidewinder


Member
********

Group: Members
Posts: 1140
Member No.: 688
Joined: 17-May 08



POP wrote:
QUOTE
Im trying to clean up pc after uninstalling a program.
There is a .sys file that when I ask to delete it goes through all the UAC to continue / need permission then last window box says..
You need permission to perform this action, try again and keeps repeating itself and will not delete. ..

.. ..
QUOTE
As an exercise I copied the file ok in this directory, I could even copy another file over the top of this file so some form of delete does work its just the actual 'delete' function.

Hm. I'm disappointed to hear that you succeeded. I would consider that a bug, actually.
On my Vista machine (the only one I've used) the system files are owned by 'Trusted Installer' and *not* by Administrator as in XP. IIRC you actually need to take ownership of a system file before you can delete or replace it. Because you are not running as 'Trusted Installer' you really shouldn't be allowed to do what you've described above.
I'd like to hear the real explanation from someone who really knows the answer (most likely that would not be me :o)
PM Email Poster
Top
josepvalls
Jul 2 2007, 06:33 PM | Tags: File System32 Delete Not Folderwill
Related tags: Dazzle Kernel32dll Adding For Upgraded Free Coontacts Premiu Mac Backup Software Offline


Member
***

Group: Members
Posts: 167
Member No.: 490
Joined: 25-June 08



Adam, thank you for your assistance. I am aware about files in use, that wasn't an error. I explained previously, deleting files from an uninstalled program. The uninstall message at the end said it couldn't delete and I should attempt manually.
Don, thanks for the insight. I checked the security settings and usually in XP, administator / system has full control this file only had read / write for everyone. No settings for administrator / system.
File gone once I assigned full rights to everyone.
Now anyone know where this trusted installer group is so I can become a member. Its my machine and I want control.... ;-)
"Adam Albright"
QUOTE
On Sat, 17 Mar 2007 22:22:37 -0000, "POP" <iknowyouwant this.lol wrote:
Im trying to clean up pc after uninstalling a program.
There is a .sys file that when I ask to delete it goes through all the UAC to continue / need permission then last window box says..
You need permission to perform this action, try again and keeps repeating itself and will not delete.
Remember, I am trying to delete a single .sys file but the last window is headed ' Destination folder Access Denied', dont know where the destination folder is that is referring to when trying to delete a file.
I am joined to a domain and my domain user is a member of the local pc administrator group.
Thinking of trying to activate the disabled administrator account of local pc , logging in as this but seems a bit much to perform this action.
As an exercise I copied the file ok in this directory, I could even copy another file over the top of this file so some form of delete does work its just the actual 'delete' function.
Is this a bug or is there some setting I have missed to delete system files ?
TIA
You can't always delete system files if they are in use since that would be like jumping out of your car while driving at 60 MPH.
What system file do you want to delete and why?

PM Email Poster
Top
bacthan
Jul 3 2007, 02:53 AM | Tags: File Delete Folderwill Not System32
Related tags: Previous Support Mail Mail Outlook Password Issue 2003 Getting


Member
*

Group: Members
Posts: 11
Member No.: 553
Joined: 22-September 07



"POP"
QUOTE
Im trying to clean up pc after uninstalling a program.
There is a .sys file that when I ask to delete it goes through all the UAC to continue / need permission then last window box says..
You need permission to perform this action, try again and keeps repeating itself and will not delete.
Remember, I am trying to delete a single .sys file but the last window is headed ' Destination folder Access Denied', dont know where the destination folder is that is referring to when trying to delete a file.
I am joined to a domain and my domain user is a member of the local pc administrator group.
Thinking of trying to activate the disabled administrator account of local pc , logging in as this but seems a bit much to perform this action.
As an exercise I copied the file ok in this directory, I could even copy another file over the top of this file so some form of delete does work its just the actual 'delete' function.
Is this a bug or is there some setting I have missed to delete system files ?


You need to take ownership of the file. You may not be able to do this through the GUI. Open an elevated cmd prompt by right clicking on the Command Prompt icon and picking Run as administrator. Use the icacls command to take ownership and give yourself full control of the file.
icacls file_name /setowner your_user_name
icacls file_name /grant your_user_name:F
You should then be able to delete the file. System files are protected from accidental, or even deliberate deletion by a rogue program, by not having any permissions for any accounts other than the system.
Kerry Brown Microsoft MVP - Shell/User vistahelp.ca
PM Email Poster
Top
ggauthier
Jul 3 2007, 10:17 AM | Tags: System32 Folderwill Not Delete File
Related tags: Troy After Ati External Down Ie7 Error Hitachi Install Center


Member
******

Group: Members
Posts: 784
Member No.: 869
Joined: 28-August 07



POP wrote: [...]
QUOTE
Don, thanks for the insight.

You're welcome, but with reservations.

QUOTE
I checked the security settings and usually in XP, administator / system has full control this file only had read / write for everyone. No settings for administrator / system.
File gone once I assigned full rights to everyone.
Now anyone know where this trusted installer group is so I can become a member. Its my machine and I want control.... ;-)

That's exactly what every hacker on the internet says about your machine.
Before you start defeating the great new security features of Vista, I *beg* you (and everyone else) to watch this video explaining UAC:
channel9.msdn.com/ShowPost.aspx?PostID=288259
I'm a long-time *nix fan who has been ranting against MS for decades! The reason I've started hanging out here and doing my inadequate best to help people is that I want Vista to be a success! MS has finally started to take security seriously and I applaud them for it.
The security changes introduced in Vista are absolutely necessary in the long run, and the video explains it better than I can.
Thanks!
PM Email Poster
Top
StinkyLink
Jul 3 2007, 01:17 PM | Tags: System32 Folderwill File Not Delete
Related tags: Log Address Drop Set Pauses Letter Cable File Can


Member
*****

Group: Members
Posts: 509
Member No.: 780
Joined: 25-October 07



Kerry - After processing video files for burning onto a dvd I cannot delete some of the files. Listed below is what I am seeing when I attempt to remove the files now that I am done processing them. I am logged in as myself, UAC is disabled and the cmd.exe prompt I am running from was started with "Run as Administrator". Any suggestions?
C:\CRZ0NNW7>dir Volume in drive C has no label. Volume Serial Number is 14DF-1F4C
Directory of C:\CRZ0NNW7
03/23/2007 05:15 PM <DIR> . 03/23/2007 05:15 PM <DIR> .. 03/27/2007 07:59 AM <DIR> VIDEO_TS 0 File(s) 0 bytes 3 Dir(s) 78,866,128,896 bytes free
C:\CRZ0NNW7>icacls VIDEO_TS VIDEO_TS NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(F) BUILTIN\Administrators:(I)(F) BUILTIN\Administrators:(I)(OI)(CI)(IO)(F) NT AUTHORITY\SYSTEM:(I)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
Successfully processed 1 files; Failed processing 0 files
C:\CRZ0NNW7>whoami amd64\rich
C:\CRZ0NNW7>cd VIDEO_TS
C:\CRZ0NNW7\VIDEO_TS>dir Volume in drive C has no label. Volume Serial Number is 14DF-1F4C
Directory of C:\CRZ0NNW7\VIDEO_TS
03/27/2007 07:59 AM <DIR> . 03/27/2007 07:59 AM <DIR> .. 03/23/2007 05:16 PM 227,594,240 VTS_10_0.VOB 03/23/2007 05:22 PM 1,073,739,776 VTS_10_2.VOB 03/23/2007 05:24 PM 1,073,739,776 VTS_10_3.VOB 03/23/2007 05:26 PM 1,073,739,776 VTS_10_4.VOB 03/23/2007 05:31 PM 1,073,739,776 VTS_10_6.VOB 03/23/2007 05:36 PM 24,932,352 VTS_22_1.VOB 6 File(s) 4,547,485,696 bytes 2 Dir(s) 78,865,952,768 bytes free
C:\CRZ0NNW7\VIDEO_TS>icacls * VTS_10_0.VOB: Access is denied. Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner rich Access is denied. Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner Administrator Access is denied. Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>icacls VTS_10_0.VOB /setowner amd64\rich Access is denied. Successfully processed 0 files; Failed processing 1 files
C:\CRZ0NNW7\VIDEO_TS>
-
"Kerry Brown" wrote:

QUOTE
You need to take ownership of the file. You may not be able to do this through the GUI. Open an elevated cmd prompt by right clicking on the Command Prompt icon and picking Run as administrator. Use the icacls command to take ownership and give yourself full control of the file.
icacls file_name /setowner your_user_name
icacls file_name /grant your_user_name:F
You should then be able to delete the file. System files are protected from accidental, or even deliberate deletion by a rogue program, by not having any permissions for any accounts other than the system.
Kerry Brown Microsoft MVP - Shell/User vistahelp.ca

PM Email Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topic Start new topic Start Poll