Posted on Leave a comment

File Transfer Support for HTML 5 Remote Desktop Web Client

PowerShell Logo

The HTML 5 Remote Desktop Web Client, for Windows Server RDS Deployments, now supports File Transfers. However, to enable this, feature the HTML 5 Web Client will need to be manually updated.

To see the latest release notes for the Latest HTML 5 Remote Desktop Client, please visit:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/web-client-whatsnew

To update the HTML 5 Web Client:

1. Open a PowerShell console as Administrator (Right-click run as Administrator) on the Server running the RD Web Access role. Run the command below, which will download the latest available version of the web client.

Install-RDWebClientPackage

2. Now that the latest web client has been downloaded. It can be published by running the command below, which will replace the client for all users.

Publish-RDWebClientPackage -Type Production -Latest

Please contact me if you have any comments or suggestions: [email protected]

Posted on Leave a comment

Install HTML 5 Web-Client for RDS Server

RDS HTML5 Client

The HTML 5 Remote Desktop Web-Client is available for Windows Server 2016/2019 that is configured as a Remote Desktop Services Deployment at no additional cost.

This allows for devices with a modern web browser to access an RDS server without having to use any additional apps. Which is a perfect solution for Mac and Chrome Book users as it will allow them to use the deployment without needing to install the Microsoft RDP App.

HTML 5 Remote Desktop Login Box

Prior to installation of the HTML 5 Web-Client, please ensure that the RDS infrastructure meets the requirements below:

  • RDS deployment has an RD Gateway, RD Connection Broker, and RD Web Access roles are installed on Windows Server 2016 or later.
  • RDS licensing must be configured for per-user client access licenses rather than per-device.
  • Ensure the RDS Deployment servers have the latest Windows updates installed.
  • RDS deployment must have valid SSL certificates issued by a trusted CA on the server containing the Gateway and Web Access roles. (Self-signed certificates do not work!)

Before starting the installation, we need to export the SSL certificate that is used by the RD Web Access role.

  1. Launch MMC as an administrator and add the certificates “Snap-In” and select “Computer Account” as shown below.
MMC Certificate managment

2. Once the Snap-In has loaded, navigate to > Certificates > Personal > Certificates.

3. On the valid certificate that is used for the Web Access role, right-click and select All Tasks > Export.

4. Export the certificate using the following options:
Select the format you want to use > “DER Encoded Binary X.509 (*.cer)”
File Name > Save in an easy to reference location i.e. C:\Temp\webaccesscert.cer

Export Certificate Wizard

Now that we have exported the certificate as a .cer file, we can begin the installation of the HTML 5 Web-Client.

1. Open a Powershell console as Administrator (Right-click run as Administrator) and run the command:

Install-Module -Name PowerShellGet –Force

