Hello,
According to your description, you need to remove the domain prefix requirement for the login page on Windows Server 2022 RDS RDWeb, you can try the following:
- Open Server Manager, select Tools > Internet Information Services (IIS) Manager. In IIS Manager, expand Server Name, then Site > Default Site, locate RDWeb. Right-click on RDWeb and select Manage Websites > Advanced Settings. In Advanced settings, look for the Authentication section, make sure Windows authentication is enabled, and disable other authentication methods. If Windows authentication is enabled, you can try disabling the Provide domain option, if one exists.
- Open the Registry Editor (regedit) and navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
Back up the registry key first so that you can restore it if there is a problem with the modification. Then look for a registry key named UserAuthentication and set its value to 0. Restart the server for the changes to take effect.
- Open the RDWeb's configuration file, usually located at the following path:
C:\inetpub\wwwroot\RDSWeb\Pages\Login.aspx
Open the file using a text editor, such as Notepad++. Find the code related to the domain prefix, such as <asp:TextBox> or <asp:Label>, etc., delete or comment it out, save the file, and restart the IIS service.
I hope this information helps.
Best regards,
Jingjing Wu