# Cannot Upgrade to 64 bit - Python27.dll errors

**URL:** <https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [April 4, 2023, 6:59pm UTC](https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733 "2023-04-04T18:59:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MelbourneFL](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@MelbourneFL](https://forums.plex.tv/u/MelbourneFL)\
**Post date:** [April 4, 2023, 6:59pm UTC](https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733/1 "2023-04-04T18:59:40Z")

</div>

Server Version#: PlexMediaServer-1.32.0.6865-ba892e5ce-x86\_64.exe  
Same errors with many previous distributions too, most recently: 1.31.36868, 1.30.2.6563

Long time plex user here, since before it was cool. I’ve never had these kinds of issues before. now.

My problem is that I cannot upgrade to a 64 bit install. No matter what I try and what I try to fix in Windows 10 (updates, refresh install, DISM, sfc /scannow, et cetera and ad nauseum) , after trying to install ANY x64 version it always ends up looking okay (after the initial database refresh wait thing) but after, I cannot access any server settings.and most items will not play. I end up reverting back a to 32-bit install to get it working.

I also always end up with this error (from event viewer):

* * *

Faulting application name: PlexScriptHost.exe, version: 0.0.0.0, time stamp: 0x6410c37e  
Faulting module name: python27.dll, version: 0.0.0.0, time stamp: 0x6410c35b  
Exception code: 0xc0000005  
Fault offset: 0x000000000015e601  
Faulting process id: 0x1838  
Faulting application start time: 0x01d966e7781cf52a  
Faulting application path: C:\Program Files\Plex\Plex Media Server\PlexScriptHost.exe  
Faulting module path: C:\Program Files\Plex\Plex Media Server\python27.dll  
Report Id: 71169b25-8049-4397-824b-fa89e704ac22  
Faulting package full name:  
Faulting package-relative application ID:

* * *

So this seemingly has something to do with python. I also tried re-registering all DLLs., registering all DLLs in the plex install directory, setting environment variables, such as:

- 

```
Add to PATH: C:\Program Files\Plex\Plex Media Server

```

- 

```
PYTHONHOME = C:\Program Files\Plex\Plex Media Server

```

- 

```
PYTHONPATH = C:\Program Files\Plex\Plex Media Server\Resources\Python\python27.zip
   and

```

- 

```
PYTHONPATH = C:\Program Files\Plex\Plex Media Server\Resources\Python\lib\python2.7\site-packages

```

* * *

Another odd symptom as of late: sometimes (but not always) I must start plex media server as administrator, to get it to run. I just tried that stop start Plex MS) to fetch the error message generated and of course it doesn’t do that right now.

I’ve even tried installing python separately, both before and after Plex x64 install.

I know that I’m throwing darts half blind here, and that I probably know just enough about these things to be dangerous. I’ve spent several sessions of several hours each over the past couple months trying get this working. Although I’m not usually one to ask for help, I am asking now.

**Help!**

---

<div class="post-metadata">

**Author:** ![MelbourneFL](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@MelbourneFL](https://forums.plex.tv/u/MelbourneFL)\
**Post date:** [April 10, 2023, 9:06pm UTC](https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733/4 "2023-04-10T21:06:27Z")

</div>

Nobody??

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [April 11, 2023, 5:50am UTC](https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733/5 "2023-04-11T05:50:30Z")

</div>

> [@MelbourneFL](#):
>
> sometimes (but not always) I must start plex media server as administrator, t

Doing so will mess up the access permissions in your [Plex data folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/). When running PMS under the normal user account afterwards, it will lose the ability to change or delete the files which were written during the time when it ran as Admin.

You need to rectify the permissions, or you will have to run PMS as Admin all the time (which is a terrible idea).

Only after doing the above, you can hope to solve the update issues.

---

<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:** [July 10, 2023, 5:50am UTC](https://forums.plex.tv/t/cannot-upgrade-to-64-bit-python27-dll-errors/836733/6 "2023-07-10T05:50:40Z")

</div>

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