Plex Media Server as Startup Task in 2012R2

%USERNAME% is an environment variable - automatically filled in

But for a newbie I would recommend going for the packaged solution : PMS As A Service