Not in those weird cases when it's blocked for no reason.Įlevated account has it's own environment. (or just close such program if you can) This works only in regular cases where there really is a program blocking the share disconnect. Right click that handle and select Close Handle. Click on each result, program window behind search dialog jumps to found program's handle. Use Sysinternals Process Explorer, press Ctrl F for search and enter the name of host machine owning such share. In cases when net use \\ /delete does not work because another program is still using that share, you can identify such program and remove the blocking handle without closing it. If you do this restart from a script, might be better to add a 1 second delay. The service probably needs to be disabled for some short period of time. It's not enough to restart the Workstation service (e.g. Net stop LanmanWorkstation -n 2 0.0.0.0 >nul If all fails, restart LanmanWorkstation service, you can use this script: Restarting Net stop workstation as offered should help in some cases. Net use \\ /delete fastest and targeted (not affecting other connections), but many times it does not work for one of many reasons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |