Your PCoIP session unexpectedly disconnect after 15 minutes

Your PCoIP session unexpectedly disconnect after 15 minutes


- Your PCoIP session unexpectedly disconnect after 15 minutes;
- Single sign on (SSO) is not operating properly;


a. You have manually edited the userinit string in the registry in one of your virtual desktops;
b. You have implemented a new Group Policy Object (GPO) that modify userinit;
c  You have just installed a new piece of software;
d. You have just installed a new piece of software that auto-protect userinit, such like Gbplugin (commonly used by banks in Brazil to protect financials operations throuth internet);


For the causes "a", "b" and "c" usually the VMware KB 1028975 should solve your problem.

For the cause "d" that won´t help you because that particular piece of software auto-protect userinit string changing his valeu to the same as fresh new windows instalation default:


As reported in VMware KB, VMware View agent change userinit string, so a normal userinit in a VMware View virtual desktop looks like this:

     C:\Windows\System32\userinit.exe, "C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe",

Probably VMware has not created wssm as a service, because it need to be started with the user credential.

To solve the problem, follow these steps:

1. Make sure that userinit in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon has the following value:


2. In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run create a new registry string value with the following caracteristics:
     Name: VMware View Session Manager
     Value: "C:\Program Files\VMware\VMware View\Agent\bin\wssm.exe"
This will ensure that in every login wssm will start with the appropriate credentials.

3. Restart VMware View virtual desktop and it is finished.

If you utilize View Composer, you can apply it to you master image or you can create an Active Directory Group Policy to do the job.
I have tested it in VMware View 5, but it probably will work on View 4+.
The virtual desktop I have tested is a Windows 7 Enterprise 32bit, but i think it will work on 64bit virtual desktops.

Guilherme Schäffer
Infiniit - Start Today
Version history
Revision #:
1 of 1
Last update:
‎12-07-2011 06:15 AM
Updated by: