How to delete share no longer exits
Not very good with server yet on learning stage, got new job as network manager from IT Technician in school
I want to delete network shares which no longer exists e.g. see screen shot
I can run net share delete etc but the thing is I got at least 300 warning entry in event viewer which is all do to with this Shares
Is there any way I can use certain batch file if someone have knowledge to write it so it can delete all shares that no exists anymore?
And then next time when I restart server it will not give me attack of errors in event viewer http://staticc2.cdngeek.net/images/icons/icon11.png
PS: I had look in computer management - shares - they not there, whoever delete the folders must not remove share properly in past