<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dave Hildebrand.com &#187; networking</title>
	<atom:link href="http://www.davehildebrand.com/tag/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davehildebrand.com</link>
	<description>The IT Crowd</description>
	<lastBuildDate>Sun, 05 Sep 2010 06:25:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing Printers for All Users</title>
		<link>http://www.davehildebrand.com/2006/09/14/installing-printers-for-all-users/</link>
		<comments>http://www.davehildebrand.com/2006/09/14/installing-printers-for-all-users/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 17:08:30 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Tech Help]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://www.davehildebrand.com/233/?p=30</guid>
		<description><![CDATA[Do you ever get tired of installing the department printer for each user of a PC?&#160; Has your attempts to educate your users ended in frustration?&#160; Well thanks to a neat little tool built right into Windows, your troubles are over. The command line tool is call rundll32.exe printui.dll.&#160; To get a complete list of [...]]]></description>
			<content:encoded><![CDATA[<p>Do you ever get tired of installing the department printer for each user of a PC?&nbsp; Has your attempts to educate your users ended in frustration?&nbsp; Well thanks to a neat little tool built right into Windows, your troubles are over.<span id="more-30"></span></p>
<p>The command line tool is call rundll32.exe printui.dll.&nbsp; To get a complete list of options for this tool type:</p>
<blockquote><p><font color="#00cc00">rundll32.exe printui.dll, PrintUIEntry /?</font></p></blockquote>
<p>The commands we are specifically looking at are the /ga &amp; /gd options.&nbsp; These globally (all users on the PC) add or delete printers.&nbsp; Lets look at the usage of the command.</p>
<blockquote><p><font color="#00cc00">rundll32.exe printui.dll, PrintUIEntry</font> <font color="#ff0000">[options]</font></p>
</blockquote>
<p>Lets give an example of the complete command.</p>
<blockquote><p><font color="#00cc00">rundll32.exe printui.dll, PrintUIEntry</font> <font color="#ff0000">/ga /n \\printserver\finance</font></p>
</blockquote>
<p>Here we are globally adding (/ga) a printer in the finance department.&nbsp; The printer (\finance) is located on the server \\printserver.</p>
<p>If we wanted to globally delete (/gd) the printer we would make the simple change below.</p>
<blockquote><p><font color="#00cc00">rundll32.exe printui.dll, PrintUIEntry</font> <font color="#ff0000"><strong>/gd</strong> /n \\printserver\finance</font></p>
</blockquote>
<p>You can then add these command lines to a batch (.bat) file and run it on all the PCs in the finance department and no matter where an employee in the finance logs in they will have access to the finance printer.</p>
<p>There are many more options available using printui.dll and rundll32.exe.&nbsp; Please feel free to share your usage of the command with the readers here. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.davehildebrand.com/2006/09/14/installing-printers-for-all-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
