# Plexconnect.py closing immediately

**URL:** <https://forums.plex.tv/t/plexconnect-py-closing-immediately/52605>\
**Category:** Apps & Creations\
**Created:** [January 4, 2014, 3:03am UTC](https://forums.plex.tv/t/plexconnect-py-closing-immediately/52605 "2014-01-04T03:03:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlmcdowell](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@rlmcdowell](https://forums.plex.tv/u/rlmcdowell)\
**Post date:** [January 4, 2014, 3:03am UTC](https://forums.plex.tv/t/plexconnect-py-closing-immediately/52605/1 "2014-01-04T03:03:12Z")

</div>

Following the install guide, when I came to launching plexconnect.py, a dos window would open for a second and close. There was no firewall exception request, no log file was created, and no plexconnect.cfg.   
  
  
After lots of re-tracing my steps, still no go, until I manually opened a cmd window, and opened plexconnect.py by browsing to the dir. Then it stayed open, I was able to finally install the profile, and everything worked. I tried shutting down the plexconnect server and launching by double clicking the .py file, but still no go.   
  
  
But, I want to be able to launch plexconnect.py at startup, and I can’t since I have to open a cmd window

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [January 4, 2014, 3:57am UTC](https://forums.plex.tv/t/plexconnect-py-closing-immediately/52605/2 "2014-01-04T03:57:51Z")

</div>

I suggest you provide all details asked for in the "Read Be3fore POsting" troubleshooting section so we know exactly your Operating system etc.

but if ytou are runnign windows 7 I would ask the following;

Do you have the path to Python set correctly in the syetm variables?

Have you tried starting it via a&nbsp; .bat file on startup (Thus it opens the command window first).

---

<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 21, 2019, 12:54am UTC](https://forums.plex.tv/t/plexconnect-py-closing-immediately/52605/3 "2019-12-21T00:54:54Z")

</div>

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