Line One
asked on
batch file referencing an LPT port won't run for user but will run for administrator on XP SP2
I have an XP SP2 system. I have created the following batch file that I want to run for regular users at startup. "net use lpt1 \\<computername>\<sharenam e> /persistent:yes". When I log in as the administrator it works fine. However when I boot up and run it as a regular user it doesn't work. Is it because of the reference to LPT1 - regular users don't have permissions for mapping devices?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Sorry it took me some time to get around to trying the different options out. As far as points go, oBdA and weareit were right on the money so perhaps 50 to each of them and then 25 to qz8dsw.
Forced accept.
Computer101
EE Admin
Computer101
EE Admin
Is this enviroment one that has a domain controlller, or just a whole heap of XP machines sharing what they share?
More than likely I'd say they don't have access to the share at first guess (So check the share permissions on the machine sharing the printer).
Most "users" have the ability to map network resources whether they be drives or printers.
(Otherwise everyone would have to have to be an admin on the local machine just to make it work)
Does your administrator username and password also match the administrator username and password on the machine where the printer is shared?
We need to know where the problem could come from (Domain or individual machine)
Terry