Autostart Plexconnect - Windows

Hi

 

This maybe a simple question but how do I automatically start PlexConnect on a Windows PC so I dont have to manually start it?

Create a file "start-plexconnect.bat". Add the following text:

c:\python27\python -b C:\yourPathToPlexConnect\PlexConnect.py

Save it, then go the control panel->administrative tools->scheduled tasks.

Add a new simple scheduled task.

Trigger: When I log on

Action: Start a program

Add the full path to your start-plexconnect.bat file.

After creating the task, right click it and choose properties. Under general, make sure the following:

Only run when the user is logged on should be checked

Run with highest privileges should be checked.

Thank You!!

Hi there, i have set it up according to the above and it seems to work. Unfortunately I still have that ugly taskeng.exe window  popping up, is there a way that it starts the process in the background, without the screen coming up?

Add "start /min" to the front of your bat file text

start /min c:\python27\python -b C:\yourPathToPlexConnect\PlexConnect.py

I must be doing something wrong.

Originally I created a scheduled task which started the plexconnect.py file via python.exe automatically. The start-plexconnect.bat file is saved on the harddrive but nothing is making use of it I think. How do I make use of the .bat file.

I tried a scheduled task and directed it to the.bat file instead. I see the black screen coming up just for an instant but it disappears. Do i have a mistake in the wording, is the wording above correct, should the .bat file work already by double clicking on it, is the location of the .bat file important?

I guess what I am after is a step by step guide how to launch plexconnect automatically without a screen pop up and after internet and plex media server is up and running. 

Found the issue!!! The path of the plexconnect.py which I entered in the .bat file had spaces between words and that caused the file not to start.

Moved the 'plexconnect-xml_templates' folder out of the 'Program Files' folder into C: drive only hence no spaces and voila it worked.

Don't forget to adjust the task scheduler to the .bat file location.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.