Matt Herbert (matherbe) wrote:
> Just wondering if there is a way to differentiate Windows Server 2008
> from Windows Vista? All the normal methods I would use aren't cutting
> it. For instance, sys.getwindowsversion() and platform.uname() are
> returning exactly the same thing for Vista and Windows 2008.
>   

Yes, this is a common issue.  The fact is that Vista SP1 is exactly the
same code as Windows Server 2008.  There is no difference.  Thus, for
the most part you shouldn't care.

You can dig the real system name from the registry. 
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion should have what you need.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to