Hi,
I am trying to install printer to a remote machine using vbs scripts. I can
install on local machine, but not on remote machine under domain setting.
Here is my script:
cscript prndrvr.vbs -a -m "HP LaserJet 4240 PCL 6" -s hptest.domain.com -h
"C:\HP4240\english\Drivers\Win32_2000_XP_S2003\PCL6" -i
"C:\HP4240\english\Drivers\Win32_2000_XP_S2003\PCL6\hpc4x50c.inf" - username
-w pwd
I get the following error messsage:
Unable to add printer driver HP LaserJet 4240 PCL 6 Win32 error code 87
Alan from Microsoft says it has to do with "Enabling Delegated
Authentication". If I delegate using GPO, it might compromise our network
security since the delegation is also for a computer account. I've read
another article to "Enable Constrained Delegation" which may work better.
However, which services do we add to be trusted for delegation for me to
install printer on remote machine? Any suggestions or comments greatly
appreciated. Thanks!