Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Persistant Network Connections

Posted on 2003-12-01
5
Medium Priority
?
425 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
  • 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Integration Management Part 2
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

824 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