Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Can't delete file in hidden folder even after changing owner

Reply
Thread Tools Display Modes

Can't delete file in hidden folder even after changing owner

 
 
Petrarch
Guest
Posts: n/a

 
      11-12-2009
I restored my vista OS using a system image utility provided by Alienware.
It created a backup folder on the c drive with all the old files in it,
including user profiles. I changed the owner of all files and folders back
to my account and tried to delete it, but got the UAC messages that I need to
allow administrator rights to do so. After clicking yes, I got a message
that permission was denied with the only options of "Try Again" or "Cancel".
After making visible all hidden files and folders, I was able to drill down
to the one file I could not delete. I've used the "take ownership" steps in
Vista explorer properties, and also the "takeown" dos commands, which report
success that the Administrators group or my account which belongs to the
administrators group, is the owner of the file, and that I have full control
of it. Even so, I cannot delete this file. In DOS, I get access denied. In
Explorer, I get the "you need permission to perform this action" message,
with "try again" or "cancel", and it shows that my account (or administrators
group, doing it that way) is the owner. It's just this one file. I was able
to delete all other files and folders around this file, but just not this one.

I wonder if the folder path is so long or so nested that UAC fails to figure
it out? It was in users\<my profile>\appdata\roaming\etc. Or is the file
corrupt? The file is a tempory file created by one of those biometric
devices when logged on with your fingerprint, and is supposed to disappear
when you log off, but it seems to have remained there because of a hard boot.
Is there a utility I can use that can nuke this one lone file?

thanks
 
Reply With Quote
 
 
 
 
Petrarch
Guest
Posts: n/a

 
      11-12-2009


"Mr. Arnold" wrote:


> You can use the full rights admin account, since the one Vista gives you
> out of the box is not a full rights admin account.
>
> http://www.howtogeek.com/howto/windo...windows-vista/


Yes, tried that, too. I get the same behavior, regardless whether I'm
logged in under my profile or the enabled administrator account.
 
Reply With Quote
 
Brink
Guest
Posts: n/a

 
      11-12-2009

Hello Petrarch,

Did you also "allow" your user account "Full Control" in the permission
for the file. You can look at step 18 in Method Two of the tutorial
below for how if needed. You might also try doing this in Safe Mode.

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

Hope this helps,
Shawn

Petrarch;1189517 Wrote:
> I restored my vista OS using a system image utility provided by
> Alienware.
> It created a backup folder on the c drive with all the old files in it,
> including user profiles. I changed the owner of all files and folders
> back
> to my account and tried to delete it, but got the UAC messages that I
> need to
> allow administrator rights to do so. After clicking yes, I got a
> message
> that permission was denied with the only options of "Try Again" or
> "Cancel".
> After making visible all hidden files and folders, I was able to drill
> down
> to the one file I could not delete. I've used the "take ownership"
> steps in
> Vista explorer properties, and also the "takeown" dos commands, which
> report
> success that the Administrators group or my account which belongs to
> the
> administrators group, is the owner of the file, and that I have full
> control
> of it. Even so, I cannot delete this file. In DOS, I get access denied.
> In
> Explorer, I get the "you need permission to perform this action"
> message,
> with "try again" or "cancel", and it shows that my account (or
> administrators
> group, doing it that way) is the owner. It's just this one file. I was
> able
> to delete all other files and folders around this file, but just not
> this one.
>
> I wonder if the folder path is so long or so nested that UAC fails to
> figure
> it out? It was in users\<my profile>\appdata\roaming\etc. Or is the
> file
> corrupt? The file is a tempory file created by one of those biometric
> devices when logged on with your fingerprint, and is supposed to
> disappear
> when you log off, but it seems to have remained there because of a hard
> boot.
> Is there a utility I can use that can nuke this one lone file?
>
> thanks



--
Brink

