
Get the name of the NT Server that you are logging in to.
Re:Get the name of the NT Server that you are logging in to???? What you said is completely incorrect. When windows 9x logs on it maps the Z: drive temporarily to the \\server\netlogon share. All this script does is determine the share and path of the z: drive and extrapolate the server name. It works for me and hundreds of others that have downloaded it... :-)
Clarence
Win32Scripting....
No, not that other one..... THE ORIGINAL...
http://cwashington.netreach.net
On THIS site you will find everything you need to get up and running. A script repository with almost 400 FREE sample scripts, a downloads section with FREE COM objects for scripting, a library of reference materials and an online discussion lounge to provide community based technical support. Check it out.
Your code finds the name of the server that has your home directory share on it. It is not finding the server that you authenticated your network logon to. What if your share is on //BDC03/Username but your log on was authenticated by //BDC15. I believe that Mitch is wanting to know how do you find the server that authenticated your logon process.
Preston
Quote:
-----Original Message-----
From: Clarence Washington Jr.
Posted At: 30/03/00 10:26
Conversation: Get the name of the NT Server that you are logging in to.
Subject:Re: Get the name of the NT Server that you are logging in to.
I have a code snippet on my site that will get this for you....
<http://cwashington.netreach.net/script_repository/view_scripts.asp?Inde
x=158&ScriptType=VBScript>
http://cwashington.netreach.net/script_repository/view_scripts.asp?Index
=158&ScriptType=vbscript
--
Clarence
Win32Scripting....
No, not that other one..... THE ORIGINAL...
<http://cwashington.netreach.net> http://cwashington.netreach.net
On THIS site you will find everything you need to get up and running. A
script repository with almost 400 FREE sample scripts, a downloads
section with FREE COM objects for scripting, a library of reference
materials and an online discussion lounge to provide community based
technical support. Check it out.
> Is there any way to return the name of the NT server that you are
logging
> into from a logon script. I need this for my 9.x clients to determine
which
> BDC there hitting.
> Thanks,
> Mitch Blades