I just got tasked with a particularly nasty project. I come up with what is undoubtedly a horrible way to get it done so I thought I would put the project out there and see if anyone had any insight.
The requirements are such: User-A need to be shown a list of who is running executable-A across two windows 2k3 terminal servers. User-A is not an admin and shouldn't have admin rights nor should that user have any password to an admin account.
Ouch.
So here is what I came up with. Visual Fox Pro 9 is my primary development tool. I automated a combination of PSEXEC, CMD.exe, and Tasklist.exe to get the proper list dumped to a location where I could pick up the data and display it to the user. I don't have to give the user any passwords to get the job done so that's a plus but it just has so many drawbacks its ridiculous.
So, what do you think? D.