Which workstation a user is logged onto




















The type of information you are looking for is not saved in the directory. The only way I know to do this without having a tool setup is to search the Security logs on all of your domain controllers.

You are looking for Event ID Once you have your log filtered for this even run a find for the security ID you are questioning. Under network information you should have the Workstation name and ip address. Firstly, I highly recommend that you target very specific machines if you go this route.

This will be very time consuming process and relies on a few conditions to exist to work. You can try the following in powershell. Note you will need a list of machines FQDN for each , the samAccountName of the user in question, and the netbios of the domain in question. Adding in additional paths is easy. The script will print out any computers the profile path was found on.

Sign up to join this community. The best answers are voted up and rise to the top. Best Answer. You can also create reports on this information plus other great automations and Remote Control! Goverlan Reach Goverlan Remote Control 4. View this "Best Answer" in the replies below ». Which of the following retains the information it's storing when the system power is turned off?

Submit ». Pure Capsaicin. Little Green Man This person is a verified professional. Verify your account to enable IT peers to see that you are a professional.

Powershell can do this. JKHigg This person is a verified professional. Here ya go. Execute it in Windows PowerShell. ADAudit Plus To obtain the report, 1.

We can run this script only from the computers which has Active Directory Domain Services role. In order to change the date formats, the script needs to be modified each time. It could be done with background jobs, but I agree that there are better ways of approaching the problem. But back to the point: What do you mean it doesn't produce output?

If you run this as a script schduled task or whatever , you won't get any data since you're only using Write-Host , but it should write the text to you console. Add a comment.

Active Oldest Votes. Improve this answer. Manas Dash Manas Dash 31 6 6 bronze badges. This is a great answer. I wish you provided an example of how you have done this in the past. We can feed our list of computers to that and find any place the user is logged in to.

This will take a long time HackSlash HackSlash 3, 2 2 gold badges 15 15 silver badges 36 36 bronze badges. Sign up or log in Sign up using Google.



0コメント

  • 1000 / 1000