mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #710] 可以添加Logout.bat来关闭远程控制,这样就不会锁屏 #3503
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#3503
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @7Fwuyuan on GitHub (Sep 7, 2024).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/710
Originally assigned to: @VShawn on GitHub.
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (%windir%\System32\tscon.exe %%s /dest:console)
新建txt,把上面复制进去,修改后缀为bat,右键--以管理员身份运行,这样就不会锁屏

@7Fwuyuan commented on GitHub (Sep 7, 2024):
有办法添加到软件里吗?
@VShawn commented on GitHub (Sep 7, 2024):
没看错的话,这个脚本是在服务端执行的吧?1Remote 没有权限也没有办法在服务器端执行脚本
@7Fwuyuan commented on GitHub (Sep 7, 2024):
现在是这样使用,不知道有没有更好办法
@VShawn commented on GitHub (Sep 11, 2024):
查了一下,https://superuser.com/a/1704295 这个可能对你有参考