Shared folders appear on reboot?

Test 21 Reputation points
2021-01-19T22:46:30.107+00:00

Why Microsoft? Why?

I stopped sharing folders with cmd.
I added DWORD value on regedit to stop it.
I unchecked the shared folder checkbox on Computer Manager wich tells me, "Este recurso compartido se creo para fines administrativos, El recurso compartido volvera a aparecer cuando se detenga y reinicie el servicio Servidor o se reinicie el equipo. ¿ Esta seguro de que desea detener el uso compartido de "folderName" ?

shared folders reappear in reboot.

tryed this:

https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/remove-administrative-shares#did-this-fix-the-problem

Where is the paramvalue to stop all kind of sharing folders?
Which services are involved?

Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-01-25T08:52:46.69+00:00

    Hi,

    Thank you very much for your feedback.

    Please kindly note that manually run net share xxx$ /delete command was a temporally method, you need run these commands when reboot the machine every time.

    Make sure that you save these command in a bat file as below screenshot and try again. I have tested in my lab, and it proceed to delete these shares successfully.

    60098-image-1.jpg
    60171-image-2.jpg

    60160-image-5.jpg

    *****If you don't want to run this bat file manually, I would suggest you could create a task scheduler to trigger run this bat file every startup.

    60099-image-3.jpg

    60173-image-4.jpg

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-01-20T03:21:44.487+00:00

    Hi,

    Thanks for posting in Q&A platform.

    Based on my understanding, you want to delete C$, Admin$ and IPC$ share in your device. Please correct me if my understanding is wrong.

    Please kindly note that IPC$ cannot be removed by default.

    I followed all detailed steps in this article How to remove administrative shares in Windows Server 2008 to remove administrative shares and then restarted my machine, all shares had been deleted except for IPC$.

    Please kindly follow the detailed steps in the official article to remove administrative shares. If the issue still existed, please share what detailed steps you have tried and the screenshot for us to reproduce your issue in our environment for further troubleshooting.

    Best Regards,
    Sunny

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

  2. Test 21 Reputation points
    2021-01-20T21:18:19.08+00:00

    Thanks but shared folders still apearing after those steps. (when server starts)

    Please explain with detailed information why IPC$ cannot be removed by default?

    There is another option or i should debug and disassemble each dll to remove such functionality from the kernel ?


  3. Test 21 Reputation points
    2021-01-21T21:44:27.75+00:00

    Thanks, I followed the steps but I still have two shared discs C$ and T$ (added on the bat)

    C$ and T$ are the hard disks.

    Is another configuration needed to stop sharing them?


  4. Test 21 Reputation points
    2021-01-22T13:17:20.323+00:00

    Yes, Manually works

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.