Options

how to log off a user remotly

JHON CENAJHON CENA Member Posts: 20 ■□□□□□□□□□
hi

if i have 2 servers,remote desktop is disabled on them

if a user1 is log on to server A locally
and i`m log on to server B locally

so how can i log off the user1 remotly ?

what is the command used here?

Comments

  • Options
    effektedeffekted Member Posts: 166
    Type net use //IP ADDRESS (will be required to authenticate)

    To list what users are logged on and their Session ID:
    qwinsta /server:IP ADDRESS

    Once you have their Session ID, type this:
    rwinsta /server:IP ADDRESS Session ID
  • Options
    apoole15apoole15 Member Posts: 64 ■■■□□□□□□□
    From the command line try:

    shutdown /l /m [URL="file://\\serverA"]\\serverA[/URL]
  • Options
    JHON CENAJHON CENA Member Posts: 20 ■□□□□□□□□□
    ok so what about compmgmt.msc?

    how can i use it for the same idea
  • Options
    DevilsbaneDevilsbane Member Posts: 4,214 ■■■■■■■■□□
    JHON CENA wrote: »
    ok so what about compmgmt.msc?

    how can i use it for the same idea

    Compmgmt.msc could be use to disconnect someone accessing over a share, but that is about it.

    What is your need for disconnecting someone who is logged in?
    Decide what to be and go be it.
  • Options
    JHON CENAJHON CENA Member Posts: 20 ■□□□□□□□□□
    yes i want this user to log off

    and can you give my any advicese about 70-290 exam

    and thank you
  • Options
    kyawkhinewynnkyawkhinewynn Registered Users Posts: 2 ■□□□□□□□□□
    You can use this command, “logoff.exe 0 /SERVER:server01” whereas “0” is ID name and server01 is computer name of remote computer.
Sign In or Register to comment.