To detect this, use this code snippet: const WF_WINNT = $4000; if (GetWinFlags and WF_WINNT) > 0 then { ...running on NT...}