# Installing Plex Media Server on Windows

## Install Plex Media Server

1. Log into the Windows device
2. Run the following commands in a PowerShell window
   # change directory to user downloads
   cd $ENV:UserProfile\Downloads
   # download latest plex media server installer
   $ProgressPreference = 'SilentlyContinue'; $t = Invoke-WebRequest 'https://plex.tv/api/downloads/5.json'; $null = ($t -Match '"distro":"windows","url":"(https:\/\/downloads\.plex\.tv\/plex-media-server-new\/[^/]*\/windows\/[^/]*\.exe)",'); Invoke-WebRequest $Matches[1] -OutFile .\plexmediaserver.exe; $ProgressPreference = 'Continue'
   # run the installer
   .\plexmediaserver.exe
3. Click Install on the Plex Media Server Setup dialog
4. After the installation completes click Launch

## Configuring Plex Account

1. Open a web browser and navigate to http://DNSorIP:32400/web
2. Log in with one of the available options or click sign up with email
3. Give the Plex server a name > Click Next
4. Click the Add Library button > Select the media type
5. Select Add folders from the left navigation > Click Browse for media folder > Select the folder to add to the media > Click Add Library
6. Click Next
7. Click Done to complete the server setup
8. Welcome to Plex Media Server