in reply to Listing and removing mounted shares remotely?

I suspect the correct way to remove a share remotely is to remotely remove the registry entry listing the share. Of course, that requires remote registry access. Like I said, though, only a suspicition.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

  • Comment on Re: Listing and removing mounted shares remotely?

Replies are listed 'Best First'.
Re: Re: Listing and removing mounted shares remotely?
by Marza (Vicar) on Feb 28, 2003 at 07:32 UTC

    I thought of that with the TieRegistry mod. I did locate the point where you find reference and deleted it. But It appears you have to do a reboot for it to take. Problem is I can't with the machines in question.