- Nov 2, 2000
- 738
- 0
- 0
I have a w2k domain with 2 servers. I have the users in Organizational Units. I have a login script that works fine under administrator for mapping printers at login and unmaping them at logout, but regular users get an access denied error. I found this document on Microsofts website explaining how to set it up.
http://support.microsoft.com/default.aspx?scid=kb;en-us;189105
Here is my login script that works under Administrator
rundll32 printui.dll,PrintUIEntry /if /b "lj5si" /f %windir%\inf\ntprint.inf /r "IP_172.16.10.4" /m "HP Laserjet 5si" /z
Here is my logout script that works fine as administrator
rundll32 printui.dll,PrintUIEntry /dl /n "lj5si"
I have tried with a default group policy and without. The regular users can run "rundll32 printui.dll,PrintUIEntry"
without a problem, it's just when they try to setup the printer with the login script they're denied access. I'm sure this is some simple permission that I'm missing. Thanks for any help.
http://support.microsoft.com/default.aspx?scid=kb;en-us;189105
Here is my login script that works under Administrator
rundll32 printui.dll,PrintUIEntry /if /b "lj5si" /f %windir%\inf\ntprint.inf /r "IP_172.16.10.4" /m "HP Laserjet 5si" /z
Here is my logout script that works fine as administrator
rundll32 printui.dll,PrintUIEntry /dl /n "lj5si"
I have tried with a default group policy and without. The regular users can run "rundll32 printui.dll,PrintUIEntry"
without a problem, it's just when they try to setup the printer with the login script they're denied access. I'm sure this is some simple permission that I'm missing. Thanks for any help.