PC Review


Reply
Thread Tools Rate Thread

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

 
 
Petrarch
Guest
Posts: n/a
 
      12th Nov 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
 
      12th Nov 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
 
FromTheRafters
Guest
Posts: n/a
 
      12th Nov 2009
"Petrarch" <(E-Mail Removed)> wrote in message
news:2430785A-B14B-4C75-A57E-(E-Mail Removed)...
>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
 
      12th Nov 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
 
      12th Nov 2009

I have 64-bit, so unlocker didn't pop up when trying to delete the file.

"Brink" wrote:

>
> If you are using a 32-bit Vista, then you might also see if the free
> program "Unlocker" may be able to allow you to delete it.
>
> 'Unlocker - Free software downloads and software reviews - CNET
> Download.com'
> (http://download.cnet.com/Unlocker/30...-10493998.html)
>
>
> Petrarch;1189595 Wrote:
> > "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?

>
>
> --
> 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*' (http://www.sevenforums.com/)
> '*Windows Vista Forums*' (http://www.vistax64.com/)
>
> *Please post feedback to help others.*
> .
>

 
Reply With Quote
 
Petrarch
Guest
Posts: n/a
 
      13th Nov 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
 
Richard Urban
Guest
Posts: n/a
 
      13th Nov 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" <(E-Mail Removed)> wrote in message
news:2430785A-B14B-4C75-A57E-(E-Mail Removed)...
>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
 
      15th Nov 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
 
allen
Guest
Posts: n/a
 
      3rd Dec 2009
I have removed such files using Ubuntu, downloaded as an ISO and installed
on a bootable thumb drive, using Unetbootin. Such a little item is very
handy and with a decent Thumb drive, is quite impressive.

FWIW, MSE found and removed a trojan installed along with Unlocker on one of
my machines. Moreover Unlocker does not always work, and when it does, I
wonder if it is safe..

"Petrarch" <(E-Mail Removed)> wrote in message
news:2430785A-B14B-4C75-A57E-(E-Mail Removed)...
>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
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Reversal of changing owner of a folder. PaulB108 Windows XP General 6 14th Feb 2010 11:01 PM
Display owner of a folder, file, etc. Frank Romeni Windows XP Security 4 6th Nov 2009 08:25 PM
how do I delete a folder w/o an owner? =?Utf-8?B?aHdvb2R3b3J0aA==?= Microsoft Outlook Contacts 0 28th Jun 2007 07:24 PM
API Help please - How do I find the owner of a file or folder using John Regan Microsoft VB .NET 2 16th Feb 2004 02:23 PM
Cannot delete public folder items while being folder owner jeremy Microsoft Outlook 0 3rd Nov 2003 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.