Solved

Delete folders and subfolders

Posted on 2011-02-21
8
1,380 Views
Last Modified: 2012-05-11
I have a folder located on a NAS.
It has 5 subfolders, all empty. I have taken ownership and given myself full control of the folder and sub folders.
When I try to delete the folder I get a message telling me that I need to give myself permission to make changes.
I've also tried to delete it from a command prompt with no luck.
How can I force the deletion of the folders?
0
Comment
Question by:LindyS
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 11

Expert Comment

by:Kruno Džoić
ID: 34949340
0
 
LVL 3

Author Comment

by:LindyS
ID: 34949365
Yes, I took ownership of the folder and applied it to all the subdirectories.
I also gave myself full control over the folder and sub directories.
0
 
LVL 11

Expert Comment

by:Kruno Džoić
ID: 34949409
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 3

Expert Comment

by:Suryanarayan Balakrishnan Iyer
ID: 34949410
You would have the right to create or delete share if you have rights to do so. Check if you have the appropriate rights to do so or in the ACL somewhere you have deny against you.
1. You would have a nas admin account. Login using the NAS admin group and then take owner ship and do the needful.
2. You can also delete them using the NAS admin account.
0
 
LVL 4

Expert Comment

by:loki_loki
ID: 34949423
Have you tried deleting each sub folder individually?  It may just be one folder that is giving issues.    Can you do a net file on the nas and see if it thinks some has it open at all?
0
 
LVL 3

Expert Comment

by:Suryanarayan Balakrishnan Iyer
ID: 34949427
To take the owner ship on the share use the DC on which NAS is configured. Example:
We have NAS configured on our primary DC and the account XXX of the DC is used as NAS admin account. We login to the DC with XXX to take ownership in case of situations where user create their own share and don't give permission so that others would work on it.
0
 
LVL 3

Accepted Solution

by:
LindyS earned 0 total points
ID: 34950863
I finally figured out how to delete the folders.

RD [/S] [/Q] [drive:]path

/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.

/Q Quiet mode, do not ask if ok to remove a directory tree with /S


I tried del, but that didn't work. rd /S was the answer.
0
 
LVL 3

Author Closing Comment

by:LindyS
ID: 34990704
Did some more research and found the solution
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question