I would like to write a startup script that would perform it's task if it was run on the local machine, but not if it was called from a remote xrdp session.
Code:
If Local
{
do something
}
If remote
{
do something else
}
How would I identify if the session is locally started or remotely started?