0

I am having an issue on my workstation, where periodically the NET VIEW command does not seem to work.

Most times, NET VIEW will return a list of all the machines connected to our domain. Occasionally, it will only list 4 or 5 (instead of the usual 200+). The only way I've found to remedy it is by rebooting my machine.

I am running Windows XP Pro, the Domain Controller is running Server 2003.

What could be causing this, and how can I remedy it? Thanks!

Neil
  • 307
  • 3
  • 4
  • 11
  • 1
    in todays world (ad based on dns) net view is kinda a waste of time! – tony roth Jun 08 '10 at 15:52
  • I'll just use it to quickly find out a users computer. I.e. net view | findstr /i tony – Neil Jun 08 '10 at 15:55
  • 1
    well as you can see net view is not reliable. So the descriptioin field contains the name of the user is that correct? if so then the followoing will work "dsquery computer -desc tony" – tony roth Jun 08 '10 at 16:24

3 Answers3

3

net view depends on the browser service which has never really been particularly reliable. Personally, I think you should consider coming up with an alternative to finding the computer name for your users.

Since you haven't provided much detail here are some links that may help you identify and fix the problem.

Zoredache
  • 130,897
  • 41
  • 276
  • 420
2

I don't have a direct answer for you, but if you need a list of all computers in the domain, you'd do much better to ask Active Directory for this. dsquery and dsget, or your choice of scripting languages with AD hooks (PS, VB, VBScript), would all do this handily, and with more filtering and output options, than NET VIEW

mfinni
  • 36,144
  • 4
  • 53
  • 86
1

If you have NetBIOS over TCP/IP disabled in your environment, then NET VIEW will not work. NET VIEW uses NBNS to get the list of computers.

TheZman78
  • 11
  • 1