Dear Community,
Is there any way to find my machine name and user name, if I know my IPv4 address? I tried the method which given below. But its showing "There are no entries in the list". What is this mean?
1) netstat -a myip
2) net view /domain:mydomain > D:\output.txt
Find Machine Name and User Name with IP Address
-
- 5StarLounger
- Posts: 737
- Joined: 24 Aug 2017, 07:43
-
- Administrator
- Posts: 12601
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Find Machine Name and User Name with IP Address
netstat -a
will give you a list of all the connections and listening ports on your local computer. I am not sure what you intend to get from this.
net view /domain
will give you a list of all the computers that are sharing things in the domain
You can get your current computer name and username from the commands
hostname
echo %username%
will give you a list of all the connections and listening ports on your local computer. I am not sure what you intend to get from this.
net view /domain
will give you a list of all the computers that are sharing things in the domain
You can get your current computer name and username from the commands
hostname
echo %username%
StuartR
-
- 5StarLounger
- Posts: 737
- Joined: 24 Aug 2017, 07:43
Re: Find Machine Name and User Name with IP Address
Thanks for your kind reply sir. My intension is if I use "ping -a myip" this command it will shows with hostname. By using this command I could find hostname. But I want to know hostnames's user name. Can we find sir? if run "echo %username%" in my machine we can find user name. But if I want to know some hostname's user name how to find out sir. Kindly tell me sir.
-
- Administrator
- Posts: 12601
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Find Machine Name and User Name with IP Address
That's not really possible. Many things with IP addresses have no username, or multiple usernames.
StuartR
-
- 5StarLounger
- Posts: 737
- Joined: 24 Aug 2017, 07:43
Re: Find Machine Name and User Name with IP Address
I understand. Thank you sir