Posts Tagged ‘windows server 2008 terminal server printer’

Adding a shared printer with a script in Windows Server 2008

rundll32 printui.dll,PrintUIEntry /in /n\\printservername\printersharename

The above command in Windows Server 2008 will allow you to add a shared printer. Pop this command in a batch file and put this on your machine’s local start up folder (c:\program data\microsoft\windows\start menu\programs\startup). Anyone who logs in with the appropriate printer share permissions will get the printer automatically mapped with their account. You could also put this in your start up scripts in group policy for your domain.

Tags: , , , ,
Posted in Information Technologies No Comments »