Re: checking user name on a remote machine ???

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Shafeeq_lshtm (shafeeq.mansoor_at_lshtm.ac.uk)
Date: 01/25/05


Date: Tue, 25 Jan 2005 09:42:17 -0000

Thanks Pegasus, for the tip this is really something I was looking for.
Cheers
Shafeeq M.
"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:uF2L5apAFHA.2428@TK2MSFTNGP14.phx.gbl...
> Use psexec.exe (www.sysinternals.com) to run commands on
> a remote machine:
>
> psexec \\pc1 net user | find /i "JohnBlack"
> psexec \\pc1 c:\tool\psloggedon | find /i "JohnBlack"
>
> The first command will find you if John Black has an account
> on PC1. The second command will tell you if he is currently
> logged on. psloggedon.exe is another SysInternals tool.
>
>
> "Shafeeq_lshtm" <shafeeq.mansoor@lshtm.ac.uk> wrote in message
> news:uIZaQWjAFHA.4004@tk2msftngp13.phx.gbl...
> > Hi Pegasus,
> > Thanks for the response. All I want to know is whether the given
username
> > exists on the remote machine while he is not logged in.(I figured that
> > nbtstat -A could reveal the logged in user)
> > Thanks again for clarifying.
> >
> > Cheers,
> > Shaffeq M.
> >
> > PS: This remote machine happens to be our dial-in server so when someone
> > wants to subscribe I need to check if his username already exists there.
> >
> > "Pegasus (MVP)" <I.can@fly.com> wrote in message
> > news:eCtW07gAFHA.3616@TK2MSFTNGP11.phx.gbl...
> > >
> > > "Shafeeq_lshtm" <shafeeq.mansoor@lshtm.ac.uk> wrote in message
> > > news:%23gyDdMgAFHA.2608@TK2MSFTNGP10.phx.gbl...
> > > > Hi All,
> > > > I was wondering whether it is possible to check if a particular
> username
> > > > exists on a remote machine given the machine's IP address.
> > > >
> > > > (something like : Net user dude100 //192.68.251.8)
> > > >
> > > > TIA,
> > > > Shafeeq M.
> > > >
> > > >
> > >
> > > Do you mean
> > > - If the account "dude" exists on the remote machine, or
> > > - If user "dude" is logged on at the remote machine?
> > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: checking user name on a remote machine ???
    ... Thanks Pegasus, for the tip this is really something I was looking for. ... > a remote machine: ... The second command will tell you if he is currently ... >> wants to subscribe I need to check if his username already exists there. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: checking user name on a remote machine ???
    ... pick Manage and look at the Users listed in the Local Accounts? ... >> a remote machine: ... The second command will tell you if he is currently ... >>> wants to subscribe I need to check if his username already exists ...
    (microsoft.public.win2000.networking)
  • Re: checking user name on a remote machine ???
    ... pick Manage and look at the Users listed in the Local Accounts? ... >> a remote machine: ... The second command will tell you if he is currently ... >>> wants to subscribe I need to check if his username already exists ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Sharing and Security on File Share
    ... from AD to enure I didn't have a typo in the command line you requested. ... "Pegasus (MVP)" wrote: ... net user rogene>> c:\test.txt ...
    (microsoft.public.windows.file_system)
  • Re: Need help with batch files!
    ... "Pegasus (MVP)" wrote: ... You cannot have wildcards in the path component of a copy command. ...
    (microsoft.public.windows.server.general)