How-To Make XPe a View Appliance

Background:
I had a need recently to modify the behavior of a Windows XPe (embedded) device to act as a VMware View Appliance. The goal was to end up with a device which would boot and launch the View Client connect to the View Manager and challenge the user for their ID/Password. Then connect to a specific virtual desktop.

Some devices have a wizard for configuring exactly this behavior, however the device I’m working with seems to have no such feature.

This is just a little diferent from the ‘kiosk mode’ feature of View in that the View Client does challenge the user for their credentials rather than having the login credentials stored/passed to it.

Note, a variation on this idea could be used to make a repurposed desktop act as an appliance for either View or XenDesktop.

This could also be made a little prettier by using a .vbs script and wscript rather than the .bat file and cmd.exe.

Solution:
1.) Disable File write filter
2.) Write batch/cmd file which launches View Client with appropriate parameters in a loop (points to VMware – View client accepts USB pass-through and desktop to launch from the command line).
3.) Modify for the auto-login user – hkcuSoftwareMicrosoftWindows NTCurrentVersionWinLogonShell to launch the batch/cmd file. You can do this using the ‘load hive’ feature of regedit running as the admin user.
4.) Logout as admin, let the auto-login login as user – test, test, test.
5.) Modify CMD launch properties to minimize the cmd window size.
6.) Kill the CMD process
7.) Logout of ‘user’ session (ctrl-alt-del)
8.) Enable File write filter

End result:
When the user logs in explorer.exe is never launched, and the view client presents it’s login challenge. When the view session terminates the .bat file re-launches the view client … forever.

Contents of Command file:
REM – ViewAppliance Shell Script
ECHO OFF
:START
C:Program FilesVMwareVMware ViewClientBinwswc.exe -serverURL ViewManager -desktopName Destkop -connectUSBOnInsert true -connectUSBOnStartup true
goto START

Denver Citrix User Group meeting Feb 2, 2011

http://emart.citrix-usa.com/communications/request/c/2937/index.html

Date

February 2, 2011

Time

2:30pm – 6:30pm

Location

Dave & Busters

2000 South Colorado Blvd Denver,CO 80222

 

Citrix recently held a Tron Legacy Desktop Virtualization event “Virtual Desktops: From Wow to How”. Now you can hear from Citrix customers how they moved their application and desktop virtualization projects from an idea to reality.

Please join Citrix, AppSense and triCerat at our upcoming User Group in Denver to discuss how you can go from Wow to How.


Citrix XenDesktop 5 is released to web

Citrix XenDesktop 5 has been released to the web this weekend.  If you would like to learn more be sure to come to our TRON movie event on December 17th! http://blog.lewan.com/2010/11/29/come-see-tron-with-me-and-see-citrix-xendesktop-5/

I’ve written a few first impressions of the product here http://danbrinkmann.wordpress.com/2010/12/05/citrix-xendesktop-5-first-impressions/

 

Come see TRON with me…oh and see Citrix XenDesktop 5 too!

Learn How to jumpstart your desktop virtualization at a special event for IT professionals.

Register for “Virtual Desktops: From Wow to How,” an exciting multimedia event exclusively about virtual desktop computing. Full of practical information, this two-hour session features:

  • A real-world demonstration showing how desktops and apps can be delivered as a service to any user, on any device. It’s truly amazing!
  • An insider’s look at the exciting new features of Citrix XenDesktop 5 — and how it benefits both users and you
  • A deep-dive break-out session with your peers on how to get started, plus best practices from virtualization experts
  • An exclusive, private screening of the new TRON: Legacy movie premiere!

Register today and get a chance to win an iPad or a Dilbert® cartoon signed by Scott Adams

http://www.registerandcompute.com/FromWowtoHowLewanDenver