'*MS MVP - Windows Desktop Experience*'
(https://mvp.support.microsoft.com/pr...5-AD617AF3D511)
*There are no dumb questions, just the people that do not ask
them.*
'*Windows 7 Forums*'
'*Windows Vista Forums*'

*Please post feedback to help others.*
 
Reply With Quote
 
FromTheRafters
Guest
Posts: n/a

 
      11-12-2009
"Petrarch" <> wrote in message
news:2430785A-B14B-4C75-A57E-...
>I restored my vista OS using a system image utility provided by
>Alienware.
> It created a backup folder on the c drive with all the old files in
> it,
> including user profiles. I changed the owner of all files and folders
> back
> to my account and tried to delete it, but got the UAC messages that I
> need to
> allow administrator rights to do so. After clicking yes, I got a
> message
> that permission was denied with the only options of "Try Again" or
> "Cancel".
> After making visible all hidden files and folders, I was able to drill
> down
> to the one file I could not delete. I've used the "take ownership"
> steps in
> Vista explorer properties, and also the "takeown" dos commands, which
> report
> success that the Administrators group or my account which belongs to
> the
> administrators group, is the owner of the file, and that I have full
> control
> of it. Even so, I cannot delete this file. In DOS, I get access
> denied. In
> Explorer, I get the "you need permission to perform this action"
> message,
> with "try again" or "cancel", and it shows that my account (or
> administrators
> group, doing it that way) is the owner. It's just this one file. I
> was able
> to delete all other files and folders around this file, but just not
> this one.
>
> I wonder if the folder path is so long or so nested that UAC fails to
> figure
> it out? It was in users\<my profile>\appdata\roaming\etc. Or is the
> file
> corrupt? The file is a tempory file created by one of those biometric
> devices when logged on with your fingerprint, and is supposed to
> disappear
> when you log off, but it seems to have remained there because of a
> hard boot.
> Is there a utility I can use that can nuke this one lone file?


You might want to investigate deleting the file using another OS
(Linux). Sometimes a file path or name contains illegal characters as
far as Windows is concerned, and Linux (or another OS) will have a
different set of reserved words or illegal characters. The biometric
device may create a file with a "bad" name for Windows while accessing
the NTFS outside of Windows.


 
Reply With Quote
 
Petrarch
Guest
Posts: n/a

 
      11-12-2009


"Brink" wrote:

>
> Hello Petrarch,
>
> Did you also "allow" your user account "Full Control" in the permission
> for the file. You can look at step 18 in Method Two of the tutorial
> below for how if needed. You might also try doing this in Safe Mode.
>
> http://www.vistax64.com/tutorials/67...ship-file.html
>
> Hope this helps,
> Shawn
>


Yes, I did. This is how I able to delete all the other files in the same
folder. Full control was granted appropriately, ownership shows as my
username. I've done this in safe mode. I've run process explorer and
unlocker to see if the file was in use. The filename doesn't have any
special characters. It's biouser.ud5. Your link has some other tricks to
try. I'll have to try those later when I get home from work.

As for installing a linux OS to delete the file, what's the smallest fastest
one to use for this purpose?
 
Reply With Quote
 
Petrarch
Guest
Posts: n/a

 
      11-13-2009


"Brink" wrote:

>
> Since you have 64-bit, you might see if "LockHunter" may help instead
> then.
>
> 'Download LockHunter 1.0 Beta 3 - Forcedly removes any files as well as
> displays what programs lock them - Softpedia'
> (http://www.softpedia.com/get/System/...ckHunter.shtml)


Thanks, this tool looks useful for other situations in the way that Unlocker
is on 32-bit OS's. In this case, I still get the message "You don't
permission to open this file. Contact the owner..." My username is the
owner. If there were a way to make Windows "think" this file was deleted
successfully, thru a registry hack perhaps, I'm open to suggestions. This
file is like a really stubborn weed.
 
Reply With Quote
 
Brink
Guest
Posts: n/a

 
      11-13-2009

I'm about out of ideas myself. Have you already tried deleting it in th
"built-in Admnistrator" account

http://www.vistax64.com/tutorials/67...or-account.htm

Petrarch;1189890 Wrote:
> "Brink" wrote
> > > >

> >
> > > Since you have 64-bit, you might see if "LockHunter" may help instea
> > > then

> >
> > > 'Download LockHunter 1.0 Beta 3 - Forcedly removes any files as wel

> > a
> > > displays what programs lock them - Softpedia
> > > ('Download LockHunter 1.0 Beta 3 - Forcedly removes any files as wel

> > as displays what programs lock them - Softpedia
> > (http://www.softpedia.com/get/System/...ckHunter.shtml)) > >

>
> Thanks, this tool looks useful for other situations in the way tha
> Unlocke
> is on 32-bit OS's. In this case, I still get the message "You don'
> permission to open this file. Contact the owner..." My username i
> th
> owner. If there were a way to make Windows "think" this file wa
> delete
> successfully, thru a registry hack perhaps, I'm open to suggestions
> Thi
> file is like a really stubborn weed


--
Brin

'*MS MVP - Windows Desktop Experience*
(https://mvp.support.microsoft.com/pr...5-AD617AF3D511)
*There are no dumb questions, just the people that do not as
them.*
'*Windows 7 Forums*'
'*Windows Vista Forums*'

*Please post feedback to help others.*
 
Reply With Quote
 
Richard Urban
Guest
Posts: n/a

 
      11-13-2009
I have this installed on all of my computers. It has never failed to allow
me to delete folders or files that I choose to delete. It is called take
ownership.reg and it is a registry entry that places a choice in the right
click menu to take ownership of a folder and any sub folder and files
contained therein.

Try it.

http://www.howtogeek.com/howto/windo...menu-in-vista/

--

Richard Urban
Microsoft MVP
Windows Desktop Experience & Security


"Petrarch" <> wrote in message
news:2430785A-B14B-4C75-A57E-...
>I restored my vista OS using a system image utility provided by Alienware.
> It created a backup folder on the c drive with all the old files in it,
> including user profiles. I changed the owner of all files and folders
> back
> to my account and tried to delete it, but got the UAC messages that I need
> to
> allow administrator rights to do so. After clicking yes, I got a message
> that permission was denied with the only options of "Try Again" or
> "Cancel".
> After making visible all hidden files and folders, I was able to drill
> down
> to the one file I could not delete. I've used the "take ownership" steps
> in
> Vista explorer properties, and also the "takeown" dos commands, which
> report
> success that the Administrators group or my account which belongs to the
> administrators group, is the owner of the file, and that I have full
> control
> of it. Even so, I cannot delete this file. In DOS, I get access denied.
> In
> Explorer, I get the "you need permission to perform this action" message,
> with "try again" or "cancel", and it shows that my account (or
> administrators
> group, doing it that way) is the owner. It's just this one file. I was
> able
> to delete all other files and folders around this file, but just not this
> one.
>
> I wonder if the folder path is so long or so nested that UAC fails to
> figure
> it out? It was in users\<my profile>\appdata\roaming\etc. Or is the file
> corrupt? The file is a tempory file created by one of those biometric
> devices when logged on with your fingerprint, and is supposed to disappear
> when you log off, but it seems to have remained there because of a hard
> boot.
> Is there a utility I can use that can nuke this one lone file?
>
> thanks


 
Reply With Quote
 
Petrarch
Guest
Posts: n/a

 
      11-15-2009

Unfortunately, none of these options worked on this one file. I had to
format the drive and start over. This time around, when I restored from a
system image I did not create a backup folder on the C drive itself.

Taking ownership "should" have worked, and all the various steps repliers
provided were helpful, so don't feel bad. The lockhunter tool for 64-bit
OS's has been added to my IT bag of tricks. I'd been looking for something
that had the same features as unlocker for a while.

Thanks for all your replies. I appreciated the help.
 
Reply With Quote
 
Brink
Guest
Posts: n/a

 
      11-15-2009

Petrarch,

I'm sorry to hear that you had to format the drive to get rid of that
file.


Petrarch;1190831 Wrote:
> Unfortunately, none of these options worked on this one file. I had to
> format the drive and start over. This time around, when I restored from
> a
> system image I did not create a backup folder on the C drive itself.
>
> Taking ownership "should" have worked, and all the various steps
> repliers
> provided were helpful, so don't feel bad. The lockhunter tool for
> 64-bit
> OS's has been added to my IT bag of tricks. I'd been looking for
> something
> that had the same features as unlocker for a while.
>
> Thanks for all your replies. I appreciated the help.



--
Brink

'*MS MVP - Windows Desktop Experience*'
(https://mvp.support.microsoft.com/pr...5-AD617AF3D511)
*There are no dumb questions, just the people that do not ask
them.*
'*Windows 7 Forums*'
'*Windows Vista Forums*'

*Please post feedback to help others.*
 
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
Move \Users folder once for all Peter Meinl Windows Vista Installation 25 03-03-2010 02:37 AM
Re: Incorrect server name Ace Fekay [MCT] Windows Server 4 10-28-2009 03:17 PM
Showing Hidden Files folder by folder Bertrum Windows Vista File Management 4 01-16-2008 09:05 AM
How to delete a folder or file that has been deleted or moved? grumpy1450 Windows Vista File Management 1 04-12-2007 11:48 AM
Missing Files? D3DAiM Windows Vista Performance 6 04-02-2007 11:35 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