Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Persistant Network Connections

Posted on 2003-12-01
5
Medium Priority
?
424 Views
Last Modified: 2010-04-14
I have tried using the 'net use' command to map a USB printer to an LPT port.  The command works and the share is enabled which allows me to print from the USB printer through LPT.

The problem I am having is that after rebooting the computer (Windows XP Pro) and logging back on, when I try to print it fails.  If I do a 'net use' at the command prompt it shows my printer connection (share) as being 'unavailable'  If I remap it, then it works, but again after rebooting, it becomes 'unavailable'

Before you tell me to map it with 'persistent:yes' let me say I did that.

Now here's the weird part, if I log off the system and then log back on without rebooting, the printer connection comes back as 'OK' after doing a 'net use' and when I try to print, I can.  

So, it's almost as if Windows does something different when loging off and on the system aposed to rebooting. and logging on.

Does anyone know what I can do to have this connection persistent on every reboot.  Is this just a flaw in Windows?  

Thanks

-Air
0
Comment
Question by:Airgazm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 32

Expert Comment

by:LucF
ID: 9851992
Hi Airgazm,

Have you tried running it as a batch during startup?

Greetings,

LucF
0
 

Author Comment

by:Airgazm
ID: 9852010
LucF, no I haven't, I thought that the persistent paramanter does that for you.  

Hmm, I'll try that and see.  

0
 
LVL 32

Accepted Solution

by:
LucF earned 1000 total points
ID: 9852028
Just create the batch file and put it at Start => Programs => Startup
0
 

Author Comment

by:Airgazm
ID: 9852109
That worked perfectly.  Thanks LucF

-Air
0
 
LVL 32

Expert Comment

by:LucF
ID: 9852142
Glad to help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question