Posts

Showing posts with the label RDS

FSLogix Troubleshooting guide

Image
Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а 𝐭 ]amorales[․]org This article will cover some common issues I have ran into, and steps on how to resolve them. The guide should be followed  in order  since most of the advanced items are usually not the cause of a problem. If you just set up FSLogix, make sure that you followed every step under  Deploying FSLogix Office 365 Containers  and  Deploying FSLogix Profile Containers Terminology ODFC = Office Data File Containers This is there Office (Outlook, Teams, Licensing) data is stored This can be used in conjunction with UPDs FSL Profiles Replacement for UPDs User profiles are stored here (Office data is stored in the ODFC) Cannot  be used in conjunction with UPDs Non-Issues The items below should be ignored when troubleshooting Local_ files under C:\Users If FSLogix profiles are enabled, these folders can be ignored. They...

Script to Logout all Users Before Restarting RDS Servers

Multiple vendors have recommended logging out all users before restarting our RDS servers. Sadly I was never able to find a script that could do everything I wanted. I created the script below for Server 2012 + servers. The script will do the following: Logout all active users (even console users) Write errors and information into the Application event log You can find the script here:  https://github.com/andy2002a/PowerShell/blob/master/RDS/Disconnect-LoggedOnUsers.ps1 The script will not reboot the server, but you can always add a shutdown -r -t 0 at the end, or schedule your reboot script to run right after this one.

Set custom scaling option for Server 2012+ RDS

If you log into a Server 2012+ RDS from a Windows 7 machine you will find that you cannot change the scaling (Text Size, DPI, etc.) of the desktop. This is due to the fact that by default, Server 2012 RDS will use the scaling settings of your Windows 8+ machine. If you are on Windows 7 you will only have the option for the default resolution. Thankfully, there are some reg keys that allow us to work around this. For all users on a machine (this will break auto scaling for Win 8 machines): Create the following reg key on the RDS server HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\IgnoreClientDesktopScaleFactor DWORD Value: 1 For select users (if you only have a few Win 7 machines to deal with): HKEY_CURRENT_USER\Control Panel\Desktop\LogPixels DWORD Value: 78 (hex) for 120 DPI (you can find other values in the links below) References https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dpi-related-apis-and-registry-set...

Single Sign on for RDWeb on Server 2016

Image
This guide will show you how to streamline your sign in experience so that users do not get any security prompts. By default you might see the warning below every time you try to connect to a collection: The Final Result Users enter their password into RD Web We will not be passing Windows credentials to the website automatically since it will not work from external computers, and it might cause some confusion. Users select their collection Users are now on their remote desktop (no other prompts) You will also get a lock on your RDP bar confirming that the identity of the server was verified. Requirements Server 2016 (Most of this should work on 2012) SSL certificate for one domain (Wildcard not required) Remote Desktop Gateway Role Deployed Windows workstations using Internet Explorer My Test Environment Server 2016 Single server handling RD Web, RD Gateway, RD Connection broker 3 RD Session Host servers Internal AD Domain name of example.LOCAL Ext...

Deploying FSLogix Office 365 Containers

Image
Have an issue you can't solve? I offer consulting engagements and can be reached here: consulting[а 𝐭 ]amorales[․]org Updated 2020-04-27 This search portion of this guide does not apply to Server 2019 since it  should roam the Windows search out of the box . However, you can still configure FSLogix to store Office 365 data.  In my experience it is best to avoid mixing FSLogix and UPDs. My recommendation is to go with FSLogix Profiles and FSLogix ODFC. If you have dealt with User Profile Disks and Office 365 then you might know about the issues with search indexing. Every time a user signs out of the RDS their index is cleared and it has to be rebuilt the next time they sign in. The index will never fully rebuild once you have 5+ users on the server since it throttles itself. Recently I discovered FSLogix which resolves this issue with minimal configuration. FSLogix creates its own UPD that it uses to store Outlook, OneDrive, and search index data. It then tricks Windo...

Control Printer Redirection on a Per User Basis

Image
If you have ever dealt with RDS you know the pain that is printer redirection. You will have some users that need printer redirection, and others that can't have it because it causes issues(see diagram below). The standard GPO methods only allow you to configure it for the entire server, not per user. The methods below require you to have a Remote Desktop Gateway. Also, this will not work if you have DUO 2FA configured. This Guide is intended to reduce issues with printer redirection. We will be creating a GPO that will enable printer redirection, and a Connection Authorization Policy that will allow us to disable redirection for some users. This guide assumes the following about the site you are working on: Users that have redirected printers will want to have it as their default (this is a hard requirement, but read "Things to keep in mind" for possible workarounds) Only the local computer default printer will be redirected When this is configured t...