I share a folder on windows desktop and try to access it with es explorer on an Android device that asks me username and password. after filling it and logged in I see all my pc derive in mobile, I don't share them, and then use net share command in cmd that see all of my drive shared and remark by default share. How can I unshare them?

enter image description here


You can manually remove them by running :

net share c$ /delete

but they only stay removed until the next reboot. To prevent Windows from re-creating them automatically you need to edit the registry.

Navigate to :


then create a DWORD value called AutoShareWks and set it to 0.

(Note, you may see other posts online referencing the value to add as "AutoShareServer", however that is for server OSs, while AutoShareWks is for client OSs)

  • why this happened? will we needs it sometimes? Aug 10 '18 at 10:06
  • It's for administrators on networrks, so they can connect to the machines they manage. Aug 10 '18 at 10:21
  • Not worked. I'm using windows 10 and after restart it will bring them back. The only solution until now is disabling Sever service. I have this my concern because of virus attack. The virus spread itself with accessing other client across the network via c$ and copy itself into startup folders.
    – SAMPro
    Oct 21 '19 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.