Our connection to the EPDM server is automatic and is linked to the WINDOWS username, so that the connection is automatic when the PC starts.
I would like to be able to switch users quickly.
Currently when I disconnect, I am disconnected, but when I click on reconnect, it directly puts the normal user back without asking me anything.
Would it be possible to keep the auto connection at startup as currently but when I deco once I start be able to choose the user.
because currently I am forced to go to the EPDM administration and change the connection settings to be able to log out and choose the user, and once finished, go back to the administration and put back the default settings
Hello No, not possible, it's one or the other. For my part, I'm not in auto connection to be able to slip when I need to on another account to have the same settings as the users.
To automate, you have to create either a vba macro or a standalone program (there are examples on the API help). I don't have Visual Studio so I can't create an executable program. Stays macro in SW or Excel as you choose
If it's to manage the admin account, a trick would be to have this account connected on another machine (typically one of the EPDM servers). With the automatic remote connection (it can remember the MDPs), this would avoid the daily entry of identifiers.
I saw that when in the EPDM administrator I uncheck the automatic connection, the value in the " AutoLogin " registry goes to 0 and when I check it it goes to 1.
I found a script to disable the auto connection and one to reactivate it:
My value in the register is well taken into account and changes well. but when I look in the administration it doesn't change him, he's the one who takes over and therefore puts my 0 to 1 back when I want to log in again
Last question, when you connect to the registry is it under your user account? If not, you need to find the ID of the targeted user account. On the other hand, it seems to me that this parameter is not related to the session but to the workstation (it's a global setting)
Yes, I am under my user account. And yes you're right in the EPDM administration the automatic connection is a global setting for everyone, it's not linked to a user
So there must be keys in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SolidWorks \Application\PDMWorks Enterprise\ or directly in HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Application\PDMWorks Enterprise\