Solved

Persistant Network Connections

Posted on 2003-12-01
5
416 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:Luc Franken
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:
Luc Franken 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:Luc Franken
ID: 9852142
Glad to help
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

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…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now