JSI Tip 10612. How can I rapidly display all the computer names in my domain that do not respond?

Using Available.bat, I have scripted Not_Available.bat to report all the NetBIOS computer names in the domain you are logged onto that do not respond.

The syntax for using Not_Available.bat is:


NOTE: If you wish to process the output, use:

for /f "Tokens=*" %%c in ('Not_Available') do (
:: %%c contains the NETBios computer names that are not available. 
 @echo %%c
Not_Available.bat contains:
@echo off
for /f "Tokens=1,2" %%c in ('Available') do (
 if "%%d" EQU "N" @echo %%c

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.