I have written a script to control some setting for my Terminal Server users ( redirecting and renaming 'My documents' etc ). At the end of my script I want to refresh the desktop, but how can I do that ?

I have already tried :

    Setconsole("Hide")
    Sendkeys("{F5}")

But this doesn't work right.

Thanks in advance,
Leon