Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
1  
in todays world (ad based on dns) net view is kinda a waste of time! –  tony roth Jun 8 '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 8 '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 8 '10 at 16:24
    
I will check in to that. Thanks a ton Tony. –  Neil Jun 9 '10 at 16:34

3 Answers 3

up vote 2 down vote accepted

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

share|improve this answer
    
as I commented above, I just use it to quickly find a users computer name. For example: net view | findstr /i mfinni –  Neil Jun 8 '10 at 15:56
    
Then use "dsquery computer" –  mfinni Jun 8 '10 at 16:47
    
Thanks for your help –  Neil Jun 9 '10 at 16:40

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.