In a recent post I explained how Windows Terminal Server logons can be sped up by removing unnecessary startup applications. Interestingly TS RemoteApp, the new Windows Server 2008 seamless windows mechanism, hardly suffers from this type of slowdowns. This is because TS RemoteApp has a much more significant limitation - it doesn’t actually run most startup applications at all. What this means is that you might install an anti-virus package or a backup utility onto your Terminal Server, and yet these applications may not function properly in the context of sessions created by TS RemoteApp. Obviously this can be a really big problem.
To understand why this happens lets turn again to the excellent AutoRuns utility from S
ysInternals. AutoRuns not only shows which applications and scripts run at system startup or logon, but also where they are registered to be run. For example, AutoRuns shows me that on my system nod32kui.exe, part of the NOD32 Antivirus System, is registered at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. This is a common location used by applications that register themselves to always run at logon for all the users on the system. Turning now to another excellent SysInternals utility, Process Explorer,
I can see that nod32kui.exe was launched by explorer.exe - Windows Explorer. This then is the root cause of the problem: Windows Explorer is not run at all inside TS RemoteApp sessions. As a result, nod32kui.exe will also not be run in such sessions.
Other popular locations that applications use to register themselves to be run at logon are the common and personal Startup folders. Files placed into these folders are also executed by Windows Explorer when it starts up. Consequently such applications will also not be launched during logon to a TS RemoteApp session.
How can you overcome this limitation? As this time there are only four possible solutions:
- Don’t use applications or scripts that need to run at logon
- Don’t switch over to Windows Server 2008
- Use a different mechanism to run your startups, one that does not rely on Windows Explorer, such as Group Policies
- Use Ericom PowerTerm WebConnect on Windows Server 2008



4 comments:
RemoteApp does seem to run logon scripts and executing your anti-virus program, which frankly is the only real auto-start program that I care about, via the users' logon scripts works. I would rather go through this one time additional step of putting anti-virus launches inside logon scripts than having random junk launch along with the one remote program, say Microsoft Word, that I had requested to be launched via RemoteApp. It looks like a balance between maintaining seamlessness and keeping users secure.
Anon,
I definitely agree that many startup applications are not required, especially in a TS environment. This was the reason I published a post titled: Improve Logon Time by Removing Unnecessary Startup Applications. At the same time, I don't think that simply not running such startups at all is the correct approach. Imagine that Microsoft would have made this the behavior in Vista, and neglected to inform anyone.
In PowerTerm WebConnect we provide a flag that disables running such startups, but by default this flag is off. In general we recommend that sysadmins review their startups and explicitly remove those they don't need. At the very least, this results in the sysadmins understanding their systems better.
China Wholesale has been described as the world’s factory. This phenomenom is typified by the rise ofbusiness. Incredible range of products available with China Wholesalers “Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that wholesale from china from China means margins you cannot find elsewhere and buy products wholesaleChina Wholesale will skyroket your profits.
wedding dresses
cheap naruto cosplay
anime cosplay
Women’s nike tn Shox Rivalry est le modèle féminin le plus tendance de baskets pour le sport. tn chaussuresConcernant la semelle :Cheap Brand Jeans Shop - True Religion Jeans nike shoes & Puma Shoes Online- tn nike,Diesel Jeans le caoutchouc extérieur, l’EVA intermédiaire Levis Jeanset le textile intérieur s’associent pour attribuer à la.ed hardy shirts pretty fitCharlestoncheap columbia jackets. turned a pair of double plays to do the trick.Lacoste Polo Shirts, , Burberry Polo Shirts.wholesale Lacoste polo shirts and cheap polo shirtswith great price.Thank you so much!!cheap polo shirts men'ssweate,gillette mach3 razor bladesfor men.As for Cheap Evisu Jeans
Cheap Armani Jeans
Post a Comment