# Autostart Plexconnect - Windows

**URL:** <https://forums.plex.tv/t/autostart-plexconnect-windows/36391>\
**Category:** Apps & Creations\
**Created:** [June 15, 2013, 12:54pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391 "2013-06-15T12:54:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakeshp](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@rakeshp](https://forums.plex.tv/u/rakeshp)\
**Post date:** [June 15, 2013, 12:54pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/1 "2013-06-15T12:54:50Z")

</div>

Hi

&nbsp;

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

---

<div class="post-metadata">

**Author:** ![bjorninge\_1](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@bjorninge\_1](https://forums.plex.tv/u/bjorninge_1)\
**Post date:** [June 15, 2013, 4:26pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/2 "2013-06-15T16:26:38Z")

</div>

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&nbsp;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.

---

<div class="post-metadata">

**Author:** ![Info\_johnschouten.nl](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/info_johnschouten.nl/32/4788_2.png) [@Info\_johnschouten.nl](https://forums.plex.tv/u/Info_johnschouten.nl)\
**Post date:** [June 23, 2013, 10:22am UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/3 "2013-06-23T10:22:40Z")

</div>

Thank You!!

---

<div class="post-metadata">

**Author:** ![Smorn82](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Smorn82](https://forums.plex.tv/u/Smorn82)\
**Post date:** [June 23, 2013, 10:29pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/4 "2013-06-23T22:29:40Z")

</div>

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 &nbsp;popping up, is there a way that it starts the process in the background, without the screen coming up?

---

<div class="post-metadata">

**Author:** ![krburrell](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@krburrell](https://forums.plex.tv/u/krburrell)\
**Post date:** [June 23, 2013, 11:32pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/5 "2013-06-23T23:32:17Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Smorn82](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Smorn82](https://forums.plex.tv/u/Smorn82)\
**Post date:** [June 24, 2013, 9:41am UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/6 "2013-06-24T09:41:08Z")

</div>

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.&nbsp;

---

<div class="post-metadata">

**Author:** ![Smorn82](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Smorn82](https://forums.plex.tv/u/Smorn82)\
**Post date:** [June 24, 2013, 10:16am UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/7 "2013-06-24T10:16:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:32pm UTC](https://forums.plex.tv/t/autostart-plexconnect-windows/36391/8 "2019-12-20T23:32:22Z")

</div>

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