Issue deleting folder from windows server 2012 R2?

Anonymous
2023-12-15T10:57:03+00:00

Hi

I had a request from a colleague to delete a file from the server as they could not delete the folder.

I logged on to the server as an admin and located the file path to the required folder to be deleted.

When I select delete access, a denied message pops up with the message I need permission from myself to .

I got the master admin user account when I performed the request.

The machine is domain-enrolled.

I have tried the following to fix the issue

  • Take ownership of the folder intended to be deleted
  • Give me full control of the folder

Is there a way to delete this folder that does not require rebooting the server as everyone in the business works from it and it is not convenient to do so?

Thank you in advance

Yusuf

Windows for business Windows Server Directory services Active Directory

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2023-12-19T02:35:19+00:00

    Hello Yusuf,

    Greetings! I'm glad to hear that your problem has been solved! Please tell me whether your problem was solved by my solution. If so, you can mark my solution as the answer to help others with similar concerns. If not, you can share your solution so that more people can see it.

    Thanks again. Let me know if you have any further questions.

    Best regards,

    Qiuyang

    1 person found this answer helpful.
    0 comments No comments
Accepted answer
  1. Anonymous
    2023-12-18T10:22:54+00:00

    Hello Yusuf,

    Thank you for reaching out to Microsoft customer support. It sounds like you are experiencing issues deleting a folder from your Windows Server 2012 R2.

    Based on the information you have provided, it seems like you have already tried taking ownership of the folder and giving yourself full control of the folder. If these steps did not work, you can try the following:

    1. Check if the folder is being used by any process or application. If it is, close the process or application and try deleting the folder again.
    2. Use the Command Prompt to delete the folder. Open Command Prompt as an administrator and type in the command "rd /s /q [folder path]". This will delete the folder and all its contents without prompting for confirmation.

    If none of these steps work, you may need to reboot the server to delete the folder. However, please ensure that all users have saved their work and logged off before rebooting the server.

    I hope this helps. Let me know if you have any further questions or concerns.

    Best regards,

    Qiuyang

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-12-18T10:52:39+00:00

    Hi Quiyang

    Thank you so much.

    """ 1. Check if the folder is being used by any process or application. If it is, close the process or application and try deleting the folder again."""

    The above did the magic for me and successfully deleted the folder without the need to reboot the server. new knowledge has been acquired.

    Thank you so much for taking the time to reply.

    Much appreciated

    0 comments No comments