I am trying to map local printers through LPT1 and 2, this is for a dos based system that can only print this way, I don't yet know enough about the said system.
I am trying to map the printers using
net use lpt1: \\servername\printersharename
when this is run through a batch file there is a prompt for a username and password. If however I simply click
Start
Run
\\servername\printersharename
the printer will install. Is this because the net use command is running at a DOS level which is sub domain authentication and therefore you have to input a username and password? I'm not sure whats happening. If I log onto a desktop as the domain admin and run the DOS command
net use lpt1 \\servername\printersharename
the command completes so I am thinking it is either a security and rights issues or DOS being sub domain authentication - if that makes any sense.
If anyone has any suggestions I would be greatful, its probably something simple but just not that simple when you don't know
Cheers
I am trying to map the printers using
net use lpt1: \\servername\printersharename
when this is run through a batch file there is a prompt for a username and password. If however I simply click
Start
Run
\\servername\printersharename
the printer will install. Is this because the net use command is running at a DOS level which is sub domain authentication and therefore you have to input a username and password? I'm not sure whats happening. If I log onto a desktop as the domain admin and run the DOS command
net use lpt1 \\servername\printersharename
the command completes so I am thinking it is either a security and rights issues or DOS being sub domain authentication - if that makes any sense.
If anyone has any suggestions I would be greatful, its probably something simple but just not that simple when you don't know
Cheers