Solved

Persistant Network Connections

Posted on 2003-12-01
5
420 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 250 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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