WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Server Description Field


Question:

I'm trying to pull a servers description for auditing puproses. You know, the description you see to the right of a server name in Server Manager. Currently, I'm using the wntServerInfo() function like this:
wntServerInfo("SERVERNAME",4)
This returns the description of the server - cool! The downside is that if the server is down the function hangs for a LOOOOONG time.

Is there any way that I can pull this data out of active directory somehow, so that I can get this data w/out needing the server to be up and live?

Answer:

The reason for that is that the underlying RPC mechanisms that Microsoft implemented when doing admin tasks across Windows systems are very tolerant of network problems, and they perform a massive # of retry attempts before giving up and returning an error. This is not a tunable parameter, and there's not way to change the behavior from within WinBatch.
Article ID:   W17065
File Created: 2007:07:03:14:28:04
Last Updated: 2007:07:03:14:28:04