ken82m Posted January 13, 2004 Posted January 13, 2004 I have a script that I want running on clients NOT servers. Does anyone know how I can tell an NT 4.0 workstation from an NT 4.0 server? I've searched the registry I don't see anything obvious Thanks, Kenny "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."
bcording Posted January 13, 2004 Posted January 13, 2004 ;Function to determine if a system is a workstation Func IsWks() If RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions","producttype") = "WinNT" then Return 1 Else Return 0 EndIf EndFunc
ken82m Posted January 13, 2004 Author Posted January 13, 2004 thank you very much "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now