How to install in NT workstation but not in NT server?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to install in NT workstation but not in NT server?

    Hi,

    How can i find the difference in either NT4 workstation and NT4 Server or any windows Server? I know that you can use %IsNT4% (or something like that) but this will show up for either NT4 Server or workstation. How can i drill down so that it tells me that its server version and not run my program, but only work in windows workstation versions of NT, W2k,etc.

    Helps for any help
    Morci
  • Adam
    Indigo Rose Staff Member
    • May 2000
    • 2149

    #2
    Re: How to install in NT workstation but not in NT server?

    There is probably a registry key that you can read to determine if the system is a NT server or a NT workstation. You may need to poke around but that is where I would start if I were you. After you have read the key into a variable you can the use an IF statement and abort if it is true.

    The exact key that must be used is unknown to me. Does anyone know of such a key?

    Comment

    • Derek
      Indigo Rose Customer
      • May 2001
      • 1254

      #3
      Re: How to install in NT workstation but not in NT server?

      Try this:

      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Product Options]

      The values will be:
      WinNT = Windows NT Workstation
      ServerNT = Windows NT Server
      -
      = Derek
      ["All glory comes from daring to begin" - fortune cookie]

      Comment


      • #4
        Re: How to install in NT workstation but not in NT server?

        Thanks very much i will try that, i'm sure this will work.
        I will check Win2K and see if it has the same kind of keys

        Thanks again
        Morci

        Comment

        Working...
        X