I all ready have this code and it works fine. When they log off the terminal
server, the script just do a loop. But i want the user to get a question
before it loops again.
They should get two options: 1. reconnect to terminal server
2. shutdown computer.
Set oShell = CreateObject(â??â??Wscript.Shellâ??â??)

Do While True
oShell.Run â??â??mstsc c:\ts.rdp,3,True
Loop

I hope someone could help me with this problem.