I'm trying to create a script that will allow me to map computers to the users who log into them. However, I've tested about six different scripts so far, and they all come back with an empty username field. What am I missing? Can anyone provide some insights or suggestions to get this working?
3 Answers
It sounds like you need to give more context about your situation. Are you trying to track which computer each user logs into daily? Also, let us know if you're pulling data from domain controllers or directly from workstations, and what language you're using for the script. More details will help people assist you better!
Just from your post, it seems like the scripts lack the detail they need to return user info. Are you sure the scripts are written correctly or that they're running in the right context? Double-check the script requirements and see if any prerequisites are missing.
There are several factors that could be affecting your script. Make sure you're running it with the right permissions to access the user data. Also, check if you're using a proper method to grab the usernames. It might also be worth considering using a management tool like Action1, which lets you add a column for the last logged-on user easily.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures