Click here to Skip to main content
15,889,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
There is very interesting requirement from the client. Clients wants to maintain same instance of an application for all the windows LDAP users, when LDAP user logged in on their own session on same windows machine using their own credentials.
That means if suppose user 'A' is using one application on one machine and left the machine with locked position, and after that user 'B' comes and unlocked the machine by his own credentials then he can continue to use the application from the same state where user 'A' is left the application running.

What I have tried:

Trying to search for the solution available on the site, so far not seen any solution.
Posted
Updated 18-Feb-20 16:23pm

Windows doesn't support doing this. Supporting such would be a massive security risk.

The process is owned by and has a copy of the security token from the account that launched it. UserB will never have the same instance that UserA started. The process runs AS THE USER that launched it with the exact same security permissions. It's not possible for UserB to "take over" a process once it's been launched by UserA.

The only way this "requirement" is going to work is if all users on the machine use a shared ID and password.
 
Share this answer
 
About the only way to pull this off is to have a server based application and a (mighty) thin client running on individual machines, and utilize the "Machine" account
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900