Script to create and delete windows users for remote desktop

view full story

http://serverfault.com – I am looking to create a script for Windows Server 2008, that could be called from some sort of web interface that would create a temporary user for an employee to get remote desktop access. I would prefer not to have everyone share a login and password and would prefer not to have logins for everyone on each server. Ideally I am looking for a way to have employees login to our intranet select the server they want access to and have it create a user and return the credentials to them. This would also help with employees being able to see who is on the server when cases come up that there are (HowTos)