<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx</link><description>Hey, Scripting Guy! How can I create a logon script that lists the network printers for the logged-on user, then writes that information to a text file? -- RC 
 Hey, RC. You know, the nice thing about coming to work after a few days off is – well, OK</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3562852</link><pubDate>Tue, 02 Apr 2013 20:19:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3562852</guid><dc:creator>Glenn Gagne</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I tested your script and it work fine... locally ! But do you known how can we could use this script to determine network printer on a remote computer running in the actual running session ?&lt;/p&gt;
&lt;p&gt;Exemple: I would like to known which network printers are in the session of my end-user named Domain\Thomas on the computer PC001, from a script started from my technician computer PC002 in my Windows session Domain\Admin.&lt;/p&gt;
&lt;p&gt;I tested the WMI request with = FALSE and it seem to be not valid when started in remote location. I don&amp;#39;t known if this option is a limitation by WMI or the impersonate request is not formulated correctly... &lt;/p&gt;
&lt;p&gt;Please find a solution, this could be very useful to diagnose remote computers without having to do a remote GUI connection (RDP, DameWare, VNC) and stop user work.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3562852" width="1" height="1"&gt;</description></item><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3492963</link><pubDate>Wed, 18 Apr 2012 15:43:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3492963</guid><dc:creator>Todd</dc:creator><description>&lt;p&gt;Thank you for the light hearted style that you put in your blog entries. Reading knowledgebase entries can become monotonous, so reading something with a human feel as well as useful information is nice. Some others obviously don&amp;#39;t realize this is a BLOG, therefore it&amp;#39;s up to the author how they chose to post. In MY opinion, reading a few minutes to save you hours of work is a small price to pay for free scripting information... and humor thrown in is the icing on the cake.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3492963" width="1" height="1"&gt;</description></item><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3461327</link><pubDate>Tue, 25 Oct 2011 17:44:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3461327</guid><dc:creator>Amir</dc:creator><description>&lt;p&gt;Can we please leave out the humor and just get to the part that describes and explains the script? it&amp;#39;s real annoying, always having to read a couple paragraphs of jokes before getting to the parts that matter. There are plenty of joke sites out there, if we wanted jokes, we&amp;#39;d go to them. People search for scripts when they find your site, not jokes.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3461327" width="1" height="1"&gt;</description></item><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3363643</link><pubDate>Sat, 23 Oct 2010 09:35:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3363643</guid><dc:creator>SConnett1</dc:creator><description>&lt;p&gt;Hello, I am hoping to integrate this script in to a profile migration script I am custom building. I like the way the script works. However, how can I make it so it only lists the printers in the TXT file and not the current users info? I attempted this, but it leaves the first line in the text file blank. This takes me to my next question. How can i reverse the process? I would like to be able to use a script to later install the printer listed in the txt file to another XP PC when restoring a users backed up profile.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;SConnett&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3363643" width="1" height="1"&gt;</description></item><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3358784</link><pubDate>Wed, 29 Sep 2010 19:45:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3358784</guid><dc:creator>Jeffrey S. Patton</dc:creator><description>&lt;p&gt;That script is all fine and good assuming you have logged onto every single one of your computers. In testing, ran script against local computer, works good. Ran script against a computer in my domain that I have never logged into but I know has mapped printers, no output. Login to remote computer using the same cred&amp;#39;s I&amp;#39;m running the script as, works good.&lt;/p&gt;
&lt;p&gt;How exactly can you retrieve a list of mapped printers from all computers in a Domain, regardless of who has logged in? &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3358784" width="1" height="1"&gt;</description></item><item><title>re: How Can I List the Network Printers For the Logged-On User?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/16/how-can-i-list-the-network-printers-for-the-logged-on-user.aspx#3357594</link><pubDate>Fri, 24 Sep 2010 12:54:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3357594</guid><dc:creator>Guy G.</dc:creator><description>&lt;p&gt;For some unknown reason, when you have a remote printer on your computer and this remote printer is no longer existing on the remote server, you won&amp;#39;t see that printer on the Win32_Printer query&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3357594" width="1" height="1"&gt;</description></item></channel></rss>