executing remote command set L

Posted on 2009-04-21
Medium Priority
Last Modified: 2013-12-23

How can i get a listing of each computer on the domain with  the details of which logon server it points to, i know u can do this with the command set l which gives u the output of

>set L

i dont want to go to every PC and do this - will take a very long time to do and not practical so how can i do this remotely and still get accurate results for every single machine?
Question by:Con42
LVL 85

Expert Comment

ID: 24194438
What exactly are you trying to do? This is a *USER* environment variable, not a machine variable, so as soon as you logoff from the machine, the results are already obsolete.

Author Comment

ID: 24194969
Have to verify which machines are pointing to which logon servers since there are more than one logon server on the network. A migration took place from WIN NT 4 to WIN 2003 and now need to check if the machines are now pointing to the new logon servers and not to the old NT DC which is still part of the network as this migration is taking place in phases so is co-existing with win2003.
LVL 37

Accepted Solution

bbao earned 500 total points
ID: 24223260
try this:

PsExec v1.94

be aware that SET is not an individual executable, it is an internal command of CMD.EXE. therefore what you should remotely run is CMD.EXE with /C switch.

hope it helps,

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question