HI! I will start off by thanking Prog@ndy and others that have done examples of this for XP! Great work! Now I had a need of this also in Vista/7 and found nothing here (Bad searching skills?) , the net had some but was really confused about how to do it and what different calls and techniques actually do... I had to sift through a lot of bogus claims and incomplete examples... I have tested a lot and come up with this example code. Hope it will be useful! ;Global $ES_AWAYMODE_