<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Set the default printer for all users on a Windows XP computer</title>
	<atom:link href="http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/feed/" rel="self" type="application/rss+xml" />
	<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/</link>
	<description>once more unto the breach...</description>
	<lastBuildDate>Tue, 24 Jan 2012 18:46:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sam</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-8079</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 29 Nov 2010 16:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-8079</guid>
		<description>Kerry, Your script works perfectly!  Thanks. </description>
		<content:encoded><![CDATA[<p>Kerry, Your script works perfectly!  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-8027</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 16 Nov 2010 18:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-8027</guid>
		<description>This worked great, Vasken. Can&#039;t believe nobody in my IT org knew about this. Thanks!</description>
		<content:encoded><![CDATA[<p>This worked great, Vasken. Can&#039;t believe nobody in my IT org knew about this. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Where&#8217;d I leave that note? &#187; Blog Archive &#187; howto script windows default printer</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7957</link>
		<dc:creator>Where&#8217;d I leave that note? &#187; Blog Archive &#187; howto script windows default printer</dc:creator>
		<pubDate>Sun, 17 Oct 2010 01:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7957</guid>
		<description>[...] Thanks to Gerry Lieberwirth&#8217;s post. and a post over at neverblog.net [...]</description>
		<content:encoded><![CDATA[<p>[...] Thanks to Gerry Lieberwirth&#8217;s post. and a post over at neverblog.net [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teehee</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7837</link>
		<dc:creator>Teehee</dc:creator>
		<pubDate>Thu, 29 Jul 2010 16:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7837</guid>
		<description>the syntax i used for my local printer was &quot;rundll32 printui.dll,PrintUIEntry /y /q /n DellLaserPrinter1100&quot;.  I changed the printer name to contain no spaces not sure if that matters but this works fine.  Thanks for the help. </description>
		<content:encoded><![CDATA[<p>the syntax i used for my local printer was &quot;rundll32 printui.dll,PrintUIEntry /y /q /n DellLaserPrinter1100&quot;.  I changed the printer name to contain no spaces not sure if that matters but this works fine.  Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerry</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7833</link>
		<dc:creator>Kerry</dc:creator>
		<pubDate>Wed, 28 Jul 2010 09:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7833</guid>
		<description>I can also recommend using the built-in vbs scripts. They&#039;re super easy and work, arguabley, just as well. 
  &lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc725868(WS.10).aspx&quot; rel=&quot;nofollow&quot;&gt;http://technet.microsoft.com/en-us/library/cc7258...&lt;/a&gt;  
 
Here&#039;s how to use it: 
 
1. Make a batch file, like instructed above 
2. put this in it: 
CScript c:WINDOWSsystem32prnmngr.vbs -p &quot;PRINTER NAME HERE&quot; -t 
exit 
3. Either put the bat file in the &quot;All UsersStartup&quot; folder, the default user&#039;s startup folder, or make it a login script like the above suggestion. 
 
There certainly is more than one way to skin this cat. :) </description>
		<content:encoded><![CDATA[<p>I can also recommend using the built-in vbs scripts. They&#039;re super easy and work, arguabley, just as well.</p>
<p>  <a href="http://technet.microsoft.com/en-us/library/cc725868(WS.10).aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/cc7258&#8230;</a>  </p>
<p>Here&#039;s how to use it:</p>
<p>1. Make a batch file, like instructed above</p>
<p>2. put this in it:</p>
<p>CScript c:WINDOWSsystem32prnmngr.vbs -p &quot;PRINTER NAME HERE&quot; -t</p>
<p>exit</p>
<p>3. Either put the bat file in the &quot;All UsersStartup&quot; folder, the default user&#039;s startup folder, or make it a login script like the above suggestion.</p>
<p>There certainly is more than one way to skin this cat. <img src='http://neverblog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasken</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7708</link>
		<dc:creator>Vasken</dc:creator>
		<pubDate>Fri, 14 May 2010 13:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7708</guid>
		<description>No problem. Thanks for double-checking and the followup comment. Hopefully this will help other readers in the same boat. </description>
		<content:encoded><![CDATA[<p>No problem. Thanks for double-checking and the followup comment. Hopefully this will help other readers in the same boat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7706</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 13 May 2010 08:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7706</guid>
		<description>I have to apologize for my previous post.  The default printer for all users isn&#039;t set this way.  It has to be changed in the Default user registry hive. 
Here is a Microsoft Link on changing the &#039;Initial&#039; default printer for all users.  &lt;a href=&quot;http://support.microsoft.com/kb/307016&quot; rel=&quot;nofollow&quot;&gt;http://support.microsoft.com/kb/307016&lt;/a&gt;  
Next time I&#039;ll verify before posting. </description>
		<content:encoded><![CDATA[<p>I have to apologize for my previous post.  The default printer for all users isn&#039;t set this way.  It has to be changed in the Default user registry hive.</p>
<p>Here is a Microsoft Link on changing the &#039;Initial&#039; default printer for all users.<br />
  <a href="http://support.microsoft.com/kb/307016" rel="nofollow">http://support.microsoft.com/kb/307016</a><br />
Next time I&#039;ll verify before posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7705</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 13 May 2010 07:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7705</guid>
		<description>Great script works great when you want the same printer on a PC for everyone who logs onto it.  Nice to use things like that instead of making registry entries all the time. 
However, I have an alternate situation.  I just want an initial setting for all users but allow them to change to a different default printer if they want to without worrying about logging on again and having it change back. 
Copying profile settings to the windows default user didn&#039;t seem to change that but I&#039;ll have to double check.  To make the change in the registry seems to have done what I needed it to do. 
To do that, make the default printer for a user (or admin) that is logged on already and check this registry key. 
HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows 
 
 and compare the values to: 
 
HKEY_USERS.DEFAULTSoftwareMicrosoftWindows NTWindows 
 
Most likely you will only have to copy the setting for Device for the current user directly to the .DEFAULT users Device value.  Otherwise, you can export that registry key &quot;HKEY_CURRENT_USER&quot;, change it to &quot;HKEY_USERS.DEFAULT&quot;, and import it. 
 
Thanks for the great info and I hope this alternative works for others with the same situation. </description>
		<content:encoded><![CDATA[<p>Great script works great when you want the same printer on a PC for everyone who logs onto it.  Nice to use things like that instead of making registry entries all the time.</p>
<p>However, I have an alternate situation.  I just want an initial setting for all users but allow them to change to a different default printer if they want to without worrying about logging on again and having it change back.</p>
<p>Copying profile settings to the windows default user didn&#039;t seem to change that but I&#039;ll have to double check.  To make the change in the registry seems to have done what I needed it to do.</p>
<p>To do that, make the default printer for a user (or admin) that is logged on already and check this registry key.</p>
<p>HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows</p>
<p> and compare the values to:</p>
<p>HKEY_USERS.DEFAULTSoftwareMicrosoftWindows NTWindows</p>
<p>Most likely you will only have to copy the setting for Device for the current user directly to the .DEFAULT users Device value.  Otherwise, you can export that registry key &quot;HKEY_CURRENT_USER&quot;, change it to &quot;HKEY_USERS.DEFAULT&quot;, and import it.</p>
<p>Thanks for the great info and I hope this alternative works for others with the same situation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noj&#039; Ttobba</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-7539</link>
		<dc:creator>Noj&#039; Ttobba</dc:creator>
		<pubDate>Mon, 08 Feb 2010 15:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-7539</guid>
		<description>It works pretty well, but I have one query.  If it&#039;s an existing user than it works with no problems.  But if it&#039;s a new user, it will fail with the message &#8220;Operation could not be completed. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the service.&#8221;  But if they sign in again it works fine.  Is there any way to get rid of the initial error.  Thanks for the excellent info either way. </description>
		<content:encoded><![CDATA[<p>It works pretty well, but I have one query.  If it&#039;s an existing user than it works with no problems.  But if it&#039;s a new user, it will fail with the message &ldquo;Operation could not be completed. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the service.&rdquo;  But if they sign in again it works fine.  Is there any way to get rid of the initial error.  Thanks for the excellent info either way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://neverblog.net/set-the-default-printer-for-all-users-on-a-windows-xp-computer/comment-page-1/#comment-5906</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 30 Apr 2009 16:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.neverblog.net/?p=87#comment-5906</guid>
		<description>Well, this isn&#039;t this most elegant solution, but here is what I ended up going with for now: 
First add the network printer using the /ga switch as usual. 
A shortcut in the startup folder pointing to a batch file in a local folder on root, with the properties of the shortcut set to run minimized and to &quot;start in&quot; %USERPROFILE% (and the icon changed to one of the pritner-like icons from shell32.dll. 
The batch file runs like this: 
------------------------------------- 
@echo off 
SET /A J=0 
 
:CHECKFORPRT 
rundll32 printui.dll,PrintUIEntry /f &quot;printers.txt&quot; /q /ge 
For /F &quot;Tokens=3 delims=&quot; %%I In (&#039;type printers.txt ^&#124; find /I &quot;PRINTERNAME&quot;&#039;) DO If &quot;%%I&quot;==&quot;PRINTERNAME&quot; GOTO SETDEFAULTPRT 
ping 127.0.0.1 -n 2 -w 1000 &gt; nul 
SET /A J=J+1 
IF %J%==30 GOTO QUIT 
GOTO CHECKFORPRT 
 
:SETDEFAULTPRT 
ping 127.0.0.1 -n 4 -w 1000 &gt; nul 
rundll32 printui.dll,PrintUIEntry /y /nSERVERPRINTERNAME  
 
:QUIT 
If EXIST printers.txt del printers.txt 
 
------------------------------------- 
The purpose of the pings is to delay by a second less than the -n switch value (so never use a 1, since there would be no delay.) The ping with &quot;-n 4&quot; that is run even after the printer does get listed is there because setting it as default STILL didn&#039;t work right away, and I was willing to live with a permanent 3-second delay. The time delay isn&#039;t exact, but is good enough for this. 
 
This has worked so far in the little bit of testing I have done. </description>
		<content:encoded><![CDATA[<p>Well, this isn&#039;t this most elegant solution, but here is what I ended up going with for now:</p>
<p>First add the network printer using the /ga switch as usual.</p>
<p>A shortcut in the startup folder pointing to a batch file in a local folder on root, with the properties of the shortcut set to run minimized and to &quot;start in&quot; %USERPROFILE% (and the icon changed to one of the pritner-like icons from shell32.dll.</p>
<p>The batch file runs like this:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>@echo off</p>
<p>SET /A J=0</p>
<p>:CHECKFORPRT</p>
<p>rundll32 printui.dll,PrintUIEntry /f &quot;printers.txt&quot; /q /ge</p>
<p>For /F &quot;Tokens=3 delims=&quot; %%I In (&#039;type printers.txt ^| find /I &quot;PRINTERNAME&quot;&#039;) DO If &quot;%%I&quot;==&quot;PRINTERNAME&quot; GOTO SETDEFAULTPRT</p>
<p>ping 127.0.0.1 -n 2 -w 1000 &gt; nul</p>
<p>SET /A J=J+1</p>
<p>IF %J%==30 GOTO QUIT</p>
<p>GOTO CHECKFORPRT</p>
<p>:SETDEFAULTPRT</p>
<p>ping 127.0.0.1 -n 4 -w 1000 &gt; nul</p>
<p>rundll32 printui.dll,PrintUIEntry /y /nSERVERPRINTERNAME </p>
<p>:QUIT</p>
<p>If EXIST printers.txt del printers.txt</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>The purpose of the pings is to delay by a second less than the -n switch value (so never use a 1, since there would be no delay.) The ping with &quot;-n 4&quot; that is run even after the printer does get listed is there because setting it as default STILL didn&#039;t work right away, and I was willing to live with a permanent 3-second delay. The time delay isn&#039;t exact, but is good enough for this.</p>
<p>This has worked so far in the little bit of testing I have done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
