Remote Desktop and Licensing

I wrote my own licensing scheme and I would like to know how to prevent multiple executions of my app. The licensing is on a per machine basis where it looks at the mac address of the computer to see if it's allowed to run. Because through remote desktop, the mac address for different users logged in simultaneously is always the same, I cannot prevent more than one user to run it at a time. I don't want complicated system session variables that have to be locked and unlocked, I just want to be able to detect, in the code, whether the user is connected to the machine through an rdp session or not. Thanks a lot.

So surely there's some kind of MS command you can execute to see what users have logged in and how? You've already taken the problem space outside of Java by being bound to a specific OS's command, so I think you'll have to continue along that path, or find a different solution.

Similar Messages

  • Apple Remote Desktop and controlling over VPN

    Hi All,
    I had a question about whether something was possible and if so if someone could point me to instructions/how-to on setting it up.
    I have three Macs I am administering. One is an iMac that stays in the office on the network. Two are MBP's. One is always at a remote location, the other comes in and out of the office. I work remotely administering the server and the three systems. I have the latest version of Apple Remote Desktop and obviously can access the server fine. I was wondering though if there is any way besides having the person give me their IP address every time that through the VPN I can see their system, then access it in Remote Desktop just like we are on the network together? Basically they connect to the network via VPN if they are remote and I do the same thing and then access their machine.
    I hope that makes sense. I went through different parts of the guide for ARD but didn't come across a method like that described in there.
    Anyone with opinions? Thoughts? Chants of I'm an idiot? haha
    Thanks

    Yeah for some reason I cannot get this to work right. Even if I scan the 5 VPN IP's I have setup I cannot see their machines when I am connected to the VPN. I tested it the other day by connecting one of the systems to an outside internet connection, then logged it into the VPN. I then connected my own to a different source and logged into the VPN, but Remote Desktop just won't find it.
    Just not sure why it doesn't work. I can see the computers on our internal network though, just not any connected via VPN.

  • Remote Desktop and Snow Leopard Server

    What is the best way to use Remote Desktop with Snow Leopard Server?
    I purchased a mac mini with snow leopard server and Remote desktop so I can easily manage my 11 computers, install and upgrade software etc. etc.
    The mac mini server will basically be nothing but a server.
    I will use as my main computer a mac pro. Do I need to install Remote Desktop on the server and on my mac pro? What is the best way to deploy the services of Remote desktop and mac os x server?

    You install Apple Remote Desktop on the machine you want to control from. In this case, install on your Mac Pro. All you have to do on the clients (controlled Macs) is enable remote management in the System Preferences under Sharing. Just make sure that all your controlled Macs are up to date on their ARD version (v3.3.2) which can be taken care of from Software Update.

  • Remote desktop and apache

    remote desktop and apache.
    There are times I feel that someone is looking over my shoulder, and changing my settings and controlling me.
    I would like to at least be able to communicate with them so I can ltarn. I also want to be able to monitor and have some say so as to what they are doing to my computer.
    Thank you

    Thanx for your reply.
    I should have stated that this is my personal computer and if any one should be the administrator I would think it would be me.

  • I don't have a wireless keyboard or mouse for my 2007 iMac, is there any way that can use remote desktop and access it from my 2010mbp.

    i don't have a wireless keyboard or mouse for my 2007 iMac, is there any way that can use remote desktop and access it from my 2010mbp

    Hi champrider,
    You can use an application such as Apple Remote Desktop to control your iMac remotely. See this article -
    OS X Mavericks: Allow access using Apple Remote Desktop
    This help page will provide you with some other useful resources for Apple Remote Desktop -
    Remote Desktop Help
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Apple Remote Desktop and WildBlue Excede

    I am trying, without luck, to get Remote Desktop to work with WildBlue Excede. Can port forwarding be established with their Surfbeam2 Satellite Modem? If so, what are the port numbers, and how is it done?
    Has anyone had success in setting up Apple Remote Desktop and WildBlue?
    WildBlue Technical Support said they do not provide static IP addresses, so it couldn't be done. Something tells me that is not true.
    Has anyone had any luck with WildBlue?
    Many thanks

    Hi Paul,
    Are you trying to connect to a computer that's connect to the internet with wildblue excede? or are you trying to connect to a computer some where else while your connect to the internet with wildeblue excede?
    Ether way, have you considered an altertive solution? For instance LogMeIn?

  • Only Remote-Desktop and Replication with 0.0 Reduction

    Hi guys,
    I have a solution with 16 WAAS 4.4.3 and I got good numbers in all default applications except Remote-Desktop and Replication
    ( All Traffic 53% of Reduction).
    I can understand not otimize Remote-Desktop Applications cause the customer is using Metaframe with crypto and already compacted and
    using too RDP with crypto/compacted.
    But in the Replication I would expect some gain in Active Directory and MS-FRS Replication.
    I got 0.0, Actually, the optmized traffic is biggest that the Original Traffic.
    I have to modify something in the Microsoft servers to be able to got reduction in Replication Application ??
    I'm using all the Default Classifiers in Replication Application
    Double-Take                            LZ+TFO+DRE       1100, 1105
    EMC-Celerra-Replicator            LZ+TFO+DRE       8888
    MS-AD-Replication1                 LZ+TFO+DRE       UUID:e3514235-4b06-11d1-ab04-00c04fc2dcd2
    ms-content-repl-srv                   TFO                     507, 560
    MS-FRS1                                LZ+TFO+DRE       UUID:f5cc59b4-4264-101a-8c59-08002b2f8426
    netapp-snapmirror                    LZ+TFO+DRE       10565-10569
    pcsync-http                             LZ+TFO+DRE       8444
    pcsync-https                           TFO                      8443
    rrac                                        TFO                      5678
    Rsync                                     LZ+TFO+DRE       873
    Thanks a Lot
    My Best Regards,
    Andre Lomonaco

    As you said, you need to only send the changes over the line.
    Java can not tell you what has changed, so you need to either write some JNI, or do a check on the current image, with the last image. (this would eat quite a bit of CPU time on the server).
    It might be worth looking at the source for VNC, and other simler products.
    The simpliest solution would be to split the image into blocks of x by y pixels, then do a pixel-by-pixel check on that block, and only send the block if it has changed.
    Next thing to think about is scrapping RMI, and using raw sockets. RMI has a fair sized overhead.
    Zipping a JPEG is unlikely to have any effect. A JPEG is already compressed.
    You might want to look at a lossless compression format, like PNG, as the JPEG will have articles. This might be acceptable. If so, changing the compression ratio of the JPEG might be an option.
    Finally, the bottle neck might be the call to Robot.createScreenCapture. This is not the fastest method.

  • Remote Desktop and Airport

    Dear All,
    I have an iMac which is connected to the internet via Airport Extreme, with no direct ethernet connection. I am trying to connect back to the computer via Remote Desktop and using the automatic IP address which is assigned. (Setings->Network)
    I cannot access this IP address via Remote Desktop. Any Ideas?
    Harry

    Harry Ringwood wrote:
    I have an iMac which is connected to the internet via Airport Extreme, with no direct ethernet connection. I am trying to connect back to the computer via Remote Desktop and using the automatic IP address which is assigned. (Setings->Network)
    I suppose you mean you're trying to connect to your Mac from outside your LAN. The address you see in the Network panel of System Preferences is a LAN address. To make what you want to do work, (1) from the remote computer you're going to have to specify the WAN address of the AirPort Extreme and (2) configure the AirPort Extreme (via port mapping) to pass the Remote Desktop signals to your iMac. To see the port mapping settings, in AirPort Utility look at the Advanced panel.

  • I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    I am accessing a windows server using remote desktop and I am wondering if I can transfer files by sharing drives?

    Probably. You may be able to use Finder > Go > Connect to server to access the server. You may be able to share folders using Remote Desktop too. Whichever one you like the best.

  • Server 2012 R2 Remote Desktop Services Licensing

    I currently have a single Remote App server running on server 2012 (not R2). Let's call it Remote1 for simplicity.  I want to add a second individual server (Remote2) running it's own connection broker, gateway and session host on one machine. 
    Is it possible to do this while having Remote1 acting as the license server or would I have to add Remote2 to the server pool acting as a session host only?  Would purchasing Remote2's own set of CAL's make this work?

    Is the license server and the session host in the same domain? You don't have to put Remote2 into pool where you have Remote1.
    They both can act as seperate entity as you said. But if the only need is to have remote1 as a license server for remote2 then you can use the following method to specify the license mode and license server on remote2
    Configure the Remote Desktop Session Host role with to use the localRemote Desktop Licensing server. Follow these steps:
    Open an elevated Windows PowerShell prompt
    Type the following command on the PS prompt and press Enter:
    $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    Run the following command to set the licensing mode:
    Note: Value = 2 for Per device, Value = 4 for Per User
    $obj.ChangeMode(value)
    Run the following command to replace the machine name with License Server:
    $obj.SetSpecifiedLicenseServerList("LicServer")
    Run the following command to verify the settings that are configured using above mentioned steps:
    $obj.GetSpecifiedLicenseServerList()
    You should see the server name in the output.
    Hari Kumar --- Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights

  • AWS Remote Desktop Services Licensing

    Greetings! This is my first to post, so please bear with me.
    Here is my scenario:
    My company has a number of Windows servers (company-owned hardware & OS licenses) in a server farm. My company has purchased User & RDS User CALs for all employees to be able to RDP into each server. Server licenses & CALs are all retail purchases,
    no Volume Licensing, no Software Assurance.
    The company has also purchased a VL w/SA Microsoft Office w/100 seats. I have installed Office on our servers for our users' use. 
    I know this configuration is compliant with Microsoft's License Agreements as we own the hardware and directly purchased the licenses.
    However, in addition to the server farm, my company has an account with AWS and wants to create several multi-user (via RDP) servers. Also, my company wants to install Office on the servers for our users.
    Here is my problem:
    I cannot find clear concise documentation from either Microsoft or AWS confirming the licensing requirements for my AWS scenario.
    I've found many blogs saying one could use the regular User/RDS User CALs purchased via VL or Retail.
    Alternately, I've found several other blogs talking about User/RDS User SALs (Subscriber Access Licenses) as the requirement since Windows is licensed from Microsoft via AWS through SPLA (Subscriber Provider License Agreement). 
    Are SALs included in my monthly payments to AWS? Where do I buy SALs? Does anyone have official documentation from AWS on this topic? The software vendor from which I purchased my company's VL Office has never heard of SALs.
    Additionally, I have not been able to find clear documentation regarding the use of Office on an AWS Windows instance. I know AWS supports LM (Licensing Mobility) for users with certain Volume Licensing agreements but LM only applies to Server Applications.
    Microsoft Office is a desktop application.
    Where can I buy Office for AWS instances? How do I license my users to be able to use Office on an AWS instance?
    I've contacted Microsoft and was redirected to AWS. I've contacted AWS but no one seems to know the answers. Is no one else asking these questions? Is no one else using AWS Windows-based servers in a multi-user environment over RDP?
    Any input on this topic would be very much appreciated.

    I'm doing some licensing audits now and the only thing I've found was a webinar by AWS dated February 27, 2012, so I don't know if it's still the most current information. Due to the fact that the Windows Server license is being offered through Amazon
    you would need a SAL in order to legitimately use any Remote Desktop Services, once you buy a SAL any existing user CALs you already have are now valid in AWS. The presenter goes on to say that Amazon would really like to offer SALs, BUT, unfortunately they
    do not. This then lead me to alternating paranoid speculation that Microsoft has put Amazons request to sell SALs into the nearest round file so that Azure would be more attractive and a superiority complex rampant with bitter hatred for Amazon's inability
    to make money that they would really like to make.
    There were a couple of things that seemed kind of odd about this to me. Any existing Server CALs you have are "instantly valid" for use in AWS, but you're RDS CALs are not. It seems to me since the non technical use of those licenses are nearly identical
    they should either both be valid or both be invalid for AWS use, so I guess this puts one more point in the hooray Microsoft column.
    Apparently I can't post links yet, but there is a page with some references to License Mobility in AWS and a link to the webinar at the bottom in the Licensing & Costs section. The page is aws dot amazon dot com slash Microsoft and the remarks regarding
    the RDS licensing are at the 15 minute mark of the webinar. Overall the webinar was generally more useful and less marketing than the page it's on, so if you plan to do anything with SharePoint, SQL Server or any other products it would be worth watching.
    Also, Amazon says there is no way to run any version of Microsoft Office in an AWS instance legally, maybe you could get by with Open Office? If you do find a way to run any RDS applications in AWS legally I would be interested to hear about how.

  • Remote Desktop and Remote Access

    I am a very new Mac user but have extensive PC experience. I work in the IT industry and I find the use of Remote Desktop very useful. How can I setup my Mac to be able to access it when I am not at home?

    What machine and operating system do you wish to access it from?

  • Remote Desktop and remote USB scanner

    Hello, We currently use NeatWorks to scan our company receipts and docs. Several of our employees access the NeatWorks database remotely, via a locally installed NeatWorks application, the connection we use to the file is the simple Finder 'Connect to Server'. Because NeatWorks is not networkable, we access it one at a time.
    The problem is the Neatworks database is huge, it can take 20 minutes to load remotely.
    Our solution to this would be to use Remote Desktop to access our server that has the application and database for a quick load. The problem is scanning.
    Can Remote Desktop connect to the users local USB scanner so that the scans go directly to the remote database? If not, is there any other elegant solution to this remote scan problem?
    We were hoping to find a networkable program to replace NeatWorks that wouldn't load the entire database, just an index perhaps.
    Thanks a million for any input!
    John

    Can the NeatWorks application on the server, see, connect to the USB scanner device on the user end.
    That would not be a function of Apple Remote Desktop. The NeatWorks software would need to have code to access a remote scanner, either natively or using the Scanner Sharing feature of Mac OS X 10.6 (if that will support the USB scanner you're using).

  • Remote Desktop and Doing System / Software Updates

    I am new to Remote Desktop.  I am starting to use it daily in my class room to share things with students and lock screens, etc.  Is there an easy way to do system updates and software updates (adobe flash player, java, etc.) without having to manually log in to each machine?  I have to believe there is a better way...could someone point me in the right direction?  Thanks!

    Oh, my version of Remote Desktop is 3.7.2

  • Shutdown a remote iMac using Apple Remote Desktop and Automator action

    Hi,
    I have my iMac and my wife's iMac connected to the same UPS. There is only one USB connector for the UPS that notifies my iMac when its time to shutdown due to a power cut out.
    Is there a way for my iMac to then send a command to my wife's iMac (which may be asleep; the iMac not my wife!) and instruct it to shutdown (forcefully)?
    The Belkin UPS software enables me to launch an automator action before it shuts down my computer.
    Your help would be appreciated,
    Tony

    Unless you already have Apple Remote Desktop, it will almost certainly be cheaper to just buy a second UPS for your wife's iMac than it will be to purchase ARD.
    If you do have ARD 3 already, then it looks like it would be possible to create an Automator workflow that would select your wife's iMac and then send the Unix command "shutdown" (look at the man page for shutdown for the usage). I haven't tried doing this, though, so I can't say for sure, but it looks like it would work.

Maybe you are looking for