批量啟用Windows客戶機遠端桌面

來源:互聯網
上載者:User

標籤:windows   管理工具   blank   target   台電腦   

 

遠端桌面是微軟作業系統內建的遠端管理工具,它可以讓IT管理員在自己的電腦上遠程操作,相當於將對方的鍵盤和滑鼠延伸到了自己的機器上,管理效率大大提高。

遠端桌面服務使用RDP協議,對應TCP 3389連接埠。預設情況下,客戶機“遠端桌面”是關閉的。因此我們需要手動開啟。

首先我們查看一下遠端桌面的預設設定,右擊”這台電腦“屬性

650) this.width=650;" title="clip_image002" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image002" src="http://s3.51cto.com/wyfs02/M02/5A/27/wKioL1T4DzfB1lTvAAFM5fMe0b8928.jpg" "557" height="419" />

點擊左側”遠程設定”

650) this.width=650;" title="clip_image003" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image003" src="http://s3.51cto.com/wyfs02/M00/5A/27/wKioL1T4DziDB1tnAAD6Dw31t4A358.jpg" "344" height="421" />

可以看到預設是關閉的。如果要開啟的話,直接點“允許遠端連線到此電腦”,確定即可。

如果是一台或少數幾台是可以這樣操作的,工作量也不大。然而如果是幾百台或更多,其感受恐怕是痛不欲生吧

還好有組策略,通常使用微軟作業系統的中大型公司多會採用域來管理電腦,這時候組策略就派上用場了,看下如何設定解決以上問題

切換到域控上,開啟GPMC(群組原則管理主控台)

可以直接編輯“預設域策略”

更改以下2項內容

(1) 電腦配置-策略-系統管理範本-windows組件-遠端桌面服務-遠端桌面工作階段主機-串連

(2) 電腦配置-策略-系統管理範本-網路-網路連接-windows防火牆-網域設定檔案

說明:第1項是更改域策略啟用“遠端桌面”,第2項是更改用戶端FW設定檔,允許“遠端桌面入站資料”例外

650) this.width=650;" title="clip_image005" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image005" src="http://s3.51cto.com/wyfs02/M01/5A/27/wKioL1T4DzmDVRAmAAHFZ_8MlP8946.jpg" "558" height="399" />

完成後,等待客戶機策略生效。

預設情況下,電腦策略更改是在電腦重啟後生效,若不重啟機器,也可以自動生效,時間是90-120分鐘,實驗環境下我們在用戶端命令列下輸入“gpupdate /force”立即重新整理策略。

650) this.width=650;" title="clip_image006" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image006" src="http://s3.51cto.com/wyfs02/M02/5A/27/wKioL1T4DznwXJVbAADPz8rFY3U327.jpg" "468" height="308" />

完成以上步驟,在IT管理員的機器上就可以遠端桌面到所有用戶端了。

650) this.width=650;" title="clip_image007" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; padding-right: 0px" border="0" alt="clip_image007" src="http://s3.51cto.com/wyfs02/M00/5A/27/wKioL1T4DzqilP8nAADGlN1HdWs839.jpg" "338" height="313" />

串連成功!

批量啟用Windows客戶機遠端桌面

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.