executing remote command set L

Posted on 2009-04-21
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 82

    Expert Comment

    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

    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

    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

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
    Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now