Knew that :-] ...but...I was giving a simple solution to the _specific_ situation asked for
>>techniques of differentiating between Windows 2000 / NT4 Unless I misread the question... -----Original Message----- From: Cathy Hooper [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 8:41 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] os version Except Gettype.exe from the Windows 2000 Resource Kit doesn't properly detect Windows 2003 or XP and the Gettype version from 2003 doesn't work on previous versions of Windows. Catch-22. Cathy Hooper Sr. NT Administrator Getty Images, Inc. 206-925-6615 (Office) www.gettyimages.com http://techweb.seattle.gettyimages.com/active_directory/ http://techweb.seattle.gettyimages.com/ts_backoffice_docs/ -----Original Message----- From: Free, Bob [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 7:56 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] os version 190899 - How to Determine the OS Type in a Logon Script: http://support.microsoft.com/default.aspx?scid=kb;[LN];190899 You can obtain Gettype.exe version 4.0 from by installing the Windows 2000 Resource Kit Tools. Gettype.exe works by querying the registry for the installation type and setting the DOS ERRORLEVEL appropriately: Returns 1 for Windows NT Workstation. Returns 2 for Windows 2000 Professional. Returns 3 for Windows NT Server non-domain controller. Returns 4 for Windows 2000 Server non-domain controller. Returns 5 for Windows NT Server domain controller. Returns 6 for Windows 2000 Server domain controller. Returns 7 for Windows NT Enterprise/Terminal Server domain controller. Returns 8 for Windows NT Enterprise/Terminal Server non-domain controller. -----Original Message----- From: Graham Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 4:09 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] os version i know this one has probably been done about 500 times already, but was hoping to sound the mailing list out on techniques of differentiating between Windows 2000 / NT4 from login script, given that both Windows 2000 and NT4 return "Windows NT" from a query of the "OS Version" environment variable GT List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ ======================================================= This email and its contents are confidential. If you are not the intended recipient, please do not disclose or use the information within this email or its attachments. If you have received this email in error, please delete it immediately. Thank you. ======================================================= List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
