<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Default printer is not remembered in VDI in Horizon Desktops and Apps</title>
    <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2901148#M96641</link>
    <description>&lt;P&gt;Did you have any luck with local USB printers? I have tried everything with no luck, after reboot of thin clients our local&amp;nbsp; USB printers are not remembered.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 17:51:09 GMT</pubDate>
    <dc:creator>Baileyboy</dc:creator>
    <dc:date>2022-03-29T17:51:09Z</dc:date>
    <item>
      <title>Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736228#M74365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have vmware vSphere6 and VDI desktop infrastructure. Every time user loggs in into VDI his default printer is not the printer which it made default in previous login. Vm pool is Automated Desktop Pool with source vCenter (linked clone). This happens on win8 or win10, it doesn't matter.&lt;/P&gt;&lt;P&gt;I found this in discussion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;I found the sollution eventually.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Its realated to the "network location awareness" service&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;2 options:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;[s]1. (for every user) disable the "Network Location Awareness" Service in the services console and include it in your gold image&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;(i believe its related to: every guest generates there own network ID, if the ID is different NLA sets the default printer to the system default (which in my case is the PDF creator)[/s] (sorry guys, this was NOT the sollution)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;2. If you do not want to disable the NLA service,&amp;nbsp; Do it on a per-user base in the current user registry (see below)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Create a Key in HKEY_CURRENT_USER\Printers ... named: Defaults&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Then create an entry (string value): Disabled and set it to: 1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;--- printer_per_user.reg ----&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Windows Registry Editor Version 5.00&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;[HKEY_CURRENT_USER\Printers\Defaults]&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;"Disabled"="1"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;but registry editing and disabling service didn't helped. Any more ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 09:55:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736228#M74365</guid>
      <dc:creator>eXPlosionas</dc:creator>
      <dc:date>2016-05-10T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736229#M74366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Client Side Preferences:&lt;/P&gt;&lt;P&gt;Group Policy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Configuration:&amp;gt;Preferences&amp;gt;Control Panel Settings&amp;gt;Printers&amp;gt; Shared Printer&amp;gt;&lt;/P&gt;&lt;P&gt;Set the printer as a default Printer&amp;gt; True&lt;/P&gt;&lt;P&gt;Only if a local printer is not present: True/False&lt;/P&gt;&lt;P&gt;You can also item level target this to a security group of users or a OU where your users are based./&lt;/P&gt;&lt;P&gt;Departmental/ Office etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is another way...if you dont want to use Client Side preferences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially you are going to create a script to write your currently saved&amp;nbsp; default printer to a network drive upon logoff.&lt;/P&gt;&lt;P&gt;then upon logon you will create a scheduled task to copy that default printer info from text file back in to the registry.&lt;/P&gt;&lt;P&gt;this is an exact copy of the script we are using to do this today across 650 vms&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Save Printer script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim objFSO 'As FileSystemObject&lt;/P&gt;&lt;P&gt;Dim objTextFile 'As Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set oShell = CreateObject("WScript.Shell")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;strValue = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device"&lt;/P&gt;&lt;P&gt;strPrinter = oShell.RegRead(strValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set objTextFile = objFSO.CreateTextFile("p:\defaultPrinter.txt", True)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;objTextFile.Write (strPrinter)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;objTextFile.Close&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Restore Printer Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Error Resume Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set objFSO = CreateObject("Scripting.FileSystemObject") &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set objFile = objFSO.OpenTextFile("p:\defaultprinter.txt", 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Err.Number &amp;lt;&amp;gt; 0 Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; wscript.echo("Quiting")&lt;/P&gt;&lt;P&gt;&amp;nbsp; WScript.Quit&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Dim arrFileLines() &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;strPrinter = objFile.ReadLine &lt;/P&gt;&lt;P&gt;objFile.Close&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set oShell = CreateObject("WScript.Shell")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;strKey = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device"&lt;/P&gt;&lt;P&gt;oShell.RegWrite strKey, strPrinter, "REG_SZ"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 16:29:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736229#M74366</guid>
      <dc:creator>cH1LL1</dc:creator>
      <dc:date>2016-05-10T16:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736230#M74367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it ok to use it together with:&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;--- printer_per_user.reg ----&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;Windows Registry Editor Version 5.00&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-size: 14px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;[HKEY_CURRENT_USER\Printers\Defaults]&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: inherit; font-family: inherit;"&gt;"Disabled"="1"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 23:21:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736230#M74367</guid>
      <dc:creator>eXPlosionas</dc:creator>
      <dc:date>2016-05-10T23:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736231#M74368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another more drastic approach is to uncheck the remote printer deal during install of the 32/64 bit Horizon View agent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also works, but you lose the capability to have a locally connected printer if running from a standard PC or from home via your security server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 03:36:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736231#M74368</guid>
      <dc:creator>VMMalley</dc:creator>
      <dc:date>2016-05-12T03:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736232#M74369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The printer is remembered now, but when going to file -&amp;gt; print in word or excel it just hangs. The same happend when i want to open printers and devices. The control panel window freezes. This happened before the registry manipulation. It happens mostly on few VDI's. I don't know what to look for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 05:27:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736232#M74369</guid>
      <dc:creator>eXPlosionas</dc:creator>
      <dc:date>2016-05-12T05:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736233#M74370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everytime i check this logof logon script in vSphere client it works, printer is set, but when in the morning our employee comes and logs in to vdi it's not saved as default printer. Maybe i should set some delay to script because maybe boot process have not completed fully&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 07:24:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736233#M74370</guid>
      <dc:creator>eXPlosionas</dc:creator>
      <dc:date>2016-05-13T07:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736234#M74371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We´ve had the same problem but we have "solved" it. It is related to 2 services, "TP AutoConnect service" and "TP VC GateWay Service"&lt;/P&gt;&lt;P&gt;These maps local printers (connected from usb) on a laptop/ordinary client. These services remaps the default printer to the local printer, and if no local printer exists it remaps it to a "vdi local" printer (such as Pdf Writer or similar) and in last case it remaps it to a network printer (randomly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disable those services and your Default Printer will work like 99% of the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, your users can´t use locally connected printers from their laptop and have ThinPrint connect the printer to the VDI if these services is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it took us forever to find out a solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 09:28:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736234#M74371</guid>
      <dc:creator>CyberTron123</dc:creator>
      <dc:date>2016-05-16T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736235#M74372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually it solved the problem for two month after disabling those two TP services. But after a while it started to appear again. Print Spooler service just hangs and cannot stop or restart it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 08:31:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736235#M74372</guid>
      <dc:creator>eXPlosionas</dc:creator>
      <dc:date>2016-07-05T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736236#M74373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To solve this issue that vmware seems to ignore, even if it is really annoying, here is the tip we use in our VDI infrastructure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows logoff script (Windows local group policies) :&lt;/P&gt;&lt;P&gt;reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\SessionDefaultDevices" /f&lt;/P&gt;&lt;P&gt;reg export "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" "%APPDATA%\defaultprt.reg" /y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows logon script :&lt;/P&gt;&lt;P&gt;ping localhost -n 30&lt;/P&gt;&lt;P&gt;reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\SessionDefaultDevices" /f&lt;/P&gt;&lt;P&gt;ping localhost -n 2&lt;/P&gt;&lt;P&gt;reg import "%APPDATA%\defaultprt.reg"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been working for almost 2 years now.&lt;/P&gt;&lt;P&gt;Hope it can help those who get this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 04:35:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736236#M74373</guid>
      <dc:creator>jbc974</dc:creator>
      <dc:date>2016-10-12T04:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736237#M74374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might just be an easier solution.&lt;/P&gt;&lt;P&gt;We found out that ThinPrint (as stated by someone else) tries to set the default printer every time you log into View.&lt;/P&gt;&lt;P&gt;There is a registry key that disables this behaviour without doing other stuff that might damage printing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add (it doesn't exist by default) the following key&lt;/P&gt;&lt;P&gt;HKLM\Software\ThinPrint\TPAutoConnect\DisableSettingOfDefPrinter=1 (DWORD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 07:03:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736237#M74374</guid>
      <dc:creator>Ray_handels</dc:creator>
      <dc:date>2016-10-12T07:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736238#M74375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wev gone old school to get around this problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are calling a .bat file from a .vbs file on logon so its silent and simply installing the printer as follows:&lt;/P&gt;&lt;P&gt; RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n "\\print server\printer name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the&amp;nbsp; """"/y"""" statement is what sets default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 16:32:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736238#M74375</guid>
      <dc:creator>cH1LL1</dc:creator>
      <dc:date>2016-10-27T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736239#M74376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the way to go... Thanx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 10:01:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736239#M74376</guid>
      <dc:creator>RLI2013</dc:creator>
      <dc:date>2017-01-27T10:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736240#M74377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also want to check out this KB; it contains a step to disable the mapping of the default printer from the Thin Client, to the VM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://kb.vmware.com/s/article/1032872"&gt;Windows 7 desktops with ThinPrint display only the default printer (1032872) &lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 18:53:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736240#M74377</guid>
      <dc:creator>szilagyic</dc:creator>
      <dc:date>2018-01-29T18:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736241#M74378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem on Windows 10 Enterprise 1909 x64 with VMware DEM 9.9.0 with non persistent instant clones. I have already disabled the TP services in the gold image and the default will not remembered. &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@496A89FA088F62A110AE1F7E1799BA25/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 10:14:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736241#M74378</guid>
      <dc:creator>apelz</dc:creator>
      <dc:date>2020-04-23T10:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736242#M74379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I can see that the printers which I had mapped before, appears with a delay. Maybe this is the reason why the default printer is lost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 11:49:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736242#M74379</guid>
      <dc:creator>apelz</dc:creator>
      <dc:date>2020-04-23T11:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736243#M74380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple solution would be to create a batch file with below content:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cmd.exe /c reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\SessionDefaultDevices" /f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this batch file on GPO logon script. This should help you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Apr 2020 08:11:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736243#M74380</guid>
      <dc:creator>kvmw2130</dc:creator>
      <dc:date>2020-04-25T08:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736244#M74381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm not sure if anyone is still looking but here is what I am using in our production environment and don't have any issues.&amp;nbsp; When I googled searched I landed her and a few other pages and came up with an alternative solution.&amp;nbsp; I am already using a simliar method with Get-Printer/Add-Printer for persisting IP mapped printers so that's why I went this way.&amp;nbsp; I am open to any feedback or questions.&amp;nbsp; Don't be afraid to reach out.&amp;nbsp; Ok, so here we go...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used Dynamic Environment Manager (formerly known as UEM) to create a config file to persist the CSV file by creating a custom config file from the Config File Creation Wizard:&lt;/P&gt;&lt;P&gt;[IncludeFiles]&lt;/P&gt;&lt;P&gt;&amp;lt;LocalAppData&amp;gt;\Microsoft\Windows\defaultprinter.csv&lt;/P&gt;&lt;P&gt;##&amp;nbsp; You can put file wherever you want to, that's just where I put it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I created 2 .ps1 files&lt;/P&gt;&lt;P&gt;defaultprinterexport.ps1&lt;/P&gt;&lt;P&gt;defaultprinterimport.ps1&lt;/P&gt;&lt;P&gt;I put them into a directory that I created that hast other scripts I use - C:\ProgramData\vdiscripts\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a Logon Task with the following:&lt;/P&gt;&lt;P&gt;powershell.exe -ExecutionPolicy Bypass C:\ProgramData\vdiscripts\defaultprinterimport.ps1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a Logoff Task with the following:&lt;/P&gt;&lt;P&gt;powershell.exe -ExecutionPolicy Bypass C:\ProgramData\vdiscripts\defaultprinterexport.ps1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what was in each powershell script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;defaultprinterexport.ps1&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;Get-WmiObject -Query " SELECT * FROM Win32_Printer" | Where-Object { $_.Default -like 'True' } | Select-Object Name | Export-CSV "$env:localappdata\Microsoft\Windows\defaultprinter.csv" -NoTypeInformation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;defaultprinterimport.ps1&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;$printer = Import-CSV "$env:localappdata\Microsoft\Windows\defaultprinter.csv"&lt;/P&gt;&lt;P&gt;(New-Object -ComObject WScript.Network).SetDefaultPrinter($printer.Name)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2020 17:56:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2736244#M74381</guid>
      <dc:creator>joshuarupp</dc:creator>
      <dc:date>2020-09-16T17:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2894645#M96342</link>
      <description>&lt;P&gt;This is some great advice.&amp;nbsp; I really appreciate it.&amp;nbsp; Unfortunately it looks like for some reason while my log off script is behaving, my log on/import script is not doing anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have unfortunately stumbled into an environment with a bunch of DNS added devices and no print servers, so I need to figure something out.&amp;nbsp; I actually did go ahead and set up a print server for a new site and configured point and print to allow users to manage print devices in a limited manner, but no matter what I do, printers do not retain in user profiles.&amp;nbsp; I've tried everything I could find online for DEM on this, and the printers just disappear.&amp;nbsp; So instead I used the DEM printer mappings for these devices which work great... except users cannot keep a default printer.&amp;nbsp; That's what led me to your post.&lt;/P&gt;&lt;P&gt;I feel like no matter what I do with this it's 2 steps forward, 2 steps back and I end up in the same place.&lt;/P&gt;&lt;P&gt;I also set up Location Based Printing, which does actually work nicely, but also doesn't seem to allow users to manage default printers.&amp;nbsp; It's also not something that I think will scale super well since our subnets aren't organized enough for it, aside from smaller site locations.&amp;nbsp; I don't really want a 4 story building where users on floor #1 have printers on floor #4 mapped to them.&amp;nbsp; Of course, our subnets/ip ranges are only really broken down to location/building and nothing more precise, so that's basically how that would work, functionally.&lt;/P&gt;&lt;P&gt;Edit: I also suppose this was post necromancy, sorry about that...&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 18:43:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2894645#M96342</guid>
      <dc:creator>derauqs</dc:creator>
      <dc:date>2022-02-21T18:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Default printer is not remembered in VDI</title>
      <link>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2901148#M96641</link>
      <description>&lt;P&gt;Did you have any luck with local USB printers? I have tried everything with no luck, after reboot of thin clients our local&amp;nbsp; USB printers are not remembered.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 17:51:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Desktops-and-Apps/Default-printer-is-not-remembered-in-VDI/m-p/2901148#M96641</guid>
      <dc:creator>Baileyboy</dc:creator>
      <dc:date>2022-03-29T17:51:09Z</dc:date>
    </item>
  </channel>
</rss>

