Questions tagged [netbios]

NetBIOS is an acronym for Network Basic Input/Output System. It provides services related to the session layer of the OSI model allowing applications on separate computers to communicate over a local area network. As strictly an API, NetBIOS is not a networking protocol.

75 questions
20
votes
11 answers

NetBIOS domain of computer in PowerShell

How can I get the NetBIOS (aka 'short') domain name of the current computer from PowerShell? $ENV:USERDOMAIN displays the domain of the current user, but I want the domain that the current machine is a member of. I've discovered you can do it pretty…
David Gardiner
  • 16,892
  • 20
  • 80
  • 117
14
votes
3 answers

How to find IP address from netbios host name?

What network tool can I use under DOS/windows to find the ip address of a netbios host as easily as is done in Linux? For example under Linux (ubuntu) I can find the ip address like so: # nmblookup imac querying imac on 192.168.1.255 192.168.1.75…
draca
  • 1,319
  • 5
  • 16
  • 32
13
votes
0 answers

Network discovery in android

I want to discover all devices (host name, MAC address and vendor name) connected to my Wifi network through an android phone. There are no common services running on the devices. Tried the following methods: Pinging all IPs in the subnet takes too…
user3316561
  • 586
  • 1
  • 6
  • 14
12
votes
1 answer

Resolve NetBIOS name on iOS

Is there any way on iOS to resolve NetBIOS name using IP address? One could resolve NetBIOS name on a Mac using terminal command: smbutil -v status -ae The smbutil is opensourced so you can find it here: http://www.apple.com/opensource/ ->…
Gusev Andrey
  • 446
  • 5
  • 23
12
votes
5 answers

How do I get the NetBIOS name of a machine from IP in C#?

Given the IP address of a machine how do I get its NetBIOS name programmatically in C#? I know I can get it from the command line through "nbtstat -A ', but I'm looking for a better solution.
Rohit
  • 7,449
  • 9
  • 45
  • 55
8
votes
4 answers

What is the best way to get the computer name remotely based on an IP address?

I have several windows machines identified by ip address. I would like to write an application that query the computers remotely and gets their name. I cannot rely on DNS because it does not provide exact results. I heard that there is a NetBIOS…
gyurisc
  • 11,234
  • 16
  • 68
  • 102
7
votes
3 answers

IIS site on UNC share: is it problematic?

I am working with a legacy ASP Classic solution which is load balanced (via external hardware and has an IIS site the home directory of which is an UNC path. I've been told that the following issues with this setup currently exist: When using an…
bzlm
  • 9,626
  • 6
  • 65
  • 92
6
votes
1 answer

Is it possible that Environment.MachineName returns a zero length string

I am chasing a strange error at a customer site and was wondering if it is possible that Environment.MachineName could return a zero length string. The docs say this is read from the registry but doesn't specify where. I can't imagine that a machine…
Matt Wilko
  • 26,994
  • 10
  • 93
  • 143
6
votes
1 answer

Resolve NetBIOS name on Windows 7

According to this link, NetBIOS is no longer supported starting from Windwos Vista. Sure enough, I can no longer see any NetBIOS name from the network properties. However, when I am writing codes on my Windows 7, I still encounter NetBIOS names in…
Harvey Kwok
  • 11,713
  • 6
  • 37
  • 59
6
votes
3 answers

How to check if a computer is responding from C#

What is the easiest way to check if a computer is alive and responding (say in ping/NetBios)? I'd like a deterministic method that I can time-limit. One solution is simple access the share (File.GetDirectories(@"\compname")) in a separate thread,…
ripper234
  • 222,824
  • 274
  • 634
  • 905
6
votes
4 answers

Translating NETBIOS domain into a FQDN (Fully Qualified Domain Name)

In short - How do I translate a NETBIOS domain to a FQDN ? Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN…
LiorE
  • 111
  • 4
  • 9
5
votes
2 answers

get domain name from FQDN?

I am trying to get the NetBios name from a fully qualified Domain Name... the user inputs the FQDN and i convert to NetBios name for eg xyz.test.com (this is just an example, the FQDN an be anything) to its NetBios (i am not sure if it is called…
user175084
  • 4,550
  • 28
  • 114
  • 169
5
votes
3 answers

How to avoid 12 seconds delay when disonnecting from share in Windows 7?

I'm making some utils that uses NetUseAdd and NetUseDel functions to connect/disconnect to share. In Windows 7 I noticed that between calling NetUseDel and real disconnnection passes nearly 12 seconds. I made some investigations and found that net…
kizill
  • 51
  • 2
5
votes
1 answer

Plain text passwords are disabled NetBios remote connection

I'm trying connect remotely to windows machine and fetch files from this machine. this is my code, path = path.replace(":",""); path = path.replace("\\","/"); String smbpath="smb://"+host+":445/"+path; //c/alon2.txt"; …
user2303962
  • 85
  • 1
  • 2
  • 9
5
votes
1 answer

Does NetBIOS do any caching?

If I read a file from a UNC network share does Windows cache parts of that file? For example: If I read the whole file byte for byte, will each read call result in a request over the network, or does Windows read larger blocks internally, and serve…
Maestro
  • 9,046
  • 15
  • 83
  • 116
1
2 3 4 5