Created
March 31, 2025 15:39
-
-
Save markalanevans/36b90074cd2289dbe62014d32c2a44ea to your computer and use it in GitHub Desktop.
Remote Desktop Clipboard Fix
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 characters
Remote Desktop - Dev Setup | |
The Clipboard often gets out of sync. | |
So on windows create a .bat file with this in it | |
```RestartRDPClip.bat | |
cls | |
taskkill /F /FI "USERNAME eq %username%" /IM rdpclip.exe | |
ping -n 1 -w 1000 1.1.1.1>nul | |
start rdpclip.exe | |
``` | |
Then create a windows shortcut | |
That has this for the target | |
``` | |
C:\Windows\explorer.exe "C:\Users\MarkAEvans\Documents\Marks DevSetup\RestartRDPClip.bat" | |
``` | |
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 characters
cls | |
taskkill /F /FI "USERNAME eq %username%" /IM rdpclip.exe | |
ping -n 1 -w 1000 1.1.1.1>nul | |
start rdpclip.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment