OCS Inventory NG Forums

OCS Inventory NG, an OpenSource computer inventory and package deployement system for Windows and Unix

You are not logged in.

#1 2012-05-22 20:15:08

taliesin
Member
Registered: 2012-05-22
Posts: 2

Installing printer thought Rundll32

Hi, is there anyway to install a network printer using these commands thought ocs deployment?

Remove the printer

rundll32 printui.dll,PrintUIEntry /q /dn /n "\\server\VL_old"

Install the printer

rundll32 printui.dll,PrintUIEntry /q /in /n "\\server\VL_new"

I tried using the execute command and it reports success but it does not remove or install the printers.

Thanks

Offline

#2 2012-05-23 08:53:48

kapouik
Administrator and OCS Team
From: Pink Town (South of France)
Registered: 2010-06-16
Posts: 3,475
Website

Re: Installing printer thought Rundll32

OCS Inventory NG agent is launch as service : I think you have install your printer for service user.


Try a batch that run your command as your local user instead.


Before asking any questions please read the documentation on http://wiki.ocsinventory-ng.org/ . No help will be given if you have not read this two pages :
- http://wiki.ocsinventory-ng.org/index.p … ion:Newbie
- http://wiki.ocsinventory-ng.org/index.p … n:Main#FAQ
OCS Inventory NG is made by a team of volunteers on our free time.

Offline

#3 2012-05-23 14:52:22

taliesin
Member
Registered: 2012-05-22
Posts: 2

Re: Installing printer thought Rundll32

kapouik wrote:

OCS Inventory NG agent is launch as service : I think you have install your printer for service user.


Try a batch that run your command as your local user instead.

I just thought there was a way to implement using the deployment feature.

Thanks

Offline

Board footer

Powered by FluxBB

Serveur dédié, hébergement web, infogérance et nom  de domaine - NFrance Conseil