TV-Server on WHS - Collection of fixes and workarounds (2 Viewers)

Ponyriemen

MP Donator
  • Premium Supporter
  • July 9, 2007
    2,570
    110
    /root/home
    Home Country
    Germany Germany
    HI Guys,

    i dont understand how to set LightsOut to wake up/sleep befor/after Recordings. I am confused about the right File, how to set it up, and so on...

    pleas can someone help me and Link the newest File with a little Workaround how to configure it?
    :D
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    Hey yhoogi... i tried your instructions for LightsOut, but i am stuck. When i run the script for the first time, nothing happens, but it is running in the background.
    Where do i find this schedule it creates ? In windows scheduled tasks, or in lightsout itself ?

    This is where i get stuck :

    at first run of the script a new task is created which needs to be modified: <------ Do i run it manually ??
    open Scheduled Tasks <------ Is this windows scheduled tasks ??
    open properties of "MP_Aufnahmen" <------ Could not find anywhere
    enable on the advanced properties that the Computer shall be reactivated for task execution
    disable that the task shall be terminated after a certain period
    Create a new task for "WHS_LO_Erw.vbs" with the following settings: <------ Thru windows task scheduler ??
    Task shall be run at System Start (to ensure to start the scheduler during bootup)
    Enter your admin account & password


    cheers
     

    larry_S

    MP Donator
  • Premium Supporter
  • December 11, 2008
    1,443
    168
    Home Country
    Germany Germany
    Hey yhoogi... i tried your instructions for LightsOut, but i am stuck. When i run the script for the first time, nothing happens, but it is running in the background.
    Where do i find this schedule it creates ? In windows scheduled tasks, or in lightsout itself ?
    Yes, in windows scheduled Tasks.


    at first run of the script a new task is created which needs to be modified: <------ Do i run it manually ??
    Yes
    open Scheduled Tasks <------ Is this windows scheduled tasks ??
    Yes
    open properties of "MP_Aufnahmen" <------ Could not find anywhere
    enable on the advanced properties that the Computer shall be reactivated for task execution
    disable that the task shall be terminated after a certain period
    MP_Aufnahmen is the name of the scheduled Task

    Create a new task for "WHS_LO_Erw.vbs" with the following settings: <------ Thru windows task scheduler ??
    Task shall be run at System Start (to ensure to start the scheduler during bootup)
    Enter your admin account & password
    The Script have to run after windows starts. You can use the scheduler or the normal Autorun-Folder.
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    thanks for the reply larry_s...
    I followed the instructions, but no task is created. I can see script running in the background, but nothing happens...

    When i first run the script, a popup message appears, but i cannot read it as it is in German..

    I configured the script with all passwords, usernames, database details etc....


    thank you again
     

    larry_S

    MP Donator
  • Premium Supporter
  • December 11, 2008
    1,443
    168
    Home Country
    Germany Germany
    Please check following entries in th script.
    Code:
    'Für Taskplaner
    PLUser=      "Administrator"
    PLPW="xxxx"

    PLPW ist the Password of the WHS-Adminstrator.
    If the entry is not correct the Script can't created the Task.

    After changing the Script, you hast to restart the Script (Close with Taskmanager and start again).
     

    yhoogi

    MP Donator
  • Premium Supporter
  • March 9, 2008
    599
    47
    Home Country
    Germany Germany
    In addition, you should set the "WHS_LO_erw" in the task scheduler to be started at system startup.
    This will ensure the task is running after a reboot


    Cheers,
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    Please check following entries in th script.
    Code:
    'Für Taskplaner
    PLUser=      "Administrator"
    PLPW="xxxx"

    PLPW ist the Password of the WHS-Adminstrator.
    If the entry is not correct the Script can't created the Task.

    After changing the Script, you hast to restart the Script (Close with Taskmanager and start again).

    In addition, you should set the "WHS_LO_erw" in the task scheduler to be started at system startup.
    This will ensure the task is running after a reboot


    Cheers,


    Thank you for trying to help but nothing works... i made sure that all login details are correct and it is.

    Like i said, when i run the script, i get no errors. It just sits there running in the background, but no task is created.

    Oh well... maybe i wasn't meant to use it.


    thank you anyway.


    cheers
     

    larry_S

    MP Donator
  • Premium Supporter
  • December 11, 2008
    1,443
    168
    Home Country
    Germany Germany
    I have another Idea.

    One Parameter of the Task Creating-Parameter is in German:
    Code:
          intReturn = WshShell.Run("SCHTASKS /Create /ru "&lcase(net.computerName)&"\"&PLUser&" /RP "&chr(34)&PLPW&chr(34)&" /SC täglich /TN MP_Aufnahmen /TR C:\WINDOWS\system32\tasklist.exe /ST 00:00:00" , 1, true)
    The word "täglich" means daily. Try to replace it.

    If it doesn't work you can look with Parameter is possible.
    Type following in a Dos-Box in the WHS.
    Code:
    schtasks /Create /?
    Under the SC Parameter you can see the possibilities.
     

    vvulture

    MP Donator
  • Premium Supporter
  • June 3, 2006
    483
    8
    52
    Sydney
    Home Country
    Australia Australia
    I have another Idea.

    One Parameter of the Task Creating-Parameter is in German:
    Code:
          intReturn = WshShell.Run("SCHTASKS /Create /ru "&lcase(net.computerName)&"\"&PLUser&" /RP "&chr(34)&PLPW&chr(34)&" /SC täglich /TN MP_Aufnahmen /TR C:\WINDOWS\system32\tasklist.exe /ST 00:00:00" , 1, true)
    The word "täglich" means daily. Try to replace it.

    If it doesn't work you can look with Parameter is possible.
    Type following in a Dos-Box in the WHS.
    Code:
    schtasks /Create /?
    Under the SC Parameter you can see the possibilities.


    Thanks for the help larry_s ... changing to "daily" worked !! :)

    Now i can keep going with the rest of the installation\setup\configuration etc...

    cheers

    *****UPDATE*****

    ok.. I have now both tasks present in scheduled tasks.

    What happens now ? Am i suppose to see anything appear in LightsOut calendar ? I have many recordings scheduled but how does LightsOut know when to wake up \ suspend ?

    Also, the "tasklist.exe" in c\windows\system32\ , what does it do ? It starts and stops very fast..


    Sorry, but i am not getting a full understanding of how this whole setup is suppose to work..


    cheers
     

    Users who are viewing this thread

    Top Bottom