Can't remove network share

  • Thread starter Thread starter Tech
  • Start date Start date
T

Tech

I'm trying to deploy software through a batch file. When I put
the net use command in the batch file it maps the right share
but the drive mapping name defaults to the root drive name.
I can not delete the share after that. If I right click on the share
there isn't an option to disconnect. I also tried the net use * /d /y
command. Even using "net use x: \\server\apps /persistent:no" didn't
fix the problem. The share is now permanently stuck in all the users
computers.
 
You did NOT have to cross-post this query to the world !

Q: What does MS Office have to do with server Shares ?
A: Nothing

Dave



| I'm trying to deploy software through a batch file. When I put
| the net use command in the batch file it maps the right share
| but the drive mapping name defaults to the root drive name.
| I can not delete the share after that. If I right click on the share
| there isn't an option to disconnect. I also tried the net use * /d /y
| command. Even using "net use x: \\server\apps /persistent:no" didn't
| fix the problem. The share is now permanently stuck in all the users
| computers.
|
|
 
This dude is on crack, dont listen to him. There is a
registry key that you will need to delete to fix this.
Just search your clients pc's registry for the map that
will not disconnect and delete the key. Reboot and you
should be ok.

HTH

-----Original Message-----
You did NOT have to cross-post this query to the world !

Q: What does MS Office have to do with server Shares ?
A: Nothing

Dave



| I'm trying to deploy software through a batch file. When I put
| the net use command in the batch file it maps the right share
| but the drive mapping name defaults to the root drive name.
| I can not delete the share after that. If I right click on the share
| there isn't an option to disconnect. I also tried the net use * /d /y
| command. Even using "net use x:
\\server\apps /persistent:no" didn't
 
Thanks, I'll try that

DJ said:
This dude is on crack, dont listen to him. There is a
registry key that you will need to delete to fix this.
Just search your clients pc's registry for the map that
will not disconnect and delete the key. Reboot and you
should be ok.

HTH


\\server\apps /persistent:no" didn't
 
Back
Top