I need to find a way to add iPrint printers to "windows xp" computers when loged off. This script runs fine when a administrator user is loged in but it will not compleat when loged out.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Set printer=203_Lab
Set server=nwiprint1
Set DS=deployment

iprntcmd -d "ipp://%server%/ipp/%printer%"
c:\windows\sleep.exe 5
iprntcmd -a "ipp://%server%/ipp/%printer%"
c:\windows\sleep.exe 5
RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n"ipp://%server%/ipp/%printer%"
c:\windows\reg.exe" ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v %printer% /t REG_SZ /d RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n"ipp://%server%/ipp/%printer%" /f
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity