Hi I am working on job for a client (on a vista box) and I am in need of assistance.
Objective:
Have a profile called win98 that when users log on to this profile a vmware workstation is launched automatically with win98 installed. When the users shutdown the virtual machine I would like the profile to be logged off immediately. Also the users shouldnt have access to any other items within the profile.
So I have used a combination of Parental Controls (to restrict users accessing other applications) and a batch file ( that launches the virtual machine)
The contents of the batch are similar to below:
“C:\Program files\Vmware\Vmware Workstation\Vmrun” -T ws start “C:\win98image.vmx”
The problem I am working on at the moment is forcing a logoff when the Vmware workstation is shutdown.
I have tried adding a line to the batch file as follows:
“C:\Windows\System32\logoff.exe”
The problem with this parameter being that vista will launch the workstation but then attempt to logoff immediately.
Can anyone offer any assistance or perhaps suggest a better method if they have performed a similar action?