Paul, but if they use a full CPN client to connect to Citrix, wouldn't %clientname% just return the Citrix ICA Client name? I'm running W2k servers with MF XP. Half of my users come through nFuse and the others come through CPN. _____ Brian Claus, A+, Network+, MCP Network Administrator WESCO Distribution, Inc. 225 West Station Square Drive, Suite 700 Pittsburgh, PA 15219-1122 Phone: 412-454-2412 Fax: 412-454-2540 bclaus@xxxxxxxxxxxxx <mailto:bclaus@xxxxxxxxxxxxx> _____ -----Original Message----- From: Stansel, Paul [mailto:Paul.Stansel@xxxxxxxxxxxxx] Sent: Tuesday, August 26, 2003 12:56 PM To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] Re: getting client computernames? Here's what I use in my usrlogon2.cmd file :). Checks to make sure the name is not already there, and if it isn't writes it to the file. rem To write the clientname variable to a common filename. find "%clientname%" d:\cnames\who.log IF not "%ERRORLEVEL%"=="1" goto DONOT echo %clientname%, >> d:\cnames\who.log :DONOT Call C:\wtsrv\applic~1\logon\Ofc97Usr.Cmd :End exit > ---------- > From: Claus, Brian[SMTP:BClaus@xxxxxxxxxxxxx] > Reply To: thin@xxxxxxxxxxxxx > Sent: Tuesday, August 26, 2003 11:22 AM > To: thin@xxxxxxxxxxxxx > Subject: [THIN] getting client computernames? > > Anyone know how to or have a script that can pull the client's > computername upon logon to a Citrix server? > > We're trying to put a login script into effect that queries for the > 823980 patch (MSBLAST patch) and writes unpatched computernames to a txt > file. > > ******************************************************** > This Week's Sponsor: RES PowerFuse, The Management Framework for Windows > Eliminate Multiple Tools, Multiple Support Channels and Multiple Costs > Manage, Control, and Secure an Entire Windows environment with Ease, > including Real-time Reporting and Documenting Components > Validate a Meaningful ROI on All of your IT Investments with RES > PowerFuse. > http://www.respowerfuse.com/ > ********************************************************** > Useful Thin Client Computing Links are available at: > http://thethin.net/links.cfm > > For Archives, to Unsubscribe, Subscribe or > set Digest or Vacation mode use the below link: > http://thethin.net/citrixlist.cfm > ******************************************************** This Week's Sponsor: RES PowerFuse, The Management Framework for Windows Eliminate Multiple Tools, Multiple Support Channels and Multiple Costs Manage, Control, and Secure an Entire Windows environment with Ease, including Real-time Reporting and Documenting Components Validate a Meaningful ROI on All of your IT Investments with RES PowerFuse. http://www.respowerfuse.com/ ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor: RES PowerFuse, The Management Framework for Windows Eliminate Multiple Tools, Multiple Support Channels and Multiple Costs Manage, Control, and Secure an Entire Windows environment with Ease, including Real-time Reporting and Documenting Components Validate a Meaningful ROI on All of your IT Investments with RES PowerFuse. http://www.respowerfuse.com/ ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm