Delegate session management on RemoteApp 2012Limit administrator RDP session to single instance instead of default 2 simultaneous?RDS, RDWeb, and RemoteApp: How to use public certificate for launching apps on session host?How to configure a Remoteapp server to increase stabilityUser Profile Disks with RemoteApp 2012 R2 LockedWS2012R2 RemoteApp Server refuses to remember passwordHow to make Remote Desktop Services Deployment visible in Windows 2012R2 server manager when logging with a different user?RDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersDefault browser on Windows Server 2016 Remote Desktop Session HostUser cannot connect to 2012 R2 session deployment, session with no name created and stuckMicrosoft RemoteApp via TS Gateway initial connection load very long (over 2 minutes)

Unconventional Opposites

How can I grammatically understand "Wir über uns"?

Show sparse matrices like chessboards

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

Will TSA allow me to carry a Continuous Positive Airway Pressure (CPAP) device?

What does it mean by "d-ism of Leibniz" and "dotage of Newton" in simple English?

Beginner's snake game using PyGame

Why does MS SQL allow you to create an illegal column?

You've spoiled/damaged the card

Get value of the passed argument to script importing variables from another script

Computing the differentials in the Adams spectral sequence

Pros and cons of writing a book review?

When leasing/renting out an owned property, is there a standard ratio between monthly rent and the mortgage?

Is it a problem that pull requests are approved without any comments

Did thousands of women die every year due to illegal abortions before Roe v. Wade?

What's the most polite way to tell a manager "shut up and let me work"?

Did Darth Vader wear the same suit for 20+ years?

Movie where a boy is transported into the future by an alien spaceship

How can Iron Man's suit withstand this?

Anyone teach web development? How do you assess it?

Is there a rule that prohibits us from using 2 possessives in a row?

Why was it possible to cause an Apple //e to shut down with SHIFT and paddle button 2?

What is a simple, physical situation where complex numbers emerge naturally?

Is it OK to bring delicacies from hometown as tokens of gratitude for an out-of-town interview?



Delegate session management on RemoteApp 2012


Limit administrator RDP session to single instance instead of default 2 simultaneous?RDS, RDWeb, and RemoteApp: How to use public certificate for launching apps on session host?How to configure a Remoteapp server to increase stabilityUser Profile Disks with RemoteApp 2012 R2 LockedWS2012R2 RemoteApp Server refuses to remember passwordHow to make Remote Desktop Services Deployment visible in Windows 2012R2 server manager when logging with a different user?RDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersDefault browser on Windows Server 2016 Remote Desktop Session HostUser cannot connect to 2012 R2 session deployment, session with no name created and stuckMicrosoft RemoteApp via TS Gateway initial connection load very long (over 2 minutes)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








8















We've built a rather large RemoteApp environment on 2012 R2, fully patched. Everything is working fine, so now comes the time to offshore and delegate tasks to the first line team.



We would like to be able to have our first line guys manage the sessions. If, for example, a session would hang (lost connection to the profile drive). They should be able to log off the session.



I've tried setting permissions like this on all servers:



wmic /namespace:\rootCIMV2TerminalServices PATH Win32_TSPermissionsSetting WHERE (TerminalName="RDP-Tcp") CALL AddAccount "ADMINMyGroupWithPeopleManagingTheTS",2


But to no avail, they can't open Server Manager > Remote Desktop Services, because they can't connect to the RD Connection Brokers.



If they open up task manager and try logging off users there, they don't have the appropriate rights. This option is also not the best because it would require them to go and look on each server if the user is logged on there (auto load balanced across multiple servers and regions).



So, basically: How can members of a certain group log users off, without giving them admin permissions on the machine?



This is how I would do it on 2008, but the tools are no longer available:
https://technet.microsoft.com/en-us/library/cc753032.aspx










share|improve this question

















  • 2





    I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

    – pauska
    Jun 15 '15 at 10:06











  • This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

    – Drifter104
    Jun 19 '15 at 16:55


















8















We've built a rather large RemoteApp environment on 2012 R2, fully patched. Everything is working fine, so now comes the time to offshore and delegate tasks to the first line team.



We would like to be able to have our first line guys manage the sessions. If, for example, a session would hang (lost connection to the profile drive). They should be able to log off the session.



I've tried setting permissions like this on all servers:



wmic /namespace:\rootCIMV2TerminalServices PATH Win32_TSPermissionsSetting WHERE (TerminalName="RDP-Tcp") CALL AddAccount "ADMINMyGroupWithPeopleManagingTheTS",2


But to no avail, they can't open Server Manager > Remote Desktop Services, because they can't connect to the RD Connection Brokers.



If they open up task manager and try logging off users there, they don't have the appropriate rights. This option is also not the best because it would require them to go and look on each server if the user is logged on there (auto load balanced across multiple servers and regions).



So, basically: How can members of a certain group log users off, without giving them admin permissions on the machine?



This is how I would do it on 2008, but the tools are no longer available:
https://technet.microsoft.com/en-us/library/cc753032.aspx










share|improve this question

















  • 2





    I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

    – pauska
    Jun 15 '15 at 10:06











  • This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

    – Drifter104
    Jun 19 '15 at 16:55














8












8








8


2






We've built a rather large RemoteApp environment on 2012 R2, fully patched. Everything is working fine, so now comes the time to offshore and delegate tasks to the first line team.



We would like to be able to have our first line guys manage the sessions. If, for example, a session would hang (lost connection to the profile drive). They should be able to log off the session.



I've tried setting permissions like this on all servers:



wmic /namespace:\rootCIMV2TerminalServices PATH Win32_TSPermissionsSetting WHERE (TerminalName="RDP-Tcp") CALL AddAccount "ADMINMyGroupWithPeopleManagingTheTS",2


But to no avail, they can't open Server Manager > Remote Desktop Services, because they can't connect to the RD Connection Brokers.



If they open up task manager and try logging off users there, they don't have the appropriate rights. This option is also not the best because it would require them to go and look on each server if the user is logged on there (auto load balanced across multiple servers and regions).



So, basically: How can members of a certain group log users off, without giving them admin permissions on the machine?



This is how I would do it on 2008, but the tools are no longer available:
https://technet.microsoft.com/en-us/library/cc753032.aspx










share|improve this question














We've built a rather large RemoteApp environment on 2012 R2, fully patched. Everything is working fine, so now comes the time to offshore and delegate tasks to the first line team.



We would like to be able to have our first line guys manage the sessions. If, for example, a session would hang (lost connection to the profile drive). They should be able to log off the session.



I've tried setting permissions like this on all servers:



wmic /namespace:\rootCIMV2TerminalServices PATH Win32_TSPermissionsSetting WHERE (TerminalName="RDP-Tcp") CALL AddAccount "ADMINMyGroupWithPeopleManagingTheTS",2


But to no avail, they can't open Server Manager > Remote Desktop Services, because they can't connect to the RD Connection Brokers.



If they open up task manager and try logging off users there, they don't have the appropriate rights. This option is also not the best because it would require them to go and look on each server if the user is logged on there (auto load balanced across multiple servers and regions).



So, basically: How can members of a certain group log users off, without giving them admin permissions on the machine?



This is how I would do it on 2008, but the tools are no longer available:
https://technet.microsoft.com/en-us/library/cc753032.aspx







remote-desktop windows-server-2012-r2 remoteapp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 15 '15 at 10:01









Bart De VosBart De Vos

16.2k45377




16.2k45377







  • 2





    I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

    – pauska
    Jun 15 '15 at 10:06











  • This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

    – Drifter104
    Jun 19 '15 at 16:55













  • 2





    I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

    – pauska
    Jun 15 '15 at 10:06











  • This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

    – Drifter104
    Jun 19 '15 at 16:55








2




2





I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

– pauska
Jun 15 '15 at 10:06





I'll be watching this as we never could figure it out. Giving users/groups permissions to remote-control/logoff/reset works fine on a per-server basis, but we could never get them to retrieve from broker.

– pauska
Jun 15 '15 at 10:06













This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

– Drifter104
Jun 19 '15 at 16:55






This might be mad rumblings, Could you use something along these lines? blogs.technet.com/b/askds/archive/2012/08/02/… and then use the get-rdusersession -connectionbroker and then use Invoke-RDUserLogoff once you have the details from the first command

– Drifter104
Jun 19 '15 at 16:55











2 Answers
2






active

oldest

votes


















0














Just an idea that needs more work:



What if you use a (power)shell script, run every n minutes as a scheduled task with admin privileges, to which you pass (for example using a text file put in a protected folder) the users to disconnect?



Or, more in general, a process, run with elevated privileges, with the only purpose of logging users off, which receives the users to disconnect as a parameter AND a way for members of a selected group to pass those parameter.






