WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Unable to delete folder - "You need permission to perform ..

 
Goto page 1, 2
   Home -> Vista -> Account Administration RSS
Next:  2 separate addresses-can i select, depending on a..  
Author Message
Hash

External


Since: May 02, 2007
Posts: 2



(Msg. 1) Posted: Wed May 02, 2007 9:48 pm
Post subject: Unable to delete folder - "You need permission to perform this act
Archived from groups: microsoft>public>windows>vista>administration_accounts_passwords (more info?)

I have a folder under the Windows directory of my Windows Vista OS. This
folder 'orclobi', was created when I installed a piece of software.

I have set ownership of this folder from "Administrators" to myself and have
"Full control" selected under the Security settings.

When I try to delete this folder by right clicking, I receive the following
message:
"You need permission to perform this action"

My User Account is of type Administrator. Its rather surprising that
administrator role does not allow an simple action like file/folder deletion
to be performed.

My research lead me to a forum where the following solution was proposed:

"...
it's not unusual to find some folders that can't be accessed, even by an
administrator, because their ACLs were set for accounts with SIDs that
applied to an old partition. For example, on my home machine, I switched the
C: and D: drive cables around and installed Windows Vista RTM on the new
drive. Having tested everything worked, I wanted to delete some old redundant
directories (like the old \Program Files directory). If even an administrator
can't access the file, how do you take it back?

The secret lies in two command-line utilities, one ancient, the other
completely revised for this release. Respectively, these are takeown (which
takes ownership of a file or directory) and icacls (which sets new ACLs on
that directory). I created a small batch command on my system called
itsmine.cmd, as follows:

takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t

From an elevated command prompt, you can run a command such as itsmine
d:\hard_to_delete and this will reset ownership and ACLs on the
hard_to_delete directory such that a command like rd /s d:\hard_to_delete
should work.
...."

I tried the above. It deletes some files and folders contained in 'orclobi'
but not all.

Also when I reboot the deleted files also magically re-appear.

Please provide a detailed step-by-step solution to resolving this issue.

Thanks.

Hash
Back to top
Login to vote
Dyawlak

External


Since: Apr 30, 2007
Posts: 30



(Msg. 2) Posted: Thu May 03, 2007 12:08 pm
Post subject: Re: Unable to delete folder - "You need permission to perform this act [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Are there subfolders or hidden files that might have different permissions?


"Hash" wrote in message

>I have a folder under the Windows directory of my Windows Vista OS. This
> folder 'orclobi', was created when I installed a piece of software.
>
> I have set ownership of this folder from "Administrators" to myself and
> have
> "Full control" selected under the Security settings.
>
> When I try to delete this folder by right clicking, I receive the
> following
> message:
> "You need permission to perform this action"
>
> My User Account is of type Administrator. Its rather surprising that
> administrator role does not allow an simple action like file/folder
> deletion
> to be performed.
>
> My research lead me to a forum where the following solution was proposed:
>
> "...
> it's not unusual to find some folders that can't be accessed, even by an
> administrator, because their ACLs were set for accounts with SIDs that
> applied to an old partition. For example, on my home machine, I switched
> the
> C: and D: drive cables around and installed Windows Vista RTM on the new
> drive. Having tested everything worked, I wanted to delete some old
> redundant
> directories (like the old \Program Files directory). If even an
> administrator
> can't access the file, how do you take it back?
>
> The secret lies in two command-line utilities, one ancient, the other
> completely revised for this release. Respectively, these are takeown
> (which
> takes ownership of a file or directory) and icacls (which sets new ACLs on
> that directory). I created a small batch command on my system called
> itsmine.cmd, as follows:
>
> takeown /f %1 /r /d y
> icacls %1 /grant administrators:F /t
>
> From an elevated command prompt, you can run a command such as itsmine
> d:\hard_to_delete and this will reset ownership and ACLs on the
> hard_to_delete directory such that a command like rd /s d:\hard_to_delete
> should work.
> ..."
>
> I tried the above. It deletes some files and folders contained in
> 'orclobi'
> but not all.
>
> Also when I reboot the deleted files also magically re-appear.
>
> Please provide a detailed step-by-step solution to resolving this issue.
>
> Thanks.
>
> Hash
>
>
>
>
>
>
>
>
Back to top
Login to vote
Hash

