The following article shows how to run multiple instances in multiple User logins in Windows. Take into account that this option is recommended strictly for Analyse mode. To run Dewesoft use explicitly Run_Dewesoft.exe file. Follow the instructions on how to create it. 


At first, add user exclusions in Windows settings as shows the following screenshots. Please note that restarting the PC/Server is needed afterward.


Make sure the Settings ''Allow multiple instances of Dewesoft'' are enabled.


Edit the attached Run_Dewesoft.ps1 file and afterward create Run_Dewesoft.exe file to run the Dewesoft. This script verifies that Dewesoft uses the project which relates to the Virtual machine's User currently logged in and create a new project if the user does not already have their project file. If more that one Dewesoft changes the same project file at the same time, it means conflict and may cause an Error. Run_Dewesoft.exe file prevents these conflicts as each User login uses its own Project file to run Dewesoft. So every User uses only his own project file that consists of "username.dxp"

The following steps refer to the changes in the attached files.


1st step 

Use Editor (Notepad++) to modify the code of the script. Change the paths to the Project file and to the DEWEsoft.exe file: 


2nd step

Extract the attached PS2EXE-GUI.zip and use the Win-PS2EXE.exe program to create an executable file. Source file represents changed Run_Dewesoft.ps1 file. The target file is custom-named with .exe extension. For Icon file use attached Dewesoft icon. 

 

3rd step 

Create Run_Dewesoft.exe executable file and allows access to all users of the machine. From now on use explicitly certain files to run Dewesoft and do not change the project file while using Dewesoft.