HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-23-2007, 09:38 PM
Ant
 
Posts: n/a
Default How do I disconnect from a network share?

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: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 11-23-2007, 10:37 PM
WTC
 
Posts: n/a
Default Re: How do I disconnect from a network share?

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
  #3  
Old 11-23-2007, 11:16 PM
Ant
 
Posts: n/a
Default Re: How do I disconnect from a network share?

On 11/23/2007 2:37 PM PT, WTC 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).

>
> 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


That doesn't seem to work:

C:\>net config workstation
Computer name \\foobar
Full Computer name foobar
User name user

Workstation active on
NetbiosSmb (000000000000)
NetBT_Tcpip_{32E2E3DA-2294-480F-B978-1B6192E145AF} (0016179432D6)
NetBT_Tcpip_{20170527-3DEF-4363-8D48-F4828937969E} (005056C00001)
NetBT_Tcpip_{A668F481-2E02-447A-AC6E-D905910DCBA9} (005056C00008)

Software version Windows 2002

Workstation domain wd
Workstation Domain DNS Name (null)
Logon domain foobar

COM Open Timeout (sec) 0
COM Send Count (byte) 16
COM Send Timeout (msec) 250
The command completed successfully.


C:\>net session
There are no entries in the list.


I tried with two XP SP2 machines too. I even checked to see my share
session was still working. Is it because the computer I am sharing with
is using Samba on Debian/Linux?
--
"What is it all but a trouble of ants... In the gleam of a million...
million of suns? --Alfred Lord Tennyson
/\___/\
/ /\ /\ \ 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: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Reply With Quote
  #4  
Old 11-24-2007, 03:29 PM
harrykrishna.nospam@online.ie
 
Posts: n/a
Default Re: How do I disconnect from a network share?

Ant <philpi@earthlink.netANT> 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

HarryKrishna.nospam@online.ie
Reply With Quote
  #5  
Old 11-24-2007, 09:32 PM
Ant
 
Posts: n/a
Default Re: How do I disconnect from a network share?

On 11/24/2007 7:29 AM PT, harrykrishna.nospam@online.ie 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: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Ant is currently not listening to any songs on his home computer.
Reply With Quote
  #6  
Old 11-25-2007, 03:03 PM
harrykrishna.nospam@online.ie
 
Posts: n/a
Default Re: How do I disconnect from a network share?

Ant <philpi@earthlink.netANT> wrote:

>On 11/24/2007 7:29 AM PT, harrykrishna.nospam@online.ie 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

HarryKrishna.nospam@online.ie
Reply With Quote
  #7  
Old 11-25-2007, 07:44 PM
Jack \(MVP-Networking\).
 
Posts: n/a
Default Re: How do I disconnect from a network share?

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" <philpi@earthlink.netANT> wrote in message
news:OZVL7FuLIHA.3516@TK2MSFTNGP02.phx.gbl...
> On 11/24/2007 7:29 AM PT, harrykrishna.nospam@online.ie 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: philpi@earthlink.netANT
> ( ) or ANTant@zimage.com
> Ant is currently not listening to any songs on his home computer.


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP loses network places when I disconnect laptop nzuri XP Networking 3 06-29-2004 05:10 PM
Network Share and Network Connections Clayton XP Networking 2 06-20-2004 11:32 AM
Disconnect Network Drive Lee XP Networking 0 04-21-2004 06:48 AM
Network client won't disconnect from ISP John T XP Networking 0 04-09-2004 11:12 PM


All times are GMT. The time now is 05:19 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger