VMware View Client as a shell for XPe and XP Pro clients

Using the Win32 View Client on XPe or XP Pro will allow you to use the full featured View client with all the bells and whistles.  The problem is that it’s still XP and can be confusing to your users to have them log into one desktop just to send them to another virtual desktop. So how can we fix that? If you replace the shell with the View client you can eliminate the XP desktop and on a boot of the client the only interface presented to a user is the View Client. This makes logging in simple and clean. The problem with just replacing the shell with the View client is that once the user exits, logs out, or just accidentally closes the client, It  will not start again automatically. Below is a way to have the Client restart automatically and hide the needed command window.


The following instructions will hide the XP  desktop and present the user with just the View client and will restart if it gets closed. This was done on an HP t5730 Thin client but the process should be the same for most XPe Thin clients and even a repurposed XP Pro desktop.


Create a View.cmd file with the following.


@echo off

:View

“C:\Program Files\VMware\VMware View\Client\bin\wswc.exe”

goto View


Place it where ever you like,  c:\BatchFiles for example


Create a vbs script with the following in it. Place it wherever you like C:\BatchFiles for example.


Set WshShell = CreateObject(“WScript.Shell”)

WshShell.Run chr(34) & “C:\BatchFiles\view.cmd” & Chr(34), 0

Set WshShell = Nothing


Open Regedit and go to ;


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon


Change Shell from explorer.exe to the new shell path and the Windows Scripting  command,  e.g  wscript c:\BatchFiles\view.vbs


Commit the changes to the flash drive if using XPe.


ewfmgr  c: -commit


Reboot. Enjoy the new View only interface!

Once this is done there will be no desktop for any users, including Administrator. You can still get to the Task Manager with a CTRL-ALT-DEL but the interface is gone. You can modify the Registry setting to use a specific user by logging in as that user and modifying HKEY_CURRENT_USER instead.

4 Responses to “VMware View Client as a shell for XPe and XP Pro clients”

  1. VMware View “Embedded” Mode « Matt Hensley’s Blog Says:

    [...] http://hyperinfo.wordpress.com/2009/06/26/vmware-view-client-as-a-shell-for-xpe-and-xp-pro-clients/ [...]

  2. Arjun Venkatraman Says:

    Saw a whole product that does just this at BriForum last week…ThinLaunch seems to do exactly this. Wonder if they’ve seen this post

  3. Kevin Hodges Says:

    We have tested this and it works great. But we noticed that if a user presses the minimize button in the View Client, that there is no way to get it back open. Since there is no shell, there is no way to get the window maximized again. Is there a way to stop this behavior or a work around?

    • arjanhs Says:

      What you can use is instructing the user to press ctrl-alt-del and select logoff the automatic logon proces will proceed with starting the View Client again, we used this before used this script. But users get confused when getting a blue screen.

Leave a Reply