Why can't I remove a directory on Windows Server 2012R2?How do I give administrators access to a folder...

Can SQL Server create collisions in system generated constraint names?

Does tea made with boiling water cool faster than tea made with boiled (but still hot) water?

How do I check if a string is entirely made of the same substring?

Mistake in years of experience in resume?

Don’t seats that recline flat defeat the purpose of having seatbelts?

How can I practically buy stocks?

How to write a column outside the braces in a matrix?

A strange hotel

What does ゆーか mean?

Like totally amazing interchangeable sister outfits II: The Revenge

How does Captain America channel this power?

How do I reattach a shelf to the wall when it ripped out of the wall?

Rivers without rain

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Checks user level and limit the data before saving it to mongoDB

How to pronounce 'c++' in Spanish

What's the polite way to say "I need to urinate"?

Get consecutive integer number ranges from list of int

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Critique of timeline aesthetic

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

How could Tony Stark make this in Endgame?



Why can't I remove a directory on Windows Server 2012R2?


How do I give administrators access to a folder without destroying current permissions?Windows Registry access denied when administratorCan't Delete Folder/Files on Windows Server 2012How is it possible to create a directory which even System can't remove?Administrator cannot delete fileaccess denied to folder, even though using admin accountCan't delete a folder that I createdNot able to delete file without permission from Nonexistant user/directoryRead-only directory on Windows?Can't remove directory under Windows or Linux






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I've got a folder that I created a few months ago on a secondary drive (E:) on one of our servers. It was shared for a user (and part of DFS). I've since removed the DFS entry for it as well as the sharing on it. I deleted all the contents, but am unable to delete the folder itself. From the CMD prompt I get a generic "Access Denied". From Explorer it tells me that I need to get permission from myself. I click OK, and then access denied... The folder has myself and administrator listed as full control. I'm shown as the owner of the folder. I've done a CMD prompt as administrator and access is still denied. I've rebooted and the results are the same afterwards. Any ideas on what's going on with this folder?










share|improve this question





























    0















    I've got a folder that I created a few months ago on a secondary drive (E:) on one of our servers. It was shared for a user (and part of DFS). I've since removed the DFS entry for it as well as the sharing on it. I deleted all the contents, but am unable to delete the folder itself. From the CMD prompt I get a generic "Access Denied". From Explorer it tells me that I need to get permission from myself. I click OK, and then access denied... The folder has myself and administrator listed as full control. I'm shown as the owner of the folder. I've done a CMD prompt as administrator and access is still denied. I've rebooted and the results are the same afterwards. Any ideas on what's going on with this folder?










    share|improve this question

























      0












      0








      0








      I've got a folder that I created a few months ago on a secondary drive (E:) on one of our servers. It was shared for a user (and part of DFS). I've since removed the DFS entry for it as well as the sharing on it. I deleted all the contents, but am unable to delete the folder itself. From the CMD prompt I get a generic "Access Denied". From Explorer it tells me that I need to get permission from myself. I click OK, and then access denied... The folder has myself and administrator listed as full control. I'm shown as the owner of the folder. I've done a CMD prompt as administrator and access is still denied. I've rebooted and the results are the same afterwards. Any ideas on what's going on with this folder?










      share|improve this question














      I've got a folder that I created a few months ago on a secondary drive (E:) on one of our servers. It was shared for a user (and part of DFS). I've since removed the DFS entry for it as well as the sharing on it. I deleted all the contents, but am unable to delete the folder itself. From the CMD prompt I get a generic "Access Denied". From Explorer it tells me that I need to get permission from myself. I click OK, and then access denied... The folder has myself and administrator listed as full control. I'm shown as the owner of the folder. I've done a CMD prompt as administrator and access is still denied. I've rebooted and the results are the same afterwards. Any ideas on what's going on with this folder?







      windows permissions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      Brian KnoblauchBrian Knoblauch

      3,63393150




      3,63393150






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I was finally able to delete the folder by first changing the ownership of it to a less privileged user. Then an admin level user deletion went through without any issue.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429529%2fwhy-cant-i-remove-a-directory-on-windows-server-2012r2%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I was finally able to delete the folder by first changing the ownership of it to a less privileged user. Then an admin level user deletion went through without any issue.






            share|improve this answer




























              0














              I was finally able to delete the folder by first changing the ownership of it to a less privileged user. Then an admin level user deletion went through without any issue.






              share|improve this answer


























                0












                0








                0







                I was finally able to delete the folder by first changing the ownership of it to a less privileged user. Then an admin level user deletion went through without any issue.






                share|improve this answer













                I was finally able to delete the folder by first changing the ownership of it to a less privileged user. Then an admin level user deletion went through without any issue.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 14 hours ago









                Brian KnoblauchBrian Knoblauch

                3,63393150




                3,63393150






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429529%2fwhy-cant-i-remove-a-directory-on-windows-server-2012r2%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                    looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...