Categories: Thủ Thuật Mới

Mẹo Powershell enable Remote Desktop 2022

Mục lục bài viết

Kinh Nghiệm về Powershell enable Remote Desktop Mới Nhất

Cập Nhật: 2022-02-15 06:23:05,Bạn Cần kiến thức và kỹ năng về Powershell enable Remote Desktop. Bạn trọn vẹn có thể lại Báo lỗi ở phía dưới để Admin đc tương hỗ.


Type your search query and hit enter: All Rights ReservedView Non-AMP Version

ITExperience.NET

Type your search query and hit enter:

  • Homepage
  • Be A Better Sysadmin

Enable RDP on Windows 10 using Powershell

Just a small reminder for myself (and you):

Tóm lược đại ý quan trọng trong bài

  • ITExperience.NET
  • Enable RDP on Windows 10 using Powershell
  • Related Post
  • Recent Posts
  • 4 easy ways to take a screenshot on Mac
  • Gaming Services error 0x80073D26 easy fix
  • Fix Black page layout in Microsoft Word
  • Fix Xerox error 0x800f020b in Windows Update
  • Automatically open ica file in Chrome and Edge
  • Turn off weather widget in taskbar Windows 10

If you ever need to enable RDP (mstsc) on a Windows 10 machine, and you cant get to the System control panel item, use Powershell to enable RDP:

# Enable Remote Desktop
(Get-WmiObject Win32_TerminalServiceSetting -Namespace rootcimv2TerminalServices).SetAllowTsConnections(1,1) | Out-Null
(Get-WmiObject -Class “Win32_TSGeneralSetting” -Namespace rootcimv2TerminalServices -Filter “TerminalName=”RDP-tcp””).SetUserAuthenticationRequired(0) | Out-Null
Get-NetFirewallRule -DisplayName “Remote Desktop*” | Set-NetFirewallRule -enabled true

Execute aboves cmdlets as Administrator in Powershell, and RDP should work.

To test the connection, open Powershell on another machine, and run:

Test-NetConnection 10.10.1.105 -CommonTCPPort rdp

Result should be as follows:

PS C:WINDOWSsystem32> Test-NetConnection 10.10.1.105 -CommonTCPPort rdp

ComputerName : 10.10.1.105
RemoteAddress : 10.10.1.105
RemotePort : 3389
InterfaceAlias : Ethernet
SourceAddress : 10.10.1.247
TcpTestSucceeded : True

John van OoijenNext IIS AD Group permission – setting up in Windows Server năm nay »Previous « MSDTC uninstall fails with sự kiện 4157 (Could not stop the MS DTC service or or one of its dependent services)Leave a Comment

    Related Post

  • Automatically open ica file in Chrome and Edge
  • Remove Windows Hello after disabling in Intune
  • All fixes for error caa70004 in Microsoft Teams

Recent Posts

  • General

4 easy ways to take a screenshot on Mac

Taking a screenshot (also called a print screen or screen capture) on your Mac is

2 months ago

  • General

Gaming Services error 0x80073D26 easy fix

The Gaming Services error in the Microsoft Store is a common problem. When you click

3 months ago

  • Windows Tips ‘n Tricks

Fix Black page layout in Microsoft Word

Many Microsoft Word users reported that their page layout has suddenly gone black. With the

3 months ago

  • No Errors No Problems

Fix Xerox error 0x800f020b in Windows Update

As of February 2021, many Xerox users are experiencing the Windows Update error 0x800f020b. The

3 months ago

  • Be A Better Sysadmin

Automatically open ica file in Chrome and Edge

If you often work with Citrix sessions, you will probably recognize the following problem. As

7 months ago

  • General

Turn off weather widget in taskbar Windows 10

The Weather widget was introduced in the latest Windows 10 Cumulative Update, June 2021. The

8 months agoAll Rights ReservedView Non-AMP Version

Reply
0
0
Chia sẻ

đoạn Clip hướng dẫn Share Link Down Powershell enable Remote Desktop ?

– Một số Keywords tìm kiếm nhiều : ” Review Powershell enable Remote Desktop tiên tiến và phát triển nhất , Chia Sẻ Link Down Powershell enable Remote Desktop “.

Hỏi đáp vướng mắc về Powershell enable Remote Desktop

Bạn trọn vẹn có thể để lại phản hồi nếu gặp yếu tố chưa hiểu nhé.
#Powershell #enable #Remote #Desktop Powershell enable Remote Desktop

Phương Bách

Published by
Phương Bách