Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

Use a batch file as the shell:

vm.bat

:START

{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 3d2f.com/programs/59-436-vbs-to-exe-download.shtml. 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

 
discard

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.