Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Register V-Ray render servers as service

 

...


Tabs Container
directionhorizontal
Tabs Page
titleRegister V-Ray DR Server


 

You can register the V-Ray spawner service so that it runs automatically on Windows boot from the Windows Start > Programs > V-Ray for 3ds Max #### > Register as a service the V-Ray spawner for 3ds Max ####.


When registering the V-Ray DR spawner for 3ds Max as a service, it always asks for a Username and Password. This means that additional commands need to be added if you want to do that on multiple machines through an unattended install. There are two different approaches:

 

  1. Add "-quiet" to the command line - this installs the service from the Local Service Account and does not ask for username/password. Then you need to set a real user for the VRaySpawner#### service to use it.


Example

For 3ds Max 2021 and earlier: "C:\Program Files\Autodesk\3ds Max ####\vrayspawner####.exe" -service -quiet

For 3ds Max 2022 and above when installed for all users: "C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax####\bin\vrayspawner####.exe" -service -quiet

For 3ds Max 2022 and above when installed for the current user: "C:\Users\<user_name>\AppData\Roaming\Autodesk\ApplicationPlugins\VRay3dsMax####\bin\vrayspawner####.exe" -service -quiet

#### is the version number of your 3ds Max.

 
Tabs Page
titleV-Ray GPU DR Server


You can register the V-Ray GPU render server as a Windows service so that it runs automatically on Windows boot from the Windows Start > Programs > V-Ray for 3ds Max #### > Register as a service the V-Ray GPU render server for 3ds Max ####.

UI Text Box
typenote

It is possible to use V-Ray GPU as a Windows service only with a CUDA-capable GPU with appropriate drivers. For more information, see V-Ray GPU Setup page.

 


When registering the V-Ray GPU render server for 3ds Max as a service, it аlways asks for a Username and Password. This means that additional commands need to be added if you want to do that on multiple machines through an unattended install. There are two different approaches:

  1. Add "-quiet" to the command line - this installs the service from the Local Service Account and does not ask for username/password. Then you need to set a real user for the VRayStdSpawner service to use it.


Example

For 3ds Max 2021 and earlier: "C:\Program Files\Chaos Group\V-Ray\3ds Max ####\bin\vraystdspawner.exe" -service -quiet

For 3ds Max 2022 and above when installed for all users: "C:\ProgramData\Autodesk\ApplicationPlugins\VRay3dsMax####\bin\vraystdspawner.exe" -service -quiet

For 3ds Max 2022 and above when installed for the current user: "C:\Users\<user_name>\AppData\Roaming\Autodesk\ApplicationPlugins\VRay3dsMax####\bin\vraystdspawner.exe" -service -quiet

#### is the version number of your 3ds Max.

...

UI Text Box
typeinfo

- if the username or password contains spaces it must be in quotes. For example: -username="John Smith"

- If the user is part of a domain - it must contain the domain too: -username="DomName\John Smith".

- 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 username: -username=".\John Smith"

...


Mapped Drives and UNC Paths for Texture Maps and Other Rendering Assets

...

UI Text Box
typetip

For a troubleshooting guide, visit the Distributed Rendering Troubleshooting Guide.