Link to home
Start Free TrialLog in
Avatar of Airgazm
Airgazm

asked on

Persistant Network Connections

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
Avatar of Luc Franken
Luc Franken
Flag of Netherlands image

Hi Airgazm,

Have you tried running it as a batch during startup?

Greetings,

LucF
Avatar of Airgazm
Airgazm

ASKER

LucF, no I haven't, I thought that the persistent paramanter does that for you.  

Hmm, I'll try that and see.  

ASKER CERTIFIED SOLUTION
Avatar of Luc Franken
Luc Franken
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Airgazm

ASKER

That worked perfectly.  Thanks LucF

-Air
Glad to help