The Kenzig

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, March 20, 2007

New Utility from CTRL-ALT-DEL: ENVTSCIP

Posted on 9:40 AM by Unknown
Warren Simondson from CTRL-ALT-DEL.com has released yet another free utility (YAFU) for you to peruse

Hi All

ENVTSCIP is a minor extension of GETTSCIP whereby it sets the client IP address of a user session to an environment variable called CLIENTIP.

This utility was written due to the high demand in emails asking Ctrl-Alt-Del IT Consultancy to produce this tool.

There are another 5 Utilities in the pipeline all due out soon.

As always, get the utilities from http://www.ctrl-alt-del.com.au/CAD_Utils.htm

ENVTSCIP is a command-line tool for Terminal Servers to query the current session's client ip address and display it in the command line, as well as set it to a VOLATILE ENVIRONMENT

 VARIABLE - %CLIENTIP%.
 This utility is FREEWARE and was written by Warren Simondson of
Ctrl-Alt-Del IT Consultancy, Australia.  http://www.ctrl-alt-del.com.au/
Thankyou to the WINDOWS SDK available from  http://msdn.microsoft.com/downloads
Usage: 
ENVTSCIP
 E.G. ENVTSCIP
This command will return the client ip address of a session as:
 WTSClientAddress: 192.168.0.141 and also store it as an environment variable %CLIENTIP% 
E.G. ENVTSCIP>ipaddress.txt  
This command will return the client ip address of a session as: 
WTSClientAddress: 192.168.0.141  and store it in the text file ipaddress.txt.
It will also store it as an environment variable %CLIENTIP%
 
Using ENVTSCIP in assigning an Environment Variable is best  executed from startup or the RUN section located in the registry. 
This will ensure it can be used throughout an active session. For  using ENVTSCIP in logon scripts, please see ENVTSCIP.txt included  in this package.
The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made  every effort possible to ensure that ENVTSCIP is free of any bugs or errors,  however in no way is ENVTSCIP to be considered error or bug free. You assume all responsibility for any damages or lost data that may result from any errors or bugs in ENVTSCIP. IN NO EVENT WILL CTRL-ALT-DEL IT CONSULTANCY BE LIABLE TO YOU FOR ANY GENERAL,  SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR OTHER DAMAGES ARISING OUT OF  THIS PRODUCT.
 USRLOGON.CMD EXAMPLE
====================
@Echo Off
:: call the client ip utility that assigns the environment variable
call "%SystemRoot%\System32\envtscip.exe"
::Becasue this is run in usrlogon.cmd, the environment variable cannot be broadcast to the windows shell
::thus we use the old classic Terminal Server tool ACRegL to enforce the variable during the logon script
"%systemroot%\Application Compatibility Scripts\ACRegL.exe" "%TEMP%\getpaths.cmd" CLIENTIP "HKCU\Volatile Environment" "CLIENTIP" ""
If Not ErrorLevel 1 Goto Cont1
Echo.
Echo Unable to retrieve path.
Echo.
Goto Finish
:Cont1
Call "%TEMP%\getpaths.cmd"
Del "%TEMP%\getpaths.cmd" >Nul: 2>&1
::The environment variable %clientip% can now be used throughout this script
::To use the environment variable %clientip% within a session run ENVTSCIP.exe in the startup of the user's session
::or the RUN section of the registry
::just as a test echo the variable to the screen
echo %CLIENTIP%
:Finish

Warren Simondson
Ctrl-Alt-Del IT Consultancy Pty Ltd




