+ Post New Thread
Results 1 to 3 of 3
Windows Server 2000/2003 Thread, How to delete share no longer exits in Technical; Hi Guys Not very good with server yet on learning stage, got new job as network manager from IT Technician ...
  1. #1

    Join Date
    Nov 2012
    Posts
    8
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Red face How to delete share no longer exits

    Hi Guys

    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

    PS: I had look in computer management - shares - they not there, whoever delete the folders must not remove share properly in past

    thank you
    Attached Images Attached Images
    Last edited by smitesh; 27th March 2013 at 02:49 PM. Reason: more info

  2. #2

    Join Date
    Jun 2009
    Location
    Edinburgh
    Posts
    109
    Thank Post
    4
    Thanked 21 Times in 14 Posts
    Rep Power
    14
    Two things to try
    *1 . Run REGEDIT and remove the corresponding REG_MULTI_SZ value(s) in HKLM\System\CurrentControlSet\Services\lanmanserve r\Shares
    OR
    2. Recreate the folder(s) in their original position, run the "net share /delete" command, delete the folder(s) again.

  3. 2 Thanks to network41:

    AngryTechnician (15th April 2013), smitesh (15th April 2013)

  4. #3

    Join Date
    Nov 2012
    Posts
    8
    Thank Post
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Option one was great all gone now thanks, option 2 can work but I did not have same hard drive letter anymore appriciated your help!!
    Last edited by smitesh; 15th April 2013 at 01:56 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. How to delete a protected OU
    By originofsymmetry in forum Windows Server 2008
    Replies: 17
    Last Post: 30th November 2010, 03:55 PM
  2. Should know but don't how to untangle shared IE8 settings
    By speckytecky in forum Windows Server 2008
    Replies: 7
    Last Post: 22nd November 2010, 11:38 AM
  3. Replies: 0
    Last Post: 7th April 2010, 05:42 PM
  4. [Fog] Fog Documentation: How to delete a group of computers in FOG
    By ssx4life in forum O/S Deployment
    Replies: 1
    Last Post: 9th November 2009, 01:59 PM
  5. How to delete printer drivers
    By j17sparky in forum Windows
    Replies: 8
    Last Post: 22nd January 2009, 02:48 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •