Announcement

Collapse
No announcement yet.

3.10.01 Max2015 service installation issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 3.10.01 Max2015 service installation issue

    Hi,

    We're experiencing a strange problem with VRay 3.10.01 for 2015 that means when trying to install the VRay spawner 2015 as a service it now asks for a password, even if we are executing the vrayspawner2015.exe as an Administrator (or even seemingly even as the SYSTEM user).

    Opening a command prompt with elevated privileges and entering;

    "C:\Program Files\Autodesk\3ds Max 2015\vrayspawner2015.exe" -service

    Results in a dialog popping up asking for username and password credentials. This means that when we run our unattended installation of the VRay service it fails, as it waits for user input, receives none (as it is running unattended) and then times-out.

    Strangely, this behavior does not happen with 2014.

    Opening a command prompt with elevated privileges and entering;

    "C:\Program Files\Autodesk\3ds Max 2014\vrayspawner2014.exe" -service

    Works fine and the service is installed.

    Is there are reason why the 2015 service asks for a username/password even when it has elevated permissions, whereas the service for 2014 doesn't? Would be greatly appreciated if the behavior for 2015 could be the same as 2014 for this, because at the moment we can't actually deploy 3.10.01 for this reason. 3.00.08 worked fine in this regard for us for both 2014 and 2015.

    kind regards,
    Tristan.

  • #2
    Hello,

    Yes we made the spawner for Max 2015 ask for password even if run with elevated permissions. This is because it must create a service for a specific user. The default behavior was to create the service and run it from the Local service account but there is some issue with Max 2015 and it won't start this way.

    To do an unattended installation there are two ways around this:
    - Add -quiet to the command line - this will install the service from the Local Service Account and won't ask for username/password. Then you will need to set a real user for the VraySpawner2015 service to use it
    - Add params "-username=..." and "-password=..." (without the quotes) to the command line - this will try to use the supplied username/pass to register the service.

    Best Regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      Hello

      Two notes I forgot:
      - if the user name or password contains spaces it must be in quotes. For example: -username="Yavor Rubenov"
      - If the user is part of a domain - it must contain the domain too: -username="DomName\Yavor Rubenov". If the log file for the spawner (located in %temp%) contains messages like:
      *** ALERT! Couldn't create service: The account name is invalid or does not exist, or the password is invalid for the account name specified.
      and there is no domain you could try adding ".\" to the user name: -username=".\Yavor Rubenov"

      Best Regards,
      Yavor
      Yavor Rubenov
      V-Ray for 3ds Max developer

      Comment


      • #4
        Hi Yavor,

        Thanks so much for the explanation and solution. Adding -quiet will work for us fine I believe as we set a real user for the service after installation anyway.

        Thanks again,
        kind regards,
        Tristan.

        Comment

        Working...
        X