Email ThisBlogThis!Share to XShare to Facebook
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Download Pick: CTX112588 - Dynamic USB Utility
    Citrix last week released a cool new utility called DynamicUSB to connect a usb drive AFTER you are already connected to a presentation serv...
  • Download Pick: Free Citrix/ Terminal server Tool - TSMsg
    Below is a new download from Warren Simondson at CTRL-Alt_del.com. Jim Hi All I hope all is well around the world. TSMsg is yet anothe...
  • Download Pick of the Week: Unofficial Daylight Savings Time fix.
    The DST time change had come and gone but some Windows 2000 workstations on your network may be still experiencing time problems. Here is a...
  • Download Pick of the Week: Unlocker.
    Hi All, I came across this FREE utility called Unlocker this morning and thought I would pass it along. I tested it out and it does work. ...
  • OT: Are you getting inundated with Ringers/Text Charges on your Cell phone bill you did not sign up for and can't stop them?
    (I am writing this because it is National Consumer Protection Week http://www.consumer.gov/ncpw/ Feb 4-10 in hopes it might help someone el...
  • Download Picks: From MS: GP Diag Best practice, Malware removal kit, Vista Tech center, updated sysinternals utilitilies
    Hi All, I have been notified of several updated utilities of interest to you all from Microsoft so here they are: Windows Vista Techcenter h...
  • How do you permanently set a default the zoom level in Internet Explorer 9?
      To permanently set the zoom level on Internet Explorer 9 some registry know how is required. Do not attempt this action if you are unsure ...
  • Download Pick: Irfanview 4.0 is now Available
    For those of you who know what it is Irfanview version 4.0 was released yesterday. Irfanview is a very fast and small graphic viewer for W...
  • Download Pick: Windows Vista Security Guide
    Heres a new tool from MS for getting your environment Vista Ready.   The Windows Vista Security Guide provides guidance and tools to furth...
  • Download Pick of the Week: More on US/Canada Time Zone Change TZMove
    This year in the US, daylight savings time will start 3 weeks earlier than normal. This will throw off several applications that use time s...

Categories

  • .psafe
  • 2008 Networking
  • 2008 year end
  • 2008 year in review videos
  • Admin Only
  • Administrator Only
  • adobe acrobat reader 9.0
  • Adobe ConnectNow
  • ADP Etime on Windows Vista
  • ajaxWindows
  • Allow user to reset own sessions
  • annots.api
  • Antivirus
  • Apple IOS 5.0 Upgrade
  • Application Compatibility
  • Apps for iPad
  • Ardence
  • ATT.net mail
  • Bayden Systems
  • Best iPad apps for newbies
  • Camera Sharing
  • Can I delete windows.old folder?
  • can not find desktop icons
  • can't load
  • Change Monitor Resolution
  • Change Resolution Program
  • Citrix
  • Citrix Clients
  • Citrix ICA Client
  • Citrix Presentation Server Web Interface 4.5 Upgrade to Citrix Xenapp Web Interface 5.01
  • Citrix Provisioning Server 5.0
  • Citrix Provisioning Server 5.1
  • Classic Shell Start Menu
  • Classic Start Menu for Windows 8
  • Close Programs After exit
  • close session
  • Close Windows 8 App
  • Closes Processes after exit
  • Cloud Computing
  • Command Line
  • Command Line Tool
  • Command Prompt
  • Community
  • compatibility mode
  • Compatibility View
  • conficker worm; april 1st
  • crash
  • crashes
  • default zoom
  • delete windows.old folder
  • delete windows.old in Windows 8
  • Delprof
  • desktop icons disappeared
  • desktop icons gone
  • desktop icons hidden
  • desktop icons not showing
  • Disable Adobe Flash Autoupdate
  • domain
  • DTV Transition
  • ECN
  • Enterprise
  • Errors in your registry
  • exit processes
  • Explicit Congestion Notification
  • First Time PC
  • Fix QAT issue with roaming profiles
  • Fix Vista
  • Flash Autoupdate
  • Flex Profile Kit
  • Flexible Profiles Kit
  • FlexProfile Kit
  • FlexProfiles
  • Free
  • get rid of windows.old folder in Windows 7
  • Get start menu back on Windows 8
  • Google
  • GoToMeeting
  • GoToMyMeeting
  • Grok
  • Grokking
  • Hacked
  • hard disk latency
  • How to Install a start menu on Windows 8
  • how to install hyper-v 2008
  • Hyper-V
  • Hyper-V 2008
  • Hyper-V Configuration Guide
  • Hyper-V Deployment Guide
  • HyperV
  • I'm A PC
  • ICA Client
  • Icon
  • icons gone windows 7
  • icons gone windows 8
  • icons hidden
  • ICT
  • Image Management
  • Import Bookmarks
  • Import Favorites
  • Internet Connection Tool
  • Internet Explorer
  • Internet Explorer 10
  • Internet Explorer 8
  • IOS 5 upgrade help
  • IOS 5.0 Upgrade
  • IPad 2 IOS Upgrade
  • iPad Apps
  • iPad apps to start with
  • iPad Upgrade tips
  • iPhone upgrade
  • iPod Upgrade
  • ITTV
  • Java
  • keep same zoom level in Internet Explorer
  • Killer Apps for iPad
  • Large Hadron Collider
  • Layers
  • LHC
  • Links on Web Interface
  • Live Mesh
  • Locallow
  • Login Consultants Flex Profile Kit
  • lost desktop icons
  • Mac Vs PC
  • MagicDisk
  • MagicISO
  • Mandatory Profiles
  • Microsoft
  • Microsoft Antivirus
  • Microsoft Certified Technician
  • Microsoft Internet Connection Tool
  • Microsoft Word 2003 Redaction Tool
  • Microsoft Word 2007 Redaction Tool
  • Misunderstood Features
  • Mobile Mesh
  • Morro
  • Mount ISO
  • MSE
  • msvcr80.dll
  • Nicholas Carr
  • Office Live Workspace
  • Office Quick Access Toolbar
  • Online Bookmarks
  • Online Desktop
  • Online Favorites
  • Oops
  • OS
  • Pano Logic
  • Password Safe
  • Password Safe for iOS
  • PasswordSafe
  • passwordsafe for Android
  • PasswordSafe for iOS
  • Passwordsafe for iPad
  • Passwordsafe for iPhone
  • passwordsafe for Windows
  • PowerGUI
  • PowerPack for Citrix
  • PowerPack for Terminal Services
  • Powershell GUI
  • Prevent Flash Autoupdate
  • profiles
  • Project Charles
  • Project VRC
  • Provisioning server for Datacenter 5.1
  • Provisioning Server for Desktops
  • psafe
  • PVS 5.0
  • pwSafe
  • QAT
  • QAT files do not roam
  • Redaction
  • Remote Admin Tools
  • Remote Administrator Toolkit
  • Remote Reset of IIS server
  • remove windows.old in windows8
  • Reset IIS Webserver Remotely with Citrix Xenapp
  • reset user sessions
  • Ripoff
  • roaming
  • Roaming Profiles
  • Run Delprof remotely
  • SBC Communities Link
  • SCAM
  • Screen Sharing
  • Server Core VHD
  • Services Pack 2
  • set default zoom level in Internet Explorer
  • Setting up a new PC
  • Short Code Providers
  • Short Codes
  • Shouting at hard disk
  • SlickRun
  • Snipping Tool
  • Snipping tool for windows xp
  • Snippy
  • Social Bookmarking
  • Sprint
  • Stallman
  • Stephen Colbert
  • stop adobe reader update
  • Stop Flash Autoupdate
  • Stop UAC
  • Suggested iPad Apps
  • Synctoy
  • The big Switch
  • THIN list
  • Thin List Archives
  • TSRunlogoff
  • Turn off UAC
  • TweakUAC
  • UAC
  • unable to load
  • Unable to log you on because your profile could not be loaded
  • Upgrade
  • User Account Control
  • Using PSexec to run a remote command on a Citrix Server.
  • Utility Computing
  • VDI
  • VECD
  • Veeam Software Monitor
  • VHD
  • VI3
  • Virtual Desktop Infrastructure
  • Virtual ISO
  • Virtual Machine Remote Control Client Plus
  • Virtualization
  • Vista
  • Vista Enterprise Centralized Desktop
  • Vista Monitor Resolution
  • Vista networking
  • Vista Resolution
  • Vista User Access Control
  • VMRCplus
  • VMware
  • Web Interface 4.5
  • Web Interface 5.01
  • Web OS
  • Windows 2008 Server with Hyper-V
  • Windows 7
  • Windows 8
  • Windows 8 Classic Shell Start Menu
  • Windows 8 Installation
  • Windows 8 Shortcut
  • Windows 8 Start Menu
  • Windows 8 Tips
  • Windows IT Pro ITTV
  • Windows Security Essentials
  • Windows Server Remote Destop Services 2008
  • Windows Terminal Services
  • Windows Vista
  • Windows XP Snipping Tool
  • WMI Script
  • Word
  • WSE
  • Xenapp
  • Xenapp 5.0
  • Xenapp 5.0 Web Interface Customization
  • XenappPrep Tool
  • XP Resolution
  • Yahoo Mail
  • zoom level default

Blog Archive

  • ►  2013 (2)
    • ►  July (1)
    • ►  March (1)
  • ►  2012 (6)
    • ►  November (2)
    • ►  October (2)
    • ►  September (1)
    • ►  January (1)
  • ►  2011 (3)
    • ►  October (2)
    • ►  September (1)
  • ►  2010 (3)
    • ►  October (1)
    • ►  April (2)
  • ►  2009 (15)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  March (2)
    • ►  January (8)
  • ►  2008 (114)
    • ►  December (5)
    • ►  November (7)
    • ►  October (15)
    • ►  September (13)
    • ►  August (12)
    • ►  July (4)
    • ►  June (13)
    • ►  May (20)
    • ►  April (10)
    • ►  March (9)
    • ►  February (4)
    • ►  January (2)
  • ▼  2007 (48)
    • ►  September (2)
    • ►  August (1)
    • ►  July (7)
    • ►  June (3)
    • ►  May (5)
    • ►  April (3)
    • ▼  March (11)
      • Jim at the Museum of flight during MVP Summit 2007...
      • New Utility from CTRL-ALT-DEL: ENVTSCIP
      • Download Pick of the Week: Unofficial Daylight Sav...
      • Bill holding up the podium...I was in the front row.
      • Yeah right I was on stage....(when no one was look...
      • He is the richest guy in the world but still a gee...
      • Here I am at the MVP Summit with Sean O'Driscoll
      • Tell us: What New features do you want in Terminal...
      • Download Pick of the Week: Unlocker.
      • CTRL-ALT-Del Releases Terminal Server Load Balanci...
      • Download Pick of the Week: More on US/Canada Time ...
    • ►  February (6)
    • ►  January (10)
  • ►  2006 (81)
    • ►  December (3)
    • ►  November (10)
    • ►  October (15)
    • ►  September (4)
    • ►  August (8)
    • ►  July (8)
    • ►  June (6)
    • ►  May (2)
    • ►  April (2)
    • ►  March (4)
    • ►  February (4)
    • ►  January (15)
  • ►  2005 (26)
    • ►  December (9)
    • ►  October (3)
    • ►  September (8)
    • ►  August (6)
Powered by Blogger.

About Me

Unknown
View my complete profile