Instalando Realvnc via psexec em um ambiente de domínio Windows.

Nesse artigo eu vou falar como você pode instalar o realvnc em um ambiente Windows arcive directory.

 

Nesse código vamos fazer a instalação:

::Substitua o compartilhamento de acordo com seu ambiente .
::no caso do nosso exemplo :
::\\ad01.it-howto.org\NETLOGON\app\
::Nome da máquina eu você vai instalar
set MAQUINA=FATURAMENTO-01

:: elevando privilégios
NET USE \\%MAQUINA%.it-howto.org\IPC$ /user:julio

::instalando o realvnc.
psexec \\%MAQUINA%.it-howto.org -s -i -d   \\ad01.it-howto.org\NETLOGON\app\VNC5.2.2.exe  /SP- /VERYSILENT /NORESTART /NOMIRRORDRIVER  /COMPONENTS="!vncviewer, winvnc" /TASKS="installservice, launchservice" /NORESTART

::Licensiando em máquinas 64 bits.#Use sua licensa . 
psexec \\%MAQUINA%.it-howto.org -s -i -d   "%ProgramFiles%\RealVNC\VNC Server\vnclicense.exe" -add LRVC9-U7BWU-#############

::Sistemas 32bits 
psexec \\%MAQUINA%.it-howto.org -s -i -d "%ProgramFiles(x86)%\RealVNC\VNC Server\vnclicense.exe" -add LRVC9-U7BWU-EG528-######

::caso você tenha aluma chave de registro pronta para aplicar
psexec \\%MAQUINA%.it-howto.org -s -i -d  regedt32 /s \\ad01.it-howto.org\NETLOGON\app\vnc.reg

::definindo configuração de serviço: 
psexec \\%MAQUINA%.it-howto.org -s -i -d  sc config vncserver start= auto
psexec \\%MAQUINA%.it-howto.org -s -i -d  net  start vncserver

Criando um script  vnc.bat :

:: compartilhamento \\ad01.it-howto.org\NETLOGON\app\
::Instalando.
\\ad01.it-howto.org\NETLOGON\app\VNC5.2.2.exe  /SP- /VERYSILENT /NORESTART /NOMIRRORDRIVER  /COMPONENTS="!vncviewer, winvnc" /TASKS="installservice, launchservice" /NORESTART
:: Coloque sua licensa
::Sistemas 64bits
"%ProgramFiles%\RealVNC\VNC Server\vnclicense.exe" -add LRVC9-U7BWU-EG528-##########
::Sistemas 32bits
"%ProgramFiles(x86)%\RealVNC\VNC Server\vnclicense.exe" -add LRVC9-U7BWU-EG528-######
regedt32 /s \\ad01.it-howto.org\NETLOGON\app\vnc.reg
sc config vncserver start= auto
net  start vncserver

Executando o script via psexec.

:: compartilhamento \\ad01.it-howto.org\NETLOGON\app\
::Defina o nome da máquina
set MAQUINA=FATURAMENTO-01
:: elevando privilégios 
NET USE \\%MAQUINA%.it-howto.org\IPC$ /user:julio
Executando o bat.
psexec \\%MAQUINA%.it-howto.org -s -i -d "\\ad01.it-howto.org\NETLOGON\app\vnc.bat"

Deixe seu comentário.

 

 

81 Comentários

  1. Pingback: canada pharmacies online prescriptions

  2. Pingback: drugs for sale

  3. Pingback: https://andere.strikingly.com/

  4. Pingback: https://keuybc.estranky.sk/clanky/30-facts-you-must-know--a-covid-cribsheet.html

  5. Pingback: canadian pharmacies without an rx

  6. Pingback: Northwest Pharmacy

  7. Pingback: canadian pharmacy cialis

  8. Pingback: https://chubo3.wixsite.com/canadian-pharmacy/post/what-parents-must-find-out-about-kids-and-covid-19

  9. Pingback: https://canadian-pharmacies0.yolasite.com/

  10. Pingback: pharmacy-online.yolasite.com

  11. Pingback: canadian pharmacy viagra brand

  12. Pingback: 62553dced4718.site123.me

  13. Pingback: seketu.gonevis.comhigh-10-tips-with-order-medicine-online-1

  14. Pingback: https://site128620615.fo.team/

  15. Pingback: 625a9a98d5fa7.site123.meblogage-dependence-of-healthcare-interventions-for-covid-19-in-ontario-canada

  16. Pingback: hernswe.gonevis.comscientists-model-true-prevalence-of-covid-19-throughout-pandemic

  17. Pingback: https://selomns.gonevis.com/a-modified-age-structured-sir-model-for-covid-19-type-viruses/

  18. Pingback: fwervs.gumroad.com

  19. Pingback: trosorin.mystrikingly.com

  20. Pingback: where to buy cialis online

  21. Pingback: https://626106aa4da69.site123.me/blog/new-step-by-step-roadmap-for-tadalafil-5mg

  22. Pingback: https://generic-cialis-20-mg.yolasite.com/

  23. Pingback: hsoybn.estranky.skclankytadalafil-from-india-vs-brand-cialis---sexual-health.html

  24. Pingback: https://site373681070.fo.team/

  25. Pingback: sehytv.wordpress.com

  26. Pingback: mazhor4sezon

  27. Pingback: https://ghswed.wordpress.com/2022/04/27/he-final-word-information-to-online-pharmacies/

  28. Pingback: https://kerbgsw.mystrikingly.com/

  29. Pingback: kuebser.estranky.skclankysupereasy-methods-to-study-every-part-about-online-medicine-order-discount.html

  30. Pingback: filmfilmfilmes

  31. Pingback: canadian prescriptions online

  32. Pingback: kerbiss.wordpress.com2022042714

  33. Pingback: gRh9UPV

  34. Pingback: heswcxc.wordpress.com20220430online-medicine-tablets-shopping-promotion-one-hundred-and-one

  35. Pingback: sernert.estranky.skclankyconfidential-information-on-online-pharmacies.html

  36. Pingback: https://kertubs.mystrikingly.com/

  37. Pingback: canadian pharmacies

  38. Pingback: online canadian pharmacies

  39. Pingback: canadian online pharmacies

  40. Pingback: canada viagra

  41. Pingback: kertyun.flazio.com

  42. Pingback: kerntyas.gonevis.comthe-mafia-guide-to-online-pharmacies

  43. Pingback: kerbnt.flazio.com

  44. Pingback: http://nanos.jp/jmp?url=http://cialisonlinei.com/

  45. Pingback: http://ime.nu/cialisonlinei.com

  46. Pingback: womed7.wixsite.compharmacy-onlinepostnew-ideas-into-canada-pharmacies-never-before-revealed

  47. Pingback: https://kerntyast.flazio.com/

  48. Pingback: safe canadian online pharmacies

  49. Pingback: https://gewrt.usluga.me/

  50. Pingback: 9-05-2022

  51. Pingback: kinoteatrzarya.ru

  52. Pingback: canadian pharmacies mail order

  53. Pingback: canadian-pharmacy.webflow.io

  54. Pingback: https://site273035107.fo.team/

  55. Pingback: site656670376.fo.team

  56. Pingback: TopGun2022

  57. Pingback: pharmacy canada

  58. Pingback: Xvideos

  59. Pingback: XVIDEOSCOM Videos

  60. Pingback: https://site102906154.fo.team/

  61. Pingback: hekluy.ucraft.site

  62. Pingback: canadian pharcharmy online

  63. Pingback: ivanesva

  64. Pingback: trust pharmacy canada

  65. Pingback: canadian viagra

  66. Pingback: https://lwerts.livejournal.com/276.html

  67. Pingback: https://avuiom.sellfy.store/

  68. Pingback: https://pharmacies.bigcartel.com/

  69. Pingback: kwersd.mystrikingly.com

  70. Pingback: gewsd.estranky.skclankydrugstore-online.html

  71. Pingback: canadian pharcharmy online

  72. Pingback: canadian pharmacy world

  73. Pingback: canadian pharmaceuticals online

  74. Pingback: safe canadian online pharmacies

  75. Pingback: https://dkyubn.bizwebs.com/

  76. Pingback: discount canadian pharmacies

  77. Pingback: medicine-online.estranky.skclankyunderstand-covid-19-and-know-the-tricks-to-avoid-it-from-spreading-----medical-services.html

  78. Pingback: kertvbs.webgarden.com

  79. Pingback: disvaiza.mystrikingly.com

  80. Pingback: canadian online pharmacy

  81. Pingback: https://kewburet.wordpress.com/2022/04/27/how-to-keep-your-workers-healthy-during-covid-19-health-regulations/

Deixe um comentário

O seu endereço de e-mail não será publicado.