2012-02-16, 02:35 PM
Just an update on my progress for those who are interested. I actually came across a few issues:
@johnsonx42 -> You were right. Running the service as anything but the local system is a bad idea. Once I did that I started getting errors in VideoRedo about the H.264 in the program stream not being supported. So I reverted back to Local System and that seemed to solve that issue. VideoRedo can open the video files again.
So I was kind of back to square one but then, after a little googling I found the following page on the internet about running as local system: [HTML]http://johnnycoder.com/blog/2008/11/10/run-cmdexe-as-local-system-account/[/HTML]
I downloaded PSTools [HTML]http://download.sysinternals.com/Files/PsTools.zip[/HTML] and executed the following command: "psexec -i -s cmd.exe". Then BAM!, I had a command window running as local system user. I was able to run my script as local user and found that the following line was killing me in my script because my evironment variables weren't being used even though I was logged in:
That one line was killing my whole script. Testing it now and will report back but I think I might be golden on this one now for sure! Goes to show a little googling and searching can go a long way! I also learned something new to boot(Usually write perl scripts in a linux environment, not windows )! Thanks to all again!!!!
@johnsonx42 -> You were right. Running the service as anything but the local system is a bad idea. Once I did that I started getting errors in VideoRedo about the H.264 in the program stream not being supported. So I reverted back to Local System and that seemed to solve that issue. VideoRedo can open the video files again.
So I was kind of back to square one but then, after a little googling I found the following page on the internet about running as local system: [HTML]http://johnnycoder.com/blog/2008/11/10/run-cmdexe-as-local-system-account/[/HTML]
I downloaded PSTools [HTML]http://download.sysinternals.com/Files/PsTools.zip[/HTML] and executed the following command: "psexec -i -s cmd.exe". Then BAM!, I had a command window running as local system user. I was able to run my script as local user and found that the following line was killing me in my script because my evironment variables weren't being used even though I was logged in:
Code:
my $logfile = $APPDATA . '\VideoReDo-TVSuite4\VideoReDo.log';
That one line was killing my whole script. Testing it now and will report back but I think I might be golden on this one now for sure! Goes to show a little googling and searching can go a long way! I also learned something new to boot(Usually write perl scripts in a linux environment, not windows )! Thanks to all again!!!!