Just a quick note to add that when the PS3 Media installs itself as a service, it adds "-s" as a runtime parameter to the executable path for PMS.exe. Without this the Java app (PMS.bat) can't communicate with the server to config.
Also, change the PMS.bat file because it may not find the Javaw app, and the path to the PMS jar needs fully resolving by using quotes around the path.
Change it to this.
===================================
@echo off
echo Java PS3 Media Server
echo ---------------------
echo In case of troubles with PMS.exe, this shell will launch ps3mediaserver in a more old fashioned way
echo You can try to reduce the Xmx parameter value if you keep getting "Cannot create Java virtual machine" errors...
echo Last word: You must have java installed !
http://www.java.comecho ------------------------------------------------
rem pause
start c:\windows\syswow64\javaw -Xmx768M -Djava.net.preferIPv4Stack=true -Djava.encoding=UTF-8 -jar "C:\Program Files (x86)\PS3 Media Server\pms.jar" net.pms.PMS
==========================================