Few days ago I was scanning a memory card with Avast and PC got shut down. Now there is file of 4GB in C:\ProgramData\AVAST Software\Avast and I need permission from SYSTEM to delete it. I tried to take permission from administrator account but didnt work. What should I do to delete this file?
Sahil89
0
Newbie Poster
Recommended Answers
Jump to PostYou might need to take ownership of the file before you can delete it. Log in to a command prompt as administrator and type
takeown /?
to get more help.
Jump to PostIf you know what you are doing, then open a cmd window as System and run delete file from there. So, in a admin cmd window, enter:
at 12:34 /interactive cmd.exe
where 12:34 is, say, one minute ahead of your current time.
Jump to PostTaking ownership of a file owned by SYSTEM isn't normally a problem. Perhaps something is holding the file open? Have you tried booting into safe mode and attempting to take ownership?
If you succeed I expect you'll then need to assign some permissions, to allow you to delete the file, …
All 9 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
LaxLoafer
71
Posting Whiz in Training
sbesch
2
Newbie Poster
Sahil89
0
Newbie Poster
gerbil
216
Industrious Poster
LaxLoafer
71
Posting Whiz in Training
Sahil89
0
Newbie Poster
flapse32
0
Newbie Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
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.