分类: 默认分类

Moonlight远程桌面

Moonlight remote desktop
byu/KillaRoyalty incloudygamer

This is the code I use:

@echo off
taskkill /f /t /im rdpclip.exe

for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
	%windir%\System32\tscon.exe %%s /dest:console /password:YOUR-WINDOWS-PASSWORD-HERE
)

ping 127.0.0.1

net stop NvContainerLocalSystem && net start NvContainerLocalSystem

To explain: the first taskkill line will kill the clipboard. I haven’t encountered the issue myself, but apparently some RDP clients can freak out the RDP server if tscon is invoked without quitting the clip app.

添水醒竹

评论

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)