MS NLB and Persistent routes

(imported topic written by chrism91)

Hey guys need a little help here.

Trying to figure out all the servers that have Network Load Balance turned on then i need to know what the server has listed for persistent routes.

Here is what i’m trying:

Windows NLB Service installed

if exists service “wlbs” then state of service “wlbs” else “Not Installed”

Persistents Routes

values “PersistentRoutes” of keys “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” of registry

Not sure what im doing wrong. Seems simple enough.

Thanks for the help

(imported comment written by NoahSalzman)

Your “wlbs” query looks correct, assuming “wlbs” is the right service name. You can always use the simple query “services” to see if you have spelled it correctly.

Also, note in v8 you can simplify “if exists” to this syntax:

q: state of service “BESClient” | "Not Installed"
A: Running

Here is the answer to the second part… I had no values in PersistentRoutes so I created a string value named “foo” with value data of “some value data”

q: names of keys of keys “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” of registry
A: Adapters
A: DNSRegisteredAdapters
A: Interfaces
A: PersistentRoutes
A: Winsock

q: (names of values of it, values of it) of key “PersistentRoutes” of keys “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” of registry
A: foo, some value data

(imported comment written by chrism91)

I get a runtime error in the Fixlet Debugger when i try

(names of values of it, values of it) of key “PersistentRoutes” of keys “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” of registry

Did I type something wrong?