I have a Windows Server 2008 64 bit machine, and there is one program that is set to run on startup (shortcut placed in the Startup folder). So whenever a user logs in, the application starts up.
However, since this is a server, we have several users logging in via remote desktop, and (I believe) the application is started up for each user, resulting in multiple instances.
Now each time the application runs, it downloads some data from an external buffer via the LAN. These are call records for our telephone system. But because we have multiple instances running at the same time is causing problems and inconsistencies with the data.
Is there a way to force the Windows to run only one instance of the application? Alternatively, could this application be made to run as a Windows Service instead?