Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a wyse terminal (thin client) with xpe. I have disabled explorer in registry and replaced the shell with the vm client so at startup it looks like a windows logon but its VM view client instead. This all works well however when I log off it just goes to a blank desktop (because there is no explorer). Is there a way to get the vm view client to load straignt into the logon screen once the previous session logs off?

share|improve this question
up vote 1 down vote accepted

Use a batch file as the shell:



{vmclient.exe} (use whatever the real filename is)

goto START

That way it keeps restarting after it is terminated.

share|improve this answer
Good idea, cheers will try that out and post result – JohnyV Jun 10 '09 at 8:43
It worked well I want the batch file to run invisible. I found a w script command however how can I execute a wscript in a file so that I can point the wscript to the shell? – JohnyV Jun 10 '09 at 22:26
This is the script I want to run wscript "E:\downloads\invisible.vbs" "E:\downloads\vm.bat" – JohnyV Jun 10 '09 at 22:27
I found a way to do it. I have this script called vm.vbs containing CreateObject("Wscript.Shell").Run """" & "C:\vm.bat" & """", 0, False it calls the vm.bat that you wrote. :START /MIN cd\ C: cd program files\VMware\VMware View\Client\bin\ wswc.exe goto START Then I got an application called Vbs To Exe 1.1 available for free from I then created VMshell.exe using that app and now I use that as my Shell. Thanks for you help much appreciated. – JohnyV Jun 11 '09 at 0:56
Awesome, glad that worked! – Tim Green Jun 11 '09 at 5:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.