Last active
July 7, 2025 04:45
-
-
Save primaryobjects/9cc807f3e3453da7acefa526bb6623b0 to your computer and use it in GitHub Desktop.
Revisions
-
primaryobjects revised this gist
Feb 15, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,9 +24,9 @@ session bpp:i:8 The default setting is `session bpp:i:32` for "Highest Quality (32 bit)", while `session bpp:i:8` is the lowest setting for "256 Colors". *Note, the lowest setting the GUI interface will allow is "High Color (15 bit)". 256 is only available through the configuration file.* ## Adjusting the Screen Resolution 4K If your desktop computer resolution is different than the remote desktop resolution and you find issues with the mouse pointer cursor disappearing in RDP, you can set the remote desktop [resolution](https://superuser.com/a/1364193) to match your computer. This may especially be the case if you are using a 4K monitor. ```text desktopwidth:i:3840 -
primaryobjects revised this gist
Feb 15, 2022 . 1 changed file with 11 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,4 +22,14 @@ For slow network connections or if experiencing lag, you can [adjust](https://se session bpp:i:8 ``` The default setting is `session bpp:i:32` for "Highest Quality (32 bit)", while `session bpp:i:8` is the lowest setting for "256 Colors". *Note, the lowest setting the GUI interface will allow is "High Color (15 bit)". 256 is only available through the configuration file.* ## Adjusting the Screen Resolution If your desktop computer resolution is different than the remote desktop resolution and you find issues with the mouse pointer cursor disappearing in RDP, you can set the remote desktop [resolution](https://superuser.com/a/1364193) to match your computer. ```text desktopwidth:i:3840 desktopheight:i:2160 smart sizing:i:1 ``` -
primaryobjects revised this gist
May 5, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,8 @@ The following configuration settings may be used with [Remmina](https://remmina. ### Basic Tab ```text Name: MYCOMPUTER AzureAD Server: MYCOMPUTER Username: AzureAD\[email protected] Domain: Resolution: Use initial window size -
primaryobjects revised this gist
May 5, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ In Windows 10, if you continue to see "The logon attempt failed", try the follow 1. Run Remote Desktop and enter the settings to create a new connection. See [here](https://www.niallbrady.com/2017/08/23/how-can-i-rdp-to-an-azure-ad-joined-windows-10-device/). 2. Click **Save As** to save the rdp configuration file. 3. Open **Notepad** to edit the file and enter the following lines to the end of the file. See [example](https://gist.github.com/primaryobjects/9cc807f3e3453da7acefa526bb6623b0#file-zexample-rdp-L48-L50). ```text enablecredsspsupport:i:0 -
primaryobjects revised this gist
May 5, 2021 . 2 changed files with 62 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,14 @@ In Windows 10, if you continue to see "The logon attempt failed", try the follow domain:s:AzureAD username:s:AzureAD/[email protected] ``` 4. In Remote Desktop, click **Open** to load the rdp file and connect to your computer. ## Adjusting the Color Mode For slow network connections or if experiencing lag, you can [adjust](https://serverfault.com/a/491569) the color mode of the connection by editing the rdp configuration file at the following line: ```text session bpp:i:8 ``` The default setting is `session bpp:i:32` for "Highest Quality (32 bit)", while `session bpp:i:8` is the lowest setting for "256 Colors". *Note, the lowest setting the GUI interface will allow is "High Color (15 bit)". 256 is only available through the configuration file.* This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ screen mode id:i:2 use multimon:i:0 desktopwidth:i:1920 desktopheight:i:1080 winposstr:s:0,3,0,0,800,600 compression:i:1 keyboardhook:i:2 audiocapturemode:i:0 videoplaybackmode:i:1 connection type:i:7 networkautodetect:i:1 bandwidthautodetect:i:1 displayconnectionbar:i:1 username:s:AzureAD\[email protected] enableworkspacereconnect:i:0 disable wallpaper:i:0 allow font smoothing:i:0 allow desktop composition:i:0 disable full window drag:i:1 disable menu anims:i:1 disable themes:i:0 disable cursor setting:i:0 bitmapcachepersistenable:i:1 full address:s:PF0XLRLF audiomode:i:0 redirectprinters:i:1 redirectcomports:i:0 redirectsmartcards:i:1 redirectclipboard:i:1 redirectposdevices:i:0 drivestoredirect:s: autoreconnection enabled:i:1 authentication level:i:2 prompt for credentials:i:0 negotiate security layer:i:1 remoteapplicationmode:i:0 alternate shell:s: shell working directory:s: gatewayhostname:s: gatewayusagemethod:i:4 gatewaycredentialssource:i:4 gatewayprofileusagemethod:i:0 promptcredentialonce:i:0 gatewaybrokeringtype:i:0 use redirection server name:i:0 rdgiskdcproxy:i:0 kdcproxyname:s: enablecredsspsupport:i:0 domain:s:AzureAD username:s:AzureAD/[email protected] session bpp:i:8 -
primaryobjects revised this gist
Mar 13, 2021 . 1 changed file with 15 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ Remote Desktop Settings for Windows 10 ====================================== In Windows 10, if you continue to see "The logon attempt failed", try the following steps with Remote Desktop to create a new RDP [configuration](https://www.niallbrady.com/2017/08/23/how-can-i-rdp-to-an-azure-ad-joined-windows-10-device) file. 1. Run Remote Desktop and enter the settings to create a new connection. See [here](https://www.niallbrady.com/2017/08/23/how-can-i-rdp-to-an-azure-ad-joined-windows-10-device/). 2. Click **Save As** to save the rdp configuration file. 3. Open **Notepad** to edit the file and enter the following lines to the end of the file. ```text enablecredsspsupport:i:0 domain:s:AzureAD username:s:AzureAD/[email protected] ``` 4. In Remote Desktop, click **Open** to load the rdp file and connect to your computer. -
primaryobjects revised this gist
Mar 13, 2021 . 1 changed file with 28 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ Remmina Settings for Linux ========================== The following configuration settings may be used with [Remmina](https://remmina.org) in Linux. ## Settings ### Basic Tab ```text Name: PF0XLRLF AzureAD Server: PF0XLRLF Username: AzureAD\[email protected] Domain: Resolution: Use initial window size Colour depth: True colour (32 bpp) Network connection type: None ``` ### Advanced Tab ```text Quality: Medium Security protocol: TLS protocol security Gateway transport type: HTTP FreeRDP log level: INFO [x] Ignore certificate ``` -
primaryobjects revised this gist
Mar 20, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ The following steps detail how to connect over Remote Desktop from Linux Mint or ``` 8. Run Remmina. 9. Create a new connection using RDP. 10. Enter your Server, Username (your AzureAD email address: `AzureAD\n[email protected]`), Password, Domain: *leave blank*. 11. Select Color depth "True color (32 bpp)". 12. Click the **Advanced** tab. 13. For **Security** select **TLS**. -
primaryobjects revised this gist
Mar 15, 2020 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,3 +23,7 @@ The following steps detail how to connect over Remote Desktop from Linux Mint or 15. Connect. 16. In the RDP session, you may see another login screen on the remote computer. Login using your username AzureAD\n[email protected] and password. ## Notes - [HOW TO RDP INTO A AZURE AD-JOINED VM IN AZURE](https://tech.xenit.se/how-to-rdp-into-a-azure-ad-joined-vm-in-azure/) - [How can I RDP to an Azure AD joined Windows 10 device?](https://www.niallbrady.com/2017/08/23/how-can-i-rdp-to-an-azure-ad-joined-windows-10-device/) -
primaryobjects created this gist
Mar 15, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ How to remote desktop from Linux Mint to Windows 10 with AzureAD ===================================== The following steps detail how to connect over Remote Desktop from Linux Mint or Ubuntu to Windows 10 with an AzureAD username and password login account. 1. In Windows 10, right-click **This PC** or **My Computer** and select **Properties**. 2. Click **Remote Settings**. 3. Check the option **Allow remote connections to this computer**. 4. Uncheck the option **Allow connections only from computers running Remote Desktop with Network Level Authentication**. 5. Click **OK**. 6. In Linux Mint, running Software Manager and install Remmina. 7. Open a terminal and install the RDP plug-in with the following command: ```bash sudo apt install remmina remmina-plugin-rdp ``` 8. Run Remmina. 9. Create a new connection using RDP. 10. Enter your Server, Username (your AzureAD email address: [email protected]), Password, Domain: AzureAD. 11. Select Color depth "True color (32 bpp)". 12. Click the **Advanced** tab. 13. For **Security** select **TLS**. 14. Scroll down and check the option **Ignore certificate**. 15. Connect. 16. In the RDP session, you may see another login screen on the remote computer. Login using your username AzureAD\n[email protected] and password.