# Trouble running Plex SQLite on a NAS from windows command prompt

**URL:** <https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628>\
**Category:** Plex Media Server\
**Tags:** server-netgear\
**Created:** [December 6, 2022, 12:53pm UTC](https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628 "2022-12-06T12:53:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSA](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@GSA](https://forums.plex.tv/u/GSA)\
**Post date:** [December 6, 2022, 12:53pm UTC](https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628/1 "2022-12-06T12:53:08Z")

</div>

Server Version#: 1.30  
Hi  
Trying to run Plex SQLite from windows command prompt to attempt to fix a corrupt database per the instructions here:  
[https://support.plex.tv/articles/repair-a-corrupted-database/](https://support.plex.tv/articles/repair-a-corrupted-database/)

Plex Media Server is on a Netgear ReadyNAS, and I am using the command prompt in Windows 11. I have mapped the folder where the Plex SQL is located in Windows explorer in order to access via the command prompt. However, because the Plex SQLite file does not have a normal .exe extension it will not run. Just tells me it’s not recognized as an internal or external command, operable program or batch file.  
How do I get Plex SQLite (that is on a NAS) to run from a Windows command prompt please?  
Thanks  
G

---

<div class="post-metadata">

**Author:** ![drzoidberg33](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drzoidberg33/32/4184_2.png) [@drzoidberg33](https://forums.plex.tv/u/drzoidberg33)\
**Post date:** [December 6, 2022, 12:59pm UTC](https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628/2 "2022-12-06T12:59:37Z")

</div>

You cannot run it on Windows as it’s not a Windows application if it’s installed on your NAS. It must be run from the command line on the NAS device itself.

I’m not familiar with Netgear devices, but I assume there is a way to remote ssh into the device - maybe somebody familiar with them can chime in.

---

<div class="post-metadata">

**Author:** ![JaysPlex](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jaysplex/32/281767_2.png) [@JaysPlex](https://forums.plex.tv/u/JaysPlex)\
**Post date:** [December 6, 2022, 5:04pm UTC](https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628/3 "2022-12-06T17:04:22Z")

</div>

ChuckPa has a database repair utility.

According to this list on the GitHub page Netgear ReadyNAS is included

 ![Screenshot (2902)](https://global.discourse-cdn.com/plex/original/4X/0/3/2/032c59b89cce49b6d258718763d90edf595413a9.png)

It has directions on the GitHub page but I would recommend reaching out to Chuck just to be sure it will work for you

---

<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:** [March 6, 2023, 5:04pm UTC](https://forums.plex.tv/t/trouble-running-plex-sqlite-on-a-nas-from-windows-command-prompt/821628/4 "2023-03-06T17:04:48Z")

</div>

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