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.
*****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.
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.