Skip to main content
Support
Search our knowledge base

How do I activate my Educational license?

Comments

15 comments

  • JCS Unity

    This works well but the account used to activate the software is still logged in when the users open the software giving them access to change account settings. How do you log that user out so they can use the software in Offline Mode?

    0
  • Lily

    Hi there,

    Sorry to hear you are having some issues with your Educational activation.

    If you have activated with an admin account, you will need to locate the license file after activating and save it in a shared area for that machine.

    This means if a different user signs into the machine, the activation should be there and they will not need to be logged in with the admin account.


    License files are found here:
    * Windows: C:\ProgramData\Unity
    * Mac: Library/Application Support/Unity

    0
  • JCS Unity

    The software activates fine and any user can login and use the activated program. The problem I am having is that the admin account used to activate the program is still logged into the program and the students can click manage account and it takes them to the online account management page. I need to know how to sign out the admin account as part of the cmd line activation so the students use the program in "work offline", ie not able to access the Asset Store. I am using the below deployment guide and option 1 on the first page.

     

    https://unity3d.com/sites/default/files/unity-license-deployment.pdf

    0
  • South Kitsap HS Game Design

    @JCS Unity I noticed the same problem in my lab - but only on the one machine where I was logged in when the script to install the license ran. I was not left logged in to any of the other machines. Once I logged out of my Unity account on that one machine I was not logged in when I relaunched Unity.

    0
  • South Kitsap HS Game Design

    I used this PowerShell script to deploy licenses to the machines in my lab (running Windows 7). It is relatively easy and quick. Let we know if you have questions about the process:

    $Hostnames = cat $LabConfigDir\TargetMachines\hostnames.txt
    $Sessions = New-PSSession $Hostnames

    invoke-command -Session $Sessions -ScriptBlock { & "C:\Program Files\Unity\Editor\Unity.exe" -quit -batchmode -serial E3-AAAA-BBBB-CCCC-DDDD -username me@myschool.org -password guess }

    If you use this, make sure that the commands don't break across lines - there are only three lines above.  You'll also need to have a relatively recent version of PowerShell installed (it seems to be installed by default, but at least on Windows 7 the version needs to be updated - its a free download) and you may need to enable remote execution and allow scripts. You do not need to be logged in to the machines you are installing the license on.

    0
  • Christopher Palmer

    How can I tell whether a installation is activated after a network install? We live behind a proxy.

    0
  • LG Carreón

    Hi, my name is Laura Carreon, I  want to design a Unity day event at my university, and  I wonder how can I get some help from you, in order to have some workshops or lectures. I'm the coordinator of the 3D design and videogame program.

     

    Thank you

    Laura Carreón

    Universidad Incarnate Word Campus Bajío 

    Irapuato, Guanajuato, México 

    0
  • Chris Lemon

    I was running into a strange edge case that wasted a bunch of my time and wanted to leave a comment here for anyone who might run into this in the future.  I had a % sign in my auto generated password and it turns out that the percent sign is a special case in windows command line that will work just fine at a command prompt but will not run in a saved .bat file.  In order for it to run in saved .bat file you will need to type %%.  

    Found this info after an hour or two of trying to understand what was going on:


    The percent sign (%) is a special case. On the command line, it does not need quoting or escaping unless two of them are used to indicate a variable, such as %OS%. But in a batch file, you have to use a double percent sign (%%) to yield a single percent sign (%). Enclosing the percent sign in quotation marks or preceding it with caret does not work. (https://en.wikibooks.org/wiki/Windows_Batch_Scripting)

    0
  • Lauren Erardi

    Hello

    Can someone provide me with the command to do this on a Mac system? The only path you provide is for windows workstations.

    1
  • Yvan Cartwright

    Hi. We seem to be having an issue with using this method with the 2019.2.1 version (not tried other 2019 versions) but it worked with 2018.2. Has anyone got this working with 2019?

    0
  • ICT - University of Hull

    We're experiencing a similar issue as Yvan. When we try to activate 2019.1.5 it returns error level 1, which we believe is that Unity cannot retrieve a valid WinSAT assessment. Again the same command works fine with 2018.

    0
  • Computer Services

    Could you help please. I have a number of Mac labs that need the license activating. What would be the command line to do this, as the example you give above is only for Windows machines.

     

    0
  • Liam Powell

    Does anyone use this in a VDI environment? 

     

    We use Vmware Horizon and even though I can activate the license on the server the app is installed on, when the user goes to our app portal and runs the app it says the license is not activated.

    0
  • AIE Software

    Here is how we do it, within a user login script: https://gist.github.com/michaelp85/05ece28e3a959ffda008441774170dac

    Pre-reqs:

    • C:\ProgramData\Unity\Unity_lic.ulf has GPO applied permissions to allow our students to override the file.
    • You need to manually license Unity, and check the C:\ProgramData\Unity\Unity_lic.ulf file to see what your StopDate Value is for your serials.

    What the login script does:

    • Randomly assigns 1 of 2 serial numbers to unitySerialNum variable.
    • Checks the C:\ProgramData\Unity\Unity_lic.ulf and the StopDate (license expiration value)

    If the StopDate value is current, it does nothing.

    If it's something else, we blow away the current license and re-license via batch mode.

    If the Unity_lic.ulf file doesn't exist at all, we license via batch mode.

    We've got thousands of PCs, and so far this is the most reliable licensing mechanism we've found.

    0
  • Rory

    Hi AIE Software,

    Thanks for the detail process you have been using with the Educational License. Hope other users find it useful too.

    We wil have this process in mind.

    0

Please sign in to leave a comment.