share|improve this answer
































    0














    So, I actually got someone from MS involved with this. This was the response they gave me.




    Hi Bart – the most probable way to support this scenario is to build
    powershell over the TS Cmdline tools and provide fine grained access
    to log off sessions etc using WMI.



    1. For specific list of Cmdline tools that can be used – see here: • https://technet.microsoft.com/en-us/library/cc753032.aspx

    2. For using WMI to grant persmissions, see here : https://msdn.microsoft.com/en-us/library/aa383773(v=vs.85).aspx



    So basically, it's not possible, run your own.



    If I ever get round to finishing this, I'll update here.






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "2"
      ;
      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%2fserverfault.com%2fquestions%2f699070%2fdelegate-session-management-on-remoteapp-2012%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Just an idea that needs more work:



      What if you use a (power)shell script, run every n minutes as a scheduled task with admin privileges, to which you pass (for example using a text file put in a protected folder) the users to disconnect?



      Or, more in general, a process, run with elevated privileges, with the only purpose of logging users off, which receives the users to disconnect as a parameter AND a way for members of a selected group to pass those parameter.






      share|improve this answer





























        0














        Just an idea that needs more work:



        What if you use a (power)shell script, run every n minutes as a scheduled task with admin privileges, to which you pass (for example using a text file put in a protected folder) the users to disconnect?



        Or, more in general, a process, run with elevated privileges, with the only purpose of logging users off, which receives the users to disconnect as a parameter AND a way for members of a selected group to pass those parameter.






        share|improve this answer



























          0












          0








          0







          Just an idea that needs more work:



          What if you use a (power)shell script, run every n minutes as a scheduled task with admin privileges, to which you pass (for example using a text file put in a protected folder) the users to disconnect?



          Or, more in general, a process, run with elevated privileges, with the only purpose of logging users off, which receives the users to disconnect as a parameter AND a way for members of a selected group to pass those parameter.






          share|improve this answer















          Just an idea that needs more work:



          What if you use a (power)shell script, run every n minutes as a scheduled task with admin privileges, to which you pass (for example using a text file put in a protected folder) the users to disconnect?



          Or, more in general, a process, run with elevated privileges, with the only purpose of logging users off, which receives the users to disconnect as a parameter AND a way for members of a selected group to pass those parameter.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 18 '15 at 21:32

























          answered Jun 18 '15 at 20:05









          Silvio MassinaSilvio Massina

          47623




          47623























              0














              So, I actually got someone from MS involved with this. This was the response they gave me.




              Hi Bart – the most probable way to support this scenario is to build
              powershell over the TS Cmdline tools and provide fine grained access
              to log off sessions etc using WMI.



              1. For specific list of Cmdline tools that can be used – see here: • https://technet.microsoft.com/en-us/library/cc753032.aspx

              2. For using WMI to grant persmissions, see here : https://msdn.microsoft.com/en-us/library/aa383773(v=vs.85).aspx



              So basically, it's not possible, run your own.



              If I ever get round to finishing this, I'll update here.






              share|improve this answer



























                0














                So, I actually got someone from MS involved with this. This was the response they gave me.




                Hi Bart – the most probable way to support this scenario is to build
                powershell over the TS Cmdline tools and provide fine grained access
                to log off sessions etc using WMI.



                1. For specific list of Cmdline tools that can be used – see here: • https://technet.microsoft.com/en-us/library/cc753032.aspx

                2. For using WMI to grant persmissions, see here : https://msdn.microsoft.com/en-us/library/aa383773(v=vs.85).aspx



                So basically, it's not possible, run your own.



                If I ever get round to finishing this, I'll update here.






                share|improve this answer

























                  0












                  0








                  0







                  So, I actually got someone from MS involved with this. This was the response they gave me.




                  Hi Bart – the most probable way to support this scenario is to build
                  powershell over the TS Cmdline tools and provide fine grained access
                  to log off sessions etc using WMI.



                  1. For specific list of Cmdline tools that can be used – see here: • https://technet.microsoft.com/en-us/library/cc753032.aspx

                  2. For using WMI to grant persmissions, see here : https://msdn.microsoft.com/en-us/library/aa383773(v=vs.85).aspx



                  So basically, it's not possible, run your own.



                  If I ever get round to finishing this, I'll update here.






                  share|improve this answer













                  So, I actually got someone from MS involved with this. This was the response they gave me.




                  Hi Bart – the most probable way to support this scenario is to build
                  powershell over the TS Cmdline tools and provide fine grained access
                  to log off sessions etc using WMI.



                  1. For specific list of Cmdline tools that can be used – see here: • https://technet.microsoft.com/en-us/library/cc753032.aspx

                  2. For using WMI to grant persmissions, see here : https://msdn.microsoft.com/en-us/library/aa383773(v=vs.85).aspx



                  So basically, it's not possible, run your own.



                  If I ever get round to finishing this, I'll update here.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 12 '15 at 22:07









                  Bart De VosBart De Vos

                  16.2k45377




                  16.2k45377



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Server Fault!


                      • 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%2fserverfault.com%2fquestions%2f699070%2fdelegate-session-management-on-remoteapp-2012%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

                      Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                      Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

                      Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020