I have a program that takes a screenshot (Part of the Tesseract AutoIT project). The trouble is in the CaptureToTIFF function BUT ONLY on Windows Server 2003. Everything works great on XP or 7. I've put the function in its entirety below but I know where, in particular, the problem lies. To start: I can get the handle to the screenshot with either of these commands... $hBitmap2 = _ScreenCapture_CaptureWnd("", $hwnd2, 0, 0, -1, -1, False) $hBitmap3 = _ScreenCapture_CaptureWnd(@MyDocumentsDir