Detect Windows Server 2003 from cmd line

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: driley (driley_at_mhriley.com)
Date: 07/16/04


Date: 16 Jul 2004 01:02:38 -0700

I would like to know if there is a way to detect from a logon script
batch file if the OS is running Windows Server 2003.

Devin



Relevant Pages

  • Detect Windows Server 2003 from cmd line
    ... I would like to know if there is a way to detect from a logon script ... batch file if the OS is running Windows Server 2003. ... Devin ...
    (microsoft.public.scripting.wsh)
  • Re: Loginscript occasionally failing
    ... but I have several times seen reports where a batch file failed ... uses "z:\Login.bat" to launch the logon script. ... the drive mapping can disappear. ... clients with NT or above use UNC rather than a temporary drive to ...
    (microsoft.public.windows.server.scripting)
  • Re: Script Execution Over Network
    ... a remote batch file is executed that checks if the ... we know that the client has the latest version of the ... Of course there is the bandwidth required to copy the logon script. ... more bandwidth is required to copy a program than to execute the program. ...
    (microsoft.public.scripting.vbscript)
  • Re: Drive Mapping in Server 2008
    ... using the following Logon Script path in user profile: ... My batch file is: ... REM Exit if user has logged on to the server ... REM MAP DRIVES ...
    (microsoft.public.windows.server.scripting)
  • Re: changing default user folder location to a another server
    ... create accounts on the SBS server. ... commented out the sbs client executable in the logon script ... In my logon script, if you using WSH script, I had it make shortcuts on ... With a batch file, as the alternative, I ...
    (microsoft.public.backoffice.smallbiz2000)