PC Review


Reply
Thread Tools Rate Thread

checking user name on a remote machine ???

 
 
Shafeeq_lshtm
Guest
Posts: n/a
 
      24th Jan 2005
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.


 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th Jan 2005

"Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Shafeeq_lshtm
Guest
Posts: n/a
 
      24th Jan 2005
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)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > 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?
>
>
>



 
Reply With Quote
 
Steven L Umbach
Guest
Posts: n/a
 
      24th Jan 2005
Assuming you have administrator privileges on the remote computer and file
and print sharing access you can use Computer Management and select to
connect to other computer and view users and groups on that computer.
Another alternative may be to use TS Remote Administration or Remote Desktop
if the remote computer has that capability. --- Steve


"Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      25th Jan 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >
> > "Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > 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?
> >
> >
> >

>
>



 
Reply With Quote
 
Shafeeq_lshtm
Guest
Posts: n/a
 
      25th Jan 2005
Thanks Pegasus, for the tip this is really something I was looking for.
Cheers
Shafeeq M.
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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)" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > >
> > > "Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > 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?
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Shafeeq_lshtm
Guest
Posts: n/a
 
      25th Jan 2005
Finally I arrived at the solution : psexec(Thanx to Pegasus) . Steve, I
really was looking for a command line procedure so that I could script the
task. Thanks anyway for your recommendations.

Cheers guys.
Shafeeq M.

"Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Shenan Stanley
Guest
Posts: n/a
 
      25th Jan 2005
Shafeeq_lshtm wrote:
> Thanks Pegasus, for the tip this is really something I was looking
> for. Cheers


I use PSEXEC in combination with an application called "netusers" to get a
history of logons..

http://www.jsiinc.com/subh/tip3900/rh3977.htm

--
<- Shenan ->
--
The information is provided "as is", it is suggested you research for
yourself before you take any advice - you are the one ultimately
responsible for your actions/problems/solutions. Know what you are
getting into before you jump in with both feet.


 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a
 
      26th Jan 2005
Wouldn't it have been easier to just right-click on the machine in ADUCs and
pick Manage and look at the Users listed in the Local Accounts? You can
even select "Export List" and save them to a text file.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Pegasus, for the tip this is really something I was looking for.
> Cheers
> Shafeeq M.
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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)" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > >
> > > > "Shafeeq_lshtm" <(E-Mail Removed)> wrote in message
> > > > news:%(E-Mail Removed)...
> > > > > 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?
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. DR Microsoft C# .NET 1 3rd Nov 2007 10:23 AM
How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. DR Microsoft Dot NET Framework 0 2nd Nov 2007 09:05 PM
How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. DR Microsoft ADO .NET 0 2nd Nov 2007 09:05 PM
How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. DR Microsoft Dot NET 0 2nd Nov 2007 09:05 PM
checking user name on a remote machine ??? Shafeeq_lshtm Microsoft Windows 2000 Networking 8 26th Jan 2005 07:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 AM.