Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile

Problem

Several users were recently getting the following error when logging into one of our Terminal Servers:

Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff.

Solution

Go into the Group Policy Editor on the Terminal Server (gpedit.msc) Computer Config > Admin Templates > System > User Profiles > Only Allow Local Profile – Enable.