View Full Version : How can I use a machine policy to map a lpt port?


Dennis
How can I use a machine policy to map a lpt port?


I have a machine group policy that uses a batch file to
run "net use" to map lpt1 to a shared printer. The batch
file works and lpt1 gets mapped, but when a a user logs
on to that machine, the mapping is gone. I tried to set
an environment variable and the same thing happened?

Tim Hines [MSFT]
Have you tried using the /persistent switch in your batch file? That may
work.

--
--
Tim Hines, MCSE, MCSA
Windows 2000 Directory Services

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.



"Dennis" wrote in message
news:12c5d01c3f64b$d0357410$a501280a@phx.gbl...
> How can I use a machine policy to map a lpt port?
>
>
> I have a machine group policy that uses a batch file to
> run "net use" to map lpt1 to a shared printer. The batch
> file works and lpt1 gets mapped, but when a a user logs
> on to that machine, the mapping is gone. I tried to set
> an environment variable and the same thing happened?