RDSH Network Printer Mapping via Group Policy / Power Shell












1















Got a huge hurdle currently that I need to try and overcome.



I have successfully mapped print server defined printers via GPO and all is well on the client side machines.



However, i am having issues with RDCs and mapping printers from a print server using a local name like above



The process i have currently is this.




  • User logs onto windows 10 machine.


  • Group policy wipes any One note printers, shared and IP printers, maps printers using a local name via TCP/IP that i have set within the GPO. This is all dependent on the security group that the user is in to what printer they receive.


  • Another group policy toggles the Windows 10 "Let windows manage my default printer"


  • A final group policy sets the default printer based on the users location.



This is all well and good. Inefficient but functional.



Here is the overall layout for the Printer within the GPO.
Note, this is on the User configuration not PC. I want printers to follow the users around and not be bound to PCs due to hotdesking.



enter image description here



The issue i now face is trying to get these "Local Named" printers into a RDC that the user logs into.



The current implementation is via powershell.
When a user logs in, they are supposed to have the same printers mapped to them as outlined by the GPO above.



However, these do not transfer from the Local GPO to the RDC/RDSH.



I understand now that this is a limitation that i was not expecting.



Is there a way to map the exact same network printers that the user has on their local machine across to their profile on the RDC/RDSH every time they log in?



I have been stuck on this for a couple of days now and have resorted to powershell scripting to see if i can crowbar in a solution.



I just want to make sure im heading down the right path and havent avoided anything stupid



I will be happy to clarify anything required










share|improve this question





























    1















    Got a huge hurdle currently that I need to try and overcome.



    I have successfully mapped print server defined printers via GPO and all is well on the client side machines.



    However, i am having issues with RDCs and mapping printers from a print server using a local name like above



    The process i have currently is this.




    • User logs onto windows 10 machine.


    • Group policy wipes any One note printers, shared and IP printers, maps printers using a local name via TCP/IP that i have set within the GPO. This is all dependent on the security group that the user is in to what printer they receive.


    • Another group policy toggles the Windows 10 "Let windows manage my default printer"


    • A final group policy sets the default printer based on the users location.



    This is all well and good. Inefficient but functional.



    Here is the overall layout for the Printer within the GPO.
    Note, this is on the User configuration not PC. I want printers to follow the users around and not be bound to PCs due to hotdesking.



    enter image description here



    The issue i now face is trying to get these "Local Named" printers into a RDC that the user logs into.



    The current implementation is via powershell.
    When a user logs in, they are supposed to have the same printers mapped to them as outlined by the GPO above.



    However, these do not transfer from the Local GPO to the RDC/RDSH.



    I understand now that this is a limitation that i was not expecting.



    Is there a way to map the exact same network printers that the user has on their local machine across to their profile on the RDC/RDSH every time they log in?



    I have been stuck on this for a couple of days now and have resorted to powershell scripting to see if i can crowbar in a solution.



    I just want to make sure im heading down the right path and havent avoided anything stupid



    I will be happy to clarify anything required










    share|improve this question



























      1












      1








      1








      Got a huge hurdle currently that I need to try and overcome.



      I have successfully mapped print server defined printers via GPO and all is well on the client side machines.



      However, i am having issues with RDCs and mapping printers from a print server using a local name like above



      The process i have currently is this.




      • User logs onto windows 10 machine.


      • Group policy wipes any One note printers, shared and IP printers, maps printers using a local name via TCP/IP that i have set within the GPO. This is all dependent on the security group that the user is in to what printer they receive.


      • Another group policy toggles the Windows 10 "Let windows manage my default printer"


      • A final group policy sets the default printer based on the users location.



      This is all well and good. Inefficient but functional.



      Here is the overall layout for the Printer within the GPO.
      Note, this is on the User configuration not PC. I want printers to follow the users around and not be bound to PCs due to hotdesking.



      enter image description here



      The issue i now face is trying to get these "Local Named" printers into a RDC that the user logs into.



      The current implementation is via powershell.
      When a user logs in, they are supposed to have the same printers mapped to them as outlined by the GPO above.



      However, these do not transfer from the Local GPO to the RDC/RDSH.



      I understand now that this is a limitation that i was not expecting.



      Is there a way to map the exact same network printers that the user has on their local machine across to their profile on the RDC/RDSH every time they log in?



      I have been stuck on this for a couple of days now and have resorted to powershell scripting to see if i can crowbar in a solution.



      I just want to make sure im heading down the right path and havent avoided anything stupid



      I will be happy to clarify anything required










      share|improve this question
















      Got a huge hurdle currently that I need to try and overcome.



      I have successfully mapped print server defined printers via GPO and all is well on the client side machines.



      However, i am having issues with RDCs and mapping printers from a print server using a local name like above



      The process i have currently is this.




      • User logs onto windows 10 machine.


      • Group policy wipes any One note printers, shared and IP printers, maps printers using a local name via TCP/IP that i have set within the GPO. This is all dependent on the security group that the user is in to what printer they receive.


      • Another group policy toggles the Windows 10 "Let windows manage my default printer"


      • A final group policy sets the default printer based on the users location.



      This is all well and good. Inefficient but functional.



      Here is the overall layout for the Printer within the GPO.
      Note, this is on the User configuration not PC. I want printers to follow the users around and not be bound to PCs due to hotdesking.



      enter image description here



      The issue i now face is trying to get these "Local Named" printers into a RDC that the user logs into.



      The current implementation is via powershell.
      When a user logs in, they are supposed to have the same printers mapped to them as outlined by the GPO above.



      However, these do not transfer from the Local GPO to the RDC/RDSH.



      I understand now that this is a limitation that i was not expecting.



      Is there a way to map the exact same network printers that the user has on their local machine across to their profile on the RDC/RDSH every time they log in?



      I have been stuck on this for a couple of days now and have resorted to powershell scripting to see if i can crowbar in a solution.



      I just want to make sure im heading down the right path and havent avoided anything stupid



      I will be happy to clarify anything required







      windows remote-desktop powershell group-policy network-printer






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 24 at 13:12







      Batteredburrito

















      asked Jan 24 at 13:06









      BatteredburritoBatteredburrito

      1064




      1064






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397912%2frdsh-network-printer-mapping-via-group-policy-power-shell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397912%2frdsh-network-printer-mapping-via-group-policy-power-shell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          Puebla de Zaragoza

          Musa