Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

RC desktop need to be launch at windows startup

Open Sicoval31 opened this issue 5 years ago • 6 comments

Hi, when installing RC desktop manually, an option permit to launch the app at windows startup. when installing via GPO (it's work fine), i can't manage this option anywhere. No registry entry find. No option in the application (even the final user can't choose that .... why ?).

so, where can i find the option to authorise or not the RC desktop to be launch when windows start ? (I know, i can put he link in the windows/startup folder, but the manual installation doens't do that !)

thanks for your help

Sicoval31 avatar Oct 15 '19 12:10 Sicoval31

How do you install it with GPO if i may ask?

And i would also be interested in enabling mandatory startup if installed via GPO

CitizenDev avatar Oct 17 '19 09:10 CitizenDev

I don't manage the AD and GPO directly, but ... We use 3 files : the rocket.chat isntall.exe, the servers.json file to automatically use our rocket.chat server and a .bat files that launch the install. the GPO copy the .exe in c:\temp on the local PC and launch the .bat file. then, copy the servers.json in c:\program files\rocket.chat\resource

the .bat : c:\temp\rocketchat-setup.exe /S /allusers

the servers.json { "COMPANY": "http://URL of my rocketchat server" }

all information on github, here ;)

Sicoval31 avatar Oct 18 '19 08:10 Sicoval31

We ran into a similar problem. When you deploy RC via command / script it lacks the autostart switch. A simple workaround is to create a link to the rocketchat.exe in "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" (autostart for all users) or in "C:\Users\YOURUSER\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" (autostart for currently logged in user / a specific user). Since you do know about these folders and since you're using a batch file, you can automate it (mklink is your friend ;) ), so there's no problem imho. :D

aimador avatar Nov 07 '19 12:11 aimador

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.

Thank you!

jeanfbrito avatar Jan 12 '22 00:01 jeanfbrito

the last version didn't resolve that because there is no flag in auto install to add the autostart option !

Or no communication on this features !!!!

Sicoval31 avatar Jan 12 '22 08:01 Sicoval31

My 2 cent: Directory c:\program files\rocket.chat\resource has changed to resources.

springfeld avatar Jun 15 '23 06:06 springfeld