Does each user logged in to Microsoft RDP server have his/her own clipboard?

LabIntegrity 21 Reputation points
2022-07-27T13:24:56.067+00:00

I have a Windows Forms software application developed in VS 2019 (VB) called StudyDoc that automates Microsoft Word. There are many instances in which the code uses the clipboard (e.g. Clipboard.SetText(strC) where strC = some content). I want to implement this application in the cloud on Microsoft RDP server in which several users can be logged in at once to the same server and open separate instances of StudyDoc. I'm afraid that if several users have executed simultaneously any feature that creates a Word document (and, hence, uses the clipboard), that there is the possibility that the clipboard will contain someone else's content. So I'm wondering if each user has his/her own clipboard? Or is the clipboard shared among all users? Thanx!

Microsoft 365 and Office Development Other
Developer technologies Visual Basic for Applications
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Philippe Levesque 5,836 Reputation points
    2022-07-27T13:29:52.52+00:00

    Hi, the clipboard is different for each users, they got their own, and each sessions are isolated to prevent data leak.

    Make sure the application use the clipboard in a multi-session approach, like just reading it. If you read the clipboard to save to a file, sql, etc.., and later on your service reuse that variable under another user instance, it's where the data can be shared.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.