External


Since: May 02, 2007
Posts: 2



(Msg. 3) Posted: Thu May 03, 2007 2:22 pm
Post subject: Re: Unable to delete folder - "You need permission to perform this [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Dyawlak,

To answer your question, NO. There are no subfolders or hidden files that
might have different permissions.

All the subfolders and files contained in "orclobi" are now under my
'ownership' with 'full control' permissions granted to every one of them via
Security settings.

Also, I have removed the 'Read Only' property setting and attempted to
delete the folder, with no success. This is because even after ensuring that
the 'Read Only' setting is "unset" and changes are Applied, when I right
click the folder and select properties again magically the 'Read only'
property is reset (i.e. Read Only option is selected)

By the way, I have Windows Vista Home Premium installed Version 6.0.0.0 (if
my memory is serving me well in relation to the version Smile).

Hope to hear on this from you or other's in the community.

Thanks.

Regards,
Hash




"Dyawlak" wrote:

> Are there subfolders or hidden files that might have different permissions?
>
>
> "Hash" wrote in message
>
> >I have a folder under the Windows directory of my Windows Vista OS. This
> > folder 'orclobi', was created when I installed a piece of software.
> >
> > I have set ownership of this folder from "Administrators" to myself and
> > have
> > "Full control" selected under the Security settings.
> >
> > When I try to delete this folder by right clicking, I receive the
> > following
> > message:
> > "You need permission to perform this action"
> >
> > My User Account is of type Administrator. Its rather surprising that
> > administrator role does not allow an simple action like file/folder
> > deletion
> > to be performed.
> >
> > My research lead me to a forum where the following solution was proposed:
> >
> > "...
> > it's not unusual to find some folders that can't be accessed, even by an
> > administrator, because their ACLs were set for accounts with SIDs that
> > applied to an old partition. For example, on my home machine, I switched
> > the
> > C: and D: drive cables around and installed Windows Vista RTM on the new
> > drive. Having tested everything worked, I wanted to delete some old
> > redundant
> > directories (like the old \Program Files directory). If even an
> > administrator
> > can't access the file, how do you take it back?
> >
> > The secret lies in two command-line utilities, one ancient, the other
> > completely revised for this release. Respectively, these are takeown
> > (which
> > takes ownership of a file or directory) and icacls (which sets new ACLs on
> > that directory). I created a small batch command on my system called
> > itsmine.cmd, as follows:
> >
> > takeown /f %1 /r /d y
> > icacls %1 /grant administrators:F /t
> >
> > From an elevated command prompt, you can run a command such as itsmine
> > d:\hard_to_delete and this will reset ownership and ACLs on the
> > hard_to_delete directory such that a command like rd /s d:\hard_to_delete
> > should work.
> > ..."
> >
> > I tried the above. It deletes some files and folders contained in
> > 'orclobi'
> > but not all.
> >
> > Also when I reboot the deleted files also magically re-appear.
> >
> > Please provide a detailed step-by-step solution to resolving this issue.
> >
> > Thanks.
> >
> > Hash
> >
> >
> >
> >
> >
> >
> >
> >
>
Back to top
Login to vote
Mark Bourne

External


Since: Mar 22, 2007
Posts: 102



(Msg. 4) Posted: Fri May 04, 2007 6:39 am
Post subject: Re: Unable to delete folder - "You need permission to perform this [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hash wrote:
> I have a folder under the Windows directory of my Windows Vista OS. This
> folder 'orclobi', was created when I installed a piece of software.
>
> I have set ownership of this folder from "Administrators" to myself and have
> "Full control" selected under the Security settings.
>
> When I try to delete this folder by right clicking, I receive the following
> message:
> "You need permission to perform this action"
>
> My User Account is of type Administrator. Its rather surprising that
> administrator role does not allow an simple action like file/folder deletion
> to be performed.
>
Even when you have an "administrator" account, any programs you run only
have User privileges unless they specifically request to use
Administrator privileges and you allow them to. Explorer should, after
saying you need permission, produce a UAC prompt where you can give this
permission. If the delete still fails, it could be that the files are in
use by another program.

The difference between Administrator and User accounts seems to be that
Administrator accounts just need to click a button to give a program
administrator privileges, whereas a User account will need to enter the
password for an Administrator account.

(snipped)

> I tried the above. It deletes some files and folders contained in 'orclobi'
> but not all.
>
> Also when I reboot the deleted files also magically re-appear.
>
Is the software which created the folder still installed and running? It
sounds like it (or something else) is recreating the files you deleted.

> Please provide a detailed step-by-step solution to resolving this issue.
>
> Thanks.
>
> Hash
>
Back to top
Login to vote
Danny77




Joined: Aug 15, 2008
Posts: 1



(Msg. 5) Posted: Fri Aug 15, 2008 7:16 am
Post subject: Re: Unable to delete folder - [Login to view extended thread Info.]

Though this thread is quite old, it was the first one that cam up on google so i figured i may as well say how i (literally just now) fixed it on my computer.

Before reinstalling vista on my computer i had accidentally installed a game (Grid) on my backup hard drive, as you may have guessed i had to delete, now that i had reinstalled vista. Like you i am set as an admin on my computer as i am the only user, this being the case it still did not let me delete the folder, pain in the a... i went into the security tap in properties and it just had "Dan (Dan-PC\Dan)",though this account is an admin i decided to add "Administrators (Dan-PC Administrators)" to the list, it worked immediately after.

hope this helps
Back to top
Login to vote
kotpierdzibonk




Joined: Jun 11, 2009
Posts: 1



(Msg. 6) Posted: Thu Jun 11, 2009 1:51 pm
Post subject: [Login to view extended thread Info.]

Same as Danny77 I came here from Google. I tried to delete a few directories from menu start -> programs. Some of them I could delete with no problems, for some others I needed a permission from daddy Bill. I tried different tricks with no luck. Then I simpy deleted each file one by one, did the same with directories, and this way I got rid of the stubborn menu start entries. Simpy and purely stupid! Surprised Shocked Rolling Eyes Evil or Very Mad Twisted Evil Mr. Green
Back to top
Login to vote
supapowatyme




Joined: Oct 29, 2009
Posts: 1



(Msg. 7) Posted: Thu Oct 29, 2009 1:07 pm
Post subject: [Login to view extended thread Info.]

Ive had a really hard time trying to get rid of two folders on my hard drive. So far nothing ive tried has worked. This computer was fresh with vista(32bit-home edition)

Ive looked at permissions a million times and ive got permissions for full access granted on system user and administrator(user). Im the only user on the computer and still have no luck deleting these things. Ive also looked over all applications processes and services without being able to find anything that might be blocking it because its in use.

Im at my wits end on these two folders... Confused
Back to top
Login to vote
CalamityStriker




Joined: Jun 23, 2010
Posts: 2



(Msg. 8) Posted: Wed Jun 23, 2010 8:04 pm
Post subject: This might be it! [Login to view extended thread Info.]

A few days ago I got some malware/adware on my laptop. I decided to buy another notebook hard drive to replace the one in my computer. I took my computer apart and successfully removed the old hard drive and installed the new one. I then turned the old hard drive into an external with a kit. I installed Windows Vista on the new hard drive and now am in the process of trying to delete all the information off my old (now external) hard drive... I get an error.. "You need permission to perform this task" or something to that effect. I have scanned the external hard drive with Webroot antivirus... It finished and said there was no infections on the drive. I should tell you that I was able to delete most of the information on the external, but when it comes to deleting the Windows 7 info/files that were on there, that is when I get the error "You need permission..."

I don't know how to fix this but the only thought that comes to mind is that maybe those files are attached to my old user acct when it was running, and now that I have created a new user on the new hard drive I don't have permission. I fear that the files can't be deleted because they need permission from the old user account.
Back to top
Login to vote
Display posts from previous:   
       Home -> Vista -> Account Administration All times are: Eastern Time (US & Canada)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
  Windows Vista
 Windows Other
 Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Help Forum Terms of Service |
  • Link to WUGNET |
  • IT Support