4 Aralık 2015 Cuma
Remotely lock computer psexec
psexec.exe -accepteula \\[IPAddress_or_ComputerName] -i -s %windir%\system32\rundll32.exe user32.dll,LockWorkStation
Psexec LOGOFF Remote user / computer and administrators
Remotely Logoff User
Use it when you want to logoff a remote admin because you hate using the Windows Terminal Services Console or because sometimes it crashes.
C:\psexec.exe \\[IPaddress_or_ComputerName] -u DomainName\UserName cmd.exe
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Password: ********
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\WINDOWS\system32>query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
>console Administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#4 User1 1 Active rdpwd
rdp-tcp#5 User2 2 Active rdpwd
C:\WINDOWS\system32>logoff 1
C:\WINDOWS\system32>logoff 2
Use it when you want to logoff a remote admin because you hate using the Windows Terminal Services Console or because sometimes it crashes.
C:\psexec.exe \\[IPaddress_or_ComputerName] -u DomainName\UserName cmd.exe
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Password: ********
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\WINDOWS\system32>query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
>console Administrator 0 Active wdcon
rdp-tcp 65536 Listen rdpwd
rdp-tcp#4 User1 1 Active rdpwd
rdp-tcp#5 User2 2 Active rdpwd
C:\WINDOWS\system32>logoff 1
C:\WINDOWS\system32>logoff 2
Kaydol:
Kayıtlar (Atom)