powershell
1.) New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "RDP"
2.) $pw = ConvertTo-SecureString -String "password" -Force -AsPlainText
------
Create a Self-Signed Certificate Using PowerShell Command - RDP
Youtube: Complete Guide to setting up Remote Desktop Services in Windows Server 2016 -> https://www.youtube.com/watch?v=oIos0TbZfjY
powershell
Export Certificates
RUN -> mmc -> File -> add/remove->Certificate -ADD -> Computer account->Next->Finish
Certificate-Local computer > personal> certificate->Select [certificate NAME RDP] > R mouse ->All task- Export -Desktop
Into your RDS server open PowerShell and run the following command
It will import the NuGet package provider and will restart the machine (ensure the server can get out over the internet).
Youtube: Remote Desktop Services and Web Client in Windows Server (Complete Demo Setup) -.https://www.youtube.com/watch?v=vCp0gpsV95E
Install-Module -Name PowerShellGet -Force
If you can get the following error: PackageManagement\Install-Package : A Microsoft-signed module named 'PackageManagement' with version '1.0.0.1' that was previously installed conflicts with the new module 'PackageManagement' from publisher 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' with version '1.1.7.2'. Installing the new module may result in system instability. If you still want to install or update, use -SkipPublisherCheck
You can use on SkipPublisherCheck and continue to the installation:
Install-Module -Name PowerShellGet -Force -SkipPublisherCheck
Re-open the PowerShell and run this: Install-Module -Name RDWebClientManagement
Query error? re-run it again…
Download the latest version of the Remote Desktop web client:
Install-RDWebClientPackage
Inserting the .cer file that you copied from the RD Broker – > Make sure you use on the same certificate you used for you Broker, Gateway.
Import-RDWebClientBrokerCert <.cer file path>
C:\Users\Administrator\Desktop
Export Certificates-> RUN - certlm.msc
Import-RDWebClientBrokerCert C:\Users\Administrator\Desktop\sr.cer [sr is certificate file]
Publish-RDWebClientPackage -Type Production -Latest
-------------
Install-Module -Name PowerShellGet -Force PowerShell
Install-Module -Name RDWebClientManagement PowerShell
Install-RDWebClientPackage PowerShell
Import-RDWebClientBrokerCert <.cer file path> PowerShell
Publish-RDWebClientPackage -Type Production -Latest PowerShell
---Chrome Addons-------
Open chrome browser. Go to Chrome Webstore and Search Chrome RDP.
-----------