2. Restart your Powershell console for this to take effect. (Close the console and re-launch it as Administrator and run the command:

Install-Module -Name RDWebClientManagement

4. Run the command below which will download and install the latest version of the Remote Desktop Web-Client.

Install-RDWebClientPackage

5. Using the certificate we exported earlier, run the command below and include the full path and name of the certificate.

Import-RDWebClientBrokerCert "C:\Temp\<Path to file>.cer"
HTML 5 Remote Desktop Client Install

6. Now that the client has be installed, run the command below to publish the client.

Publish-RDWebClientPackage -Type Production –Latest

7. The HTML 5 Web-Client is now accessible by using the URL below.

https://<Your FQDN>/RDWeb/webclient/index.html
i.e. https://remote.woodward.digital/RDWeb/webclient/index.html

8. This step is completely optional however, for ease of use for the end-user you can configure IIS to redirect users to the HTML 5 Web-Client.

Launch IIS Managnger on the server that has the RD Web Access role installed and select Sites > Default Website. Once selected then select the “HTTP Redirect” option located under the IIS Section.

Once selected, configure the HTTP Redictet using the options below:

Enable the option for “Redirect requests to this destination”
In the destination field enter the following URL: https://<Your FQDN>/RDWeb/webclient/index.html
Enable the option for “Redirect all requests to exact destination”

Once the options have been saved you can test the redirect is working as expected by navigating to your FQDN. You should then be presented with the HTML5 Web-Client and the installation is completed.

One key point to mention is that the Web-Client is not automatically updated through Windows update and a manual update is required. A further guide on how to do this is available:
https://woodward.digital/update-html-5-remote-desktop-web-client/

Posted on Leave a comment

What version of Windows 10 do I have?

Windows 10 Start Menu Settings

Windows 10 was first released in July 2015. Since then Microsoft has released numerous major updates. But how do you know what version you are on?

To find out what version of Windows 10 you have installed, Navigate to the Start Menu and then select the Settings icon.

Windows 10 Start Menu Settings

Once in Settings, select “System” and then select “About”. Under the Windows specifications heading it will display the Edition and Version of Windows 10 you have installed.

How to check what version of Windows 10 you have

Currently, at the time of writing, Windows 10 20H2 is the latest version of Windows 10. If you are using a version of Windows 10 that has passed the Support End Date. (Please see table below).

It is strongly recommended to backup your device/data and perform an upgrade to ensure that you receive the latest software and security enhancements. If you have a genuine version of Windows 10 the upgrade is free and can be completed by using the Windows 10 Upgrade Assistant, which is available to download from:
https://www.microsoft.com/en-gb/software-download/windows10

VersionSupport End Date
20H210/05/2022
200414/12/2021
190911/05/2021
190308/12/2020
180910/11/2020
180312/11/2019
170909/04/2019
170309/10/2018
160710/04/2018
151110/10/2017
150709/05/2017
The dates above only apply to Home and Pro editions of Windows.
Source: https://docs.microsoft.com/en-GB/lifecycle/products/windows-10-home-and-pro

If you have an Education or Enterprise edition of Windows and would like to confirm the support date, please visit:
https://docs.microsoft.com/en-GB/lifecycle/products/windows-10-enterprise-and-education
Posted on Leave a comment

Caffeine – Stop your computer from sleeping or locking

Coffee Cup

Caffeine is a free tool by Zhorn Software that prevents your windows computer from sleeping or locking. Caffeine works by simulating a keypress once every 59 seconds.

Caffeine is designed to be simple to use, simply download caffeine here: https://www.zhornsoftware.co.uk/caffeine/#download

Once downloaded, unzip and double click on Caffeine64.exe.
Note: If you have a 32bit Computer you will need to double click Caffeine32.exe instead.

When Caffeine start, it starts “enabled” and works by pressing the “f15” key every 59 seconds. When Caffeine is “enabled”, the tool will display a Coffee Jug icon. As shown below in the taskbar and prevent the computer from locking.

Caffeine Running Example - Stop computer from sleeping or locking

To stop Caffeine, right-click the icon and select exit.

By default, Caffeine works by simulating an F15 key up event every 59 seconds. Of all the keypresses available, F15 is probably the least intrusive, and least likely to interfere with your work. However, Caffeine might interfere with the following apps:

# PowerPoint uses the F15 keypress to pause the video in a slide
# Google Docs/Sheets
# Smartsheet
# Terminal emulation, e.g. Putty

Caffeine also has command-line switches available to alter its behaviour. To find out more or to support the developer please visit:
https://www.zhornsoftware.co.uk/caffeine/

Posted on Leave a comment

How to delete stubborn folders – Windows

PowerShell Hero

How to delete stubborn folders using Robocopy in Windows. By using Robocopy to “mirror” an empty folder using the /MIR command.

What is RoboCopy? Robocopy is a free command-line file copy utility that has shipped with Windows since Vista.

To delete a stubborn folder and all its subfolders and files:

1) Create an empty folder.

2) Open PowerShell.

3) Run the following command:
Robocopy /MIR “<Path to empty folder>” “<Path to delete>”
Note: This will delete all files and folders within the folder path that you specify.

Example:

Robocopy /MIR "C:\Empty" "C:\Stuck\Stubborn\Folder"
RoboCopy Mirror Example - How to delete stubborn folders

To find out more about RoboCopy please visit:
https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx