Solved

Delete folders and subfolders

Posted on 2011-02-21
8
1,378 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:M3rc74
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:M3rc74
ID: 34949409
0
 
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
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
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

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Suggested Solutions

I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now