Net use Problems Please help

  • Thread starter Thread starter Colby McCaslin
  • Start date Start date
C

Colby McCaslin

I have two machines both running Windows XP Pro. Each
machine has a printer attached to it. If I wanted to
take machine #1 and connect to machine number #2's
printer I can use the "net use lpt1
\\computername\printername. When I do this with both
machines sharing each others printers this works great
but at just random the printers become disconnected after
about 15-20 minutes. I then have to use the "net use
lpt1 /delete" command and then run the "net use lpt1
\\computername\printername" again. Is there anyway to
keep these drives from diconnecting at random? I have
also tried the persistent command as well. Any help
would be great.

Thanks,

Colby
 
this may help quoted from http://www25.brinkster.com/ChicagoTech
Why some mapped network drives show a red x

SYMPTOMS: You find that the network drive mapping may be disconnected after
15 minutes of inactivity and Windows Explorer may display a red "X" on the
icon of the mapped drive. However, if you double-click it reconnects
quickly.

RESOLUTION: by default, idle connections will be dropped after 15 minutes.
To modify idle time, at a command prompt using net config server
/autodisconnect: minutes. For example, to set the Autodisconnect value to
30 minutes, you would run the following command line: net config server
/autodisconnect:30. If you would like to turn Autodisconnect off, do net
config server /autodisconnect:-1.
--
For more and other information, go to
http://www25.brinkster.com/ChicagoTech


Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Windows & Network Support, Tips and FAQs on
http://www25.brinkster.com/ChicagoTech
This posting is provided "AS IS" with no warranties.
 
Use the persistent switch after you capture it.
net use lpt1 \\computer\sharename /persistent:yes

that will fix your problem
Wes
MCSE MCP+I CCNA CNA

(e-mail address removed)
 
Back
Top