The Kenzig

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

Friday, September 9, 2005

On rebasing and other fun stuff

Posted on 6:11 AM by Unknown
I wrote this article last month to contribute to the RTO Newsletter. They haven't published it as yet (and I am not sure if they will) But here it is in all its glory:
 
Server Rebasing:

Many years ago when Server Based Computing was still in its infancy I had the opportunity to get to know a guy named Kevin Goodman.  At that time he had been working for a company called SoftBlox and had helped write a cool set of utilities called Appscape that he wanted me to look at. One of the utilities was a way to disable the X close from an application. SoftBlox went by the wayside but I maintained (and still do) the utilities that they had me distribute free for them when they were sponsoring my site at http://thethin.net/appscape.zip. Incidentally if you now want to prevent users from clicking on the X and closing the RDP client take a look at this FAQ item I created at: http://thethin.net/faqs2.cfm?id=468&category=1 of an interesting way to do it.

 

Upon leaving SoftBlox, Kevin along with Bernd Harzog, approached me with a project he had been working on.  He explained to me about the memory problems inherent with the loading of an applications dynamic link libraries (dll’s) multiple times within the Terminal Services Environment. He had an idea of a utility to fix the problem and asked if I would help test it out and give him some feedback. We did a case study with the library I work for about our success of the product (http://www.rtosoft.com/documents/casestudies/CCPLCaseStudy.pdf ) and I became one of Kevin’s first customers. A few months later, Kevin started Kevsoft and named the product TScale, which was renamed RTOSoft Tscale a few years later, then Citrix purchased the technology to add to Citrix Presentation Server 4.0 and now the rest is history. Kevin is now the CEO, Founder, and VP of development of RTO Software. 

 

What made me reminisce about this was Kevin’s recent Pod cast interview with Brian Madden. (http://www.brianmadden.com/content/content.asp?id=483) While listening to the interview Kevin mentioned the term rebasing of dlls, which is the magic that Tscale does and also mentioned several utilities, one of them being the Microsoft utility called Rebase.exe which piqued my curiosity. In the interview Kevin gives a very concise description of the rebasing technology behind Tscale and it really is worth giving it a listen. 

 

In simple terms, the problem Tscale solves is one that is not exclusive to the Terminal Services environment but is exacerbated by it. When any windows application loads, it starts along with it, several dll’s.  These dll’s are loaded into a fixed location in upper memory. The problem comes from when a user goes to load another application and that application wants to load its dll’s into the same memory space as an application that you have already loaded. This results from either poor programming or multiple instances of the application running.

 

So what happens when you are running the SAME application multiple times as you do in the Terminal Server environment? The answer is that the dll’s try to load over the top of each other and cause what is known as a race condition. It basically causes the CPU of the server to go nuts. The solution that Kevin found?  Effectively rebase, or in effect move the dll’s in real time to an open portion of memory.  Thus Tscale was born.

 

If you are an application developer or tinkerer you can attempt to rebase your DLL’s using the Microsoft Rebase.exe tool found in the Server 2003 SDK available for download at: http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en More information about the rebase.exe tool can be found here on the Microsoft MSDN site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/rebase.asp

 

However this material is not for the faint of heart and if you want to manage you’re applications in the most efficient way via a graphical interface, buying TSCale is the best way that I know how to do it and requires a whole lot less work!

 

Jim Kenzig

http://thin.net

Copyright 2005

 

 

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)
    • ►  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)
      • Is WinFX(Windows Presentation Foundation)Express A...
      • 9/11 Remembrances
      • Jim Kenzig CEO The Kenzig Group chosen as VIP for ...
      • On rebasing and other fun stuff
      • After the Storm, the Swindlers
      • One more about forecast of New Orleans disaster
      • The pda screen of the future...The Rollable Display
      • Our government fails us again
    • ►  August (6)
Powered by Blogger.

About Me

Unknown
View my complete profile