PC Review


Reply
Thread Tools Rate Thread

How do I disconnect from a network share?

 
 
Ant
Guest
Posts: n/a
 
      23rd Nov 2007
Hello!

After connecting to a network share successfully that requires me to log
in (user name and password) through a shortcut or manually (e.g.,
\\192.168.1.123\), how do I disconnect so that when I connect again
without a reboot, I get a password prompt again since I am using shared
machines (Windows 2000 and XP; good to know for Vista too if it is
different).

Thank you in advance.
--
"What reason, like the careful ant, draws laboriously together, the wind
of accident sometimes collects in a moment." --Friedrich von Schiller
/\___/\
/ /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: (E-Mail Removed)NT
( ) or (E-Mail Removed)
Ant is currently not listening to any songs on his home computer.
 
Reply With Quote
 
 
 
 
WTC
Guest
Posts: n/a
 
      23rd Nov 2007
Ant wrote:

> Hello!
>
> After connecting to a network share successfully that requires me to
> log in (user name and password) through a shortcut or manually (e.g.,
> \\192.168.1.123\), how do I disconnect so that when I connect again
> without a reboot, I get a password prompt again since I am using
> shared machines (Windows 2000 and XP; good to know for Vista too if
> it is different).
>
> Thank you in advance.


Hi Ant,

This should help you,

Net session
http://www.microsoft.com/resources/d....mspx?mfr=true

Net config
http://www.microsoft.com/resources/d....mspx?mfr=true

--
William Crawford
MS-MVP Windows Shell/User
 
Reply With Quote
 
harrykrishna.nospam@online.ie
Guest
Posts: n/a
 
      24th Nov 2007
Ant <(E-Mail Removed)> wrote:

>Hello!
>
>After connecting to a network share successfully that requires me to log
>in (user name and password) through a shortcut or manually (e.g.,
>\\192.168.1.123\), how do I disconnect so that when I connect again
>without a reboot, I get a password prompt again since I am using shared
>machines (Windows 2000 and XP; good to know for Vista too if it is
>different).
>
>Thank you in advance.



If I understand you properly you just want to drop the connection
credentials so you are required to authenticate the next time. If so,
open a command prompt and tyoe "NET USE". This will show you your
current connections so if you're mapped using a drive letter you could
type "NET USE X: /d" where X: is the drive.

If you are not mapped via a drive you coult type "NET USE
\\192.168.1.123\c$ /d" (or whatever your share name is)"

Also, if you simply connected usijng an IPC it might not show us but
you could always try "NET USE \\192.168.1.123\ipc$ /d" to be sure...

HTH

Ha®®y

(E-Mail Removed)
 
Reply With Quote
 
Ant
Guest
Posts: n/a
 
      24th Nov 2007
On 11/24/2007 7:29 AM PT, (E-Mail Removed) typed:

>> After connecting to a network share successfully that requires me to log
>> in (user name and password) through a shortcut or manually (e.g.,
>> \\192.168.1.123\), how do I disconnect so that when I connect again
>> without a reboot, I get a password prompt again since I am using shared
>> machines (Windows 2000 and XP; good to know for Vista too if it is
>> different).
>>
>> Thank you in advance.

>
>
> If I understand you properly you just want to drop the connection
> credentials so you are required to authenticate the next time. If so,
> open a command prompt and tyoe "NET USE". This will show you your
> current connections so if you're mapped using a drive letter you could
> type "NET USE X: /d" where X: is the drive.
>
> If you are not mapped via a drive you coult type "NET USE
> \\192.168.1.123\c$ /d" (or whatever your share name is)"
>
> Also, if you simply connected usijng an IPC it might not show us but
> you could always try "NET USE \\192.168.1.123\ipc$ /d" to be sure...


Thank you!!! NET USE \\192.168.1.123\ipc$ /d" was it! Do I assume
this works for 9x, 2000, and Vista as well?
--
"I killed an ant, now all my relatives are afraid of me." --unknown
/\___/\
/ /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: (E-Mail Removed)NT
( ) or (E-Mail Removed)
Ant is currently not listening to any songs on his home computer.
 
Reply With Quote
 
harrykrishna.nospam@online.ie
Guest
Posts: n/a
 
      25th Nov 2007
Ant <(E-Mail Removed)> wrote:

>On 11/24/2007 7:29 AM PT, (E-Mail Removed) typed:
>
>>> After connecting to a network share successfully that requires me to log
>>> in (user name and password) through a shortcut or manually (e.g.,
>>> \\192.168.1.123\), how do I disconnect so that when I connect again
>>> without a reboot, I get a password prompt again since I am using shared
>>> machines (Windows 2000 and XP; good to know for Vista too if it is
>>> different).
>>>
>>> Thank you in advance.

>>
>>
>> If I understand you properly you just want to drop the connection
>> credentials so you are required to authenticate the next time. If so,
>> open a command prompt and tyoe "NET USE". This will show you your
>> current connections so if you're mapped using a drive letter you could
>> type "NET USE X: /d" where X: is the drive.
>>
>> If you are not mapped via a drive you coult type "NET USE
>> \\192.168.1.123\c$ /d" (or whatever your share name is)"
>>
>> Also, if you simply connected usijng an IPC it might not show us but
>> you could always try "NET USE \\192.168.1.123\ipc$ /d" to be sure...

>
>Thank you!!! NET USE \\192.168.1.123\ipc$ /d" was it! Do I assume
>this works for 9x, 2000, and Vista as well?



You're welcome.

It should work for all OS I believe. You will likely need to open an
elevated CMD prompt in Vista (Run as Administrator) although I'm not
sure...


Ha®®y

(E-Mail Removed)
 
Reply With Quote
 
Jack \(MVP-Networking\).
Guest
Posts: n/a
 
      25th Nov 2007
Hi
It should work with all windows OS.
Hi
You actually can create small text files on these commands save them with
bat (for batch) extension, and drag an Link/Icon to a place of your choice.
Double click on the Icon and the connection Gone.
Jack (MVP-Networking).

"Ant" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 11/24/2007 7:29 AM PT, (E-Mail Removed) typed:
>
>>> After connecting to a network share successfully that requires me to log
>>> in (user name and password) through a shortcut or manually (e.g.,
>>> \\192.168.1.123\), how do I disconnect so that when I connect again
>>> without a reboot, I get a password prompt again since I am using shared
>>> machines (Windows 2000 and XP; good to know for Vista too if it is
>>> different).
>>>
>>> Thank you in advance.

>>
>>
>> If I understand you properly you just want to drop the connection
>> credentials so you are required to authenticate the next time. If so,
>> open a command prompt and tyoe "NET USE". This will show you your
>> current connections so if you're mapped using a drive letter you could
>> type "NET USE X: /d" where X: is the drive.
>>
>> If you are not mapped via a drive you coult type "NET USE
>> \\192.168.1.123\c$ /d" (or whatever your share name is)"
>>
>> Also, if you simply connected usijng an IPC it might not show us but
>> you could always try "NET USE \\192.168.1.123\ipc$ /d" to be sure...

>
> Thank you!!! NET USE \\192.168.1.123\ipc$ /d" was it! Do I assume this
> works for 9x, 2000, and Vista as well?
> --
> "I killed an ant, now all my relatives are afraid of me." --unknown
> /\___/\
> / /\ /\ \ Phillip/Ant @ http://antfarm.ma.cx (Personal Web Site)
> | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
> \ _ / Remove ANT from e-mail address: (E-Mail Removed)NT
> ( ) or (E-Mail Removed)
> Ant is currently not listening to any songs on his home computer.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disconnect from a network share? Ant Windows XP Help 5 25th Nov 2007 07:44 PM
How do I disconnect from a network share? Ant Windows XP Networking 6 25th Nov 2007 07:44 PM
How do I disconnect from a network share? Ant Microsoft Windows 2000 5 25th Nov 2007 07:44 PM
Can't connect to network share as other user unless I disconnect network drives cdn1967@yahoo.com Windows Networking 2 14th Apr 2005 06:24 PM
How to detect a network disconnect of a share Douglas Gallant Microsoft Dot NET Framework 3 24th Sep 2004 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:06 AM.