NetResults Tracker Knowledge Base Article
Steps to create Scheduled Task for use with the Submit via Email feature
Article ID  65
Article Type  Procedures / Documentation
Product  NetResults Tracker
Oldest Version  6.0.0
Newest Version  Latest Release
Publication Date  04/05/2006 02:36:55 PM
Last Updated  04/18/2019 11:53:52 AM
Warnings
This article applies to the licensed version of Tracker. If you are using NetResults Tracker Online (NRTO), the version hosted by NetResults, you do not need to Schedule Emails as described in this article.
Description
This article provides the detailed steps for creating a scheduled task for use with the Submit via Email feature.

A scheduled task for Submit via Email must be configured in the Scheduled Tasks section of the Control Panel on your Tracker server. To create this scheduled task, perform the following steps:

Determine whether your workgroup is configured to allow anonymous access before creating the scheduled task. The forms of authentication enabled for a workgroup are set in the Workgroup Management System (WMS). To check this:

  1. Login to WMS
  2. Click on the View icon to the left of the workgroup
  3. Take note of what is selected for the "Authentication" option
  4. Repeat the above steps for each of your workgroups
  5. Click on one of the following links that corresponds to your setup:
    All workgroups are set to use "NetResults Tracker" authentication
    At least 1 workgroup is configured to use "IIS Basic" or "IIS Integrated Windows" or "IIS Basic and Integrated Windows"

All workgroups are set to use "NetResults Tracker" authentication

Click on the link below that corresponds to the operating system of the Tracker server:

Tracker is installed on Windows Server 2016
Tracker is installed on Windows Server 2012 or Windows Server 2012 R2
Tracker is installed on Windows Server 2008 or Windows Server 2008 R2
Tracker is installed on Windows Server 2003
Tracker is installed on Windows 2000 Server

Tracker is installed on Windows Server 2016 and all workgroups are set to use NetResults Tracker authentication

Submit via Email must be configured in the Task Scheduler section of the Control Panel on your Tracker server. To create this scheduled task, perform the following steps:

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username PUSR4HOSTNAME where HOSTNAME is the TCP/IP host name of the machine where Tracker is installed. Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section, in "Program/script", enter:

    C:\Windows\SysWOW64\cscript.exe

    In "Add Arguments" enter the following (including the quotation marks):

    "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B

    where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process. Click OK to save the action.

  13. Click OK to save the new task. You will be prompted to enter the password for PUSR4HOSTNAME. It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

    Enter and confirm the password of this user according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#". Click OK.

  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to be convert an email to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

Tracker is installed on Windows Server 2012 and all workgroups are set to use NetResults Tracker authentication

Submit via Email must be configured in the Task Scheduler section of the Control Panel on your Tracker server. To create this scheduled task, perform the following steps:

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username PUSR4HOSTNAME where HOSTNAME is the TCP/IP host name of the machine where Tracker is installed. Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section:

    If Tracker is installed on Windows 2012 (x86 version):

    1. For "Program/script", enter:

      C:\Windows\System32\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files\NetResults\Tracker\PTAlerts.jse" //B

      where "C:\Program Files\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

    If Tracker is installed on Windows 2012 (x64 version) or Windows 2012 R2:

    1. For "Program/script", enter:

      C:\Windows\SysWOW64\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B

      where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK to save the action.

  13. Click OK to save the new task. You will be prompted to enter the password for PUSR4HOSTNAME. It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

    Enter and confirm the password of this user according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#". Click OK.

  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to be convert an email to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

Tracker is installed on Windows Server 2008 and all workgroups are set to use NetResults Tracker authentication

Submit via Email must be configured in the Task Scheduler section of the Control Panel on your Tracker server. To create this scheduled task, perform the following steps:

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username PUSR4HOSTNAME where HOSTNAME is the TCP/IP host name of the machine where Tracker is installed. Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section:
    If Tracker is installed on Windows 2008 (x86 version):
    1. In "Program/script", enter:

      C:\Windows\System32\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files\NetResults\Tracker\PTEmails.jse" //B

      where "C:\Program Files\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

    If Tracker is installed on Windows 2008 (x64 version) or Windows 2008 R2:

    1. In "Program/script", enter:

      C:\Windows\SysWOW64\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B

      where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

  13. Click OK to save the new task. You will be prompted to enter the password for PUSR4HOSTNAME. It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

    Enter and confirm the password of this user according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#". Click OK.

  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to be convert an email to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

Windows 2003 - All workgroups are set to allow Anonymous Access (Version 5.5.4 or older) or use "NetResults Tracker" authentication (Version 6.0.0 or newer)

  1. Go to Start -> Settings -> Control Panel on the machine where Tracker is installed
  2. Double click on Scheduled Tasks
  3. Double click on "Add Scheduled Task", then click Next
  4. Click on the Browse button, then navigate to the location you selected to for the Tracker files during the installation.
    For Versions 6.0.0 or newer, the default location is C:\Program Files\NetResults\Tracker
    For Versions 5.5.4 and older, the default location is C:\Program Files\NetResults\ProblemTracker5
  5. Select the file called PTEmails.jse, then click on the Open button
  6. Enter a name for the scheduled task such as "NetResults Tracker Submit via Email", then for the option "Perform this task:" select the radio button next to "Daily". Click Next to proceed.
  7. The current time will be displayed as "Start Time". For the "Perform this task:" option, select "Every Day". The current date will be displayed as "Start Date". Click Next to continue.
  8. Enter the username PUSR4HOSTNAME where HOSTNAME is the TCP/IP host name of the machine where Tracker is installed. It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

    Enter and confirm the password of this user according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#". Click Next.

  9. The values you entered will be displayed. Check the box next to the option "Open advanced properties for this task when I click Finish", then click on the Finish button.
  10. The Advanced properties will be displayed. On the Task tab, in the Run field the path to the PTEmails.jse file that you selected will be displayed in quotes. Please type in the additional information such that the Run field displays the following:

    CScript.exe "<PTEmails.jse path>" //B

    For example, if you used the default location for Program Files, the path is C:\Program Files\NetResults\Tracker. The Run field should display the following exactly as it appears below:

    CScript.exe "C:\Program Files\NetResults\Tracker\PTEmails.jse" //B

  11. Click on the Schedule tab, then click on the Advanced button.
  12. Check the box next to "Repeat task", then for "Every" select "10 minutes". For "Until" select the radio button next to "Duration". Enter "24 hours" for the "Duration".
  13. Click on the Settings tab. In the Scheduled Task Completed section, check the box for the option called "Stop the task if it runs for:" and select "0" for the hours field and "30" for the minutes field. Click OK, then click OK again to save the changes. You will be prompted to enter and confirm the password for PUSR4HOSTNAME you entered earlier.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, incoming email messages may not be able to be processed because the procedure performed above to "Schedule Emails" is scheduling a script to run in order to allow Tracker to process incoming email messages. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow incoming email messages to be processed, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

    You have completed the steps for creating the Submit via Email Scheduled Task.

    For more information about Submit via Email, please review the Submit via Email Help section.

Windows 2000 - All workgroups are set to use "NetResults Tracker" authentication

  1. Go to Start -> Settings -> Control Panel on the machine where Tracker is installed
  2. Double click on Scheduled Tasks
  3. Double click on "Add Scheduled Task", then click Next
  4. Click on the Browse button, then navigate to the location you selected to for the Tracker files during the installation. The default location is C:\Program Files\NetResults\Tracker
  5. Select the file called PTEmails.jse, then click on the Open button
  6. Enter a name for the scheduled task such as "NetResults Tracker Submit via Email", then for the option "Perform this task:" select the radio button next to "Daily". Click Next to proceed.
  7. The current time will be displayed as "Start Time". For the "Perform this task:" option, select "Every Day". The current date will be displayed as "Start Date". Click Next to continue.
  8. Enter the username of an Administrator user (it is recommended that you use the local Administrator user). Enter and confirm the password of this user. Click Next.
  9. The values you entered will be displayed. Check the box next to the option "Open advanced properties for this task when I click Finish", then click on the Finish button.
  10. The Advanced properties will be displayed. On the Task tab, in the Run field the path to the PTEmails.jse file that you selected will be displayed in quotes. Please type in the additional information such that the Run field displays the following:

    CScript.exe "<PTEmails.jse path>" //B //H:CScript

    For example, if you used the default location for Program Files, the path is C:\Program Files\NetResults\Tracker. The Run field should display the following exactly as it appears below:

    CScript.exe "C:\Program Files\NetResults\Tracker\PTEmails.jse" //B //H:CScript

  11. Click on the Schedule tab, then click on the Advanced button.
  12. Check the box next to "Repeat task", then for "Every" select "10 minutes". For "Until" select the radio button next to "Duration". Enter "24 hours" for the "Duration". Click OK.
  13. Click on the Settings tab. In the Scheduled Task Completed section, check the box for the option called "Stop the task if it runs for:" and select "0" for the hours field and "30" for the minutes field. Click OK. You will be prompted to enter and confirm the password for the user you entered earlier. Click OK again.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, incoming email messages may not be able to be processed because the procedure performed above to "Schedule Emails" is scheduling a script to run in order for Tracker to process incoming email messages. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow incoming email messages to be processed, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

    You have completed the steps for creating the Submit via Email Scheduled Task.

    For more information about Submit via Email, please review the Submit via Email Help section.

At least 1 workgroup is configured to use Basic and/or Integrated Windows authentication.

Click on the link below that corresponds to the operating system installed on the Tracker server:

Tracker is installed on Windows Server 2016
Tracker is installed on Windows Server 2012 or Windows 2012 R2
Tracker is installed on Windows Server 2008 or Windows 2008 R2
Tracker is installed on Windows 2000 or Windows Server 2003

Tracker is installed on Windows Server 2016 and at least one workgroup is configured to use Windows Basic and/or Integrated Windows authentication

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username of an Administrator user (it is recommended that you use the local Administrator user). Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section, in "Program/script", enter:

    C:\Windows\SysWOW64\cscript.exe

    In "Add Arguments" enter the following (including the quotation marks):

    "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B //H:CScript

    where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process. Click OK to save the action.

  13. Click OK to save the new task. You will be prompted to enter the password for Administrator user you selected above. Enter and confirm the password of this user. Click OK.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to convert an email message to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

Tracker is installed on Windows Server 2012 or Windows Server 2012 R2 and at least one workgroup is configured to use Windows Basic and/or Integrated Windows authentication

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username of an Administrator user (it is recommended that you use the local Administrator user). Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section:

    If Tracker is installed on Windows 2012 (x86 version):

    1. For "Program/script", enter:

      C:\Windows\System32\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files\NetResults\Tracker\PTAlerts.jse" //B //H:CScript

      where "C:\Program Files\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

    If Tracker is installed on Windows 2012 (x64 version) or Windows 2012 R2

    1. For "Program/script", enter:

      C:\Windows\SysWOW64\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B //H:CScript

      where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK to save the action.

  13. Click OK to save the new task. You will be prompted to enter the password for Administrator user you selected above. Enter and confirm the password of this user. Click OK.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to convert an email message to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

Tracker is installed on Windows Server 2008 and at least one workgroup is configured to use Windows Basic and/or Integrated Windows authentication

  1. On the server where Tracker is installed, go to Start > Administrative Tools > Task Scheduler
  2. In the Actions pane on the far right, click on "Create Task"
  3. On the General tab, enter a Name for the scheduled task. For example, "NetResults Tracker Submit via Email". Enter a description, if desired.
  4. Click on the "Change User or Group" button. Enter the username of an Administrator user (it is recommended that you use the local Administrator user). Then, click on the "Check Names" button. After it has located the user, click OK.
  5. Select the option "Run whether user is logged in or not"
  6. Click on the Triggers tab and click on the New button
  7. A "New Trigger" window will be displayed. For "Begin the task:", select "On a schedule"
  8. In the Settings section, select "Daily" and "Recur every 1 day"
  9. In the Advanced Settings section, check the box for "Repeat task every" and select a time period. We recommend a minimum of 10 minutes and select "for a duration of 1 day".

    Check the box for the option "Stop task if it runs longer than" and select "30 minutes".

    Check the box for "Enabled", then click OK to close the New Trigger window.

  10. Click on the Actions tab and click on the New button
  11. A New Action window will be displayed. For "Action" select "Start a program".
  12. In the Settings section:
    If Tracker is installed on Windows 2008 (x86 version):
    1. In "Program/script", enter:

      C:\Windows\System32\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files\NetResults\Tracker\PTEmails.jse" //B //H:CScript

      where "C:\Program Files\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

    If Tracker is installed on Windows 2008 (x64 version) or Windows 2008 R2:

    1. In "Program/script", enter:

      C:\Windows\SysWOW64\cscript.exe

    2. In "Add Arguments" enter the following (including the quotation marks):

      "C:\Program Files (x86)\NetResults\Tracker\PTEmails.jse" //B //H:CScript

      where "C:\Program Files (x86)\NetResults\Tracker" is the default Program Files location. This may have been changed during the installation process.

    3. Click OK.

  13. Click OK to save the new task. You will be prompted to enter the password for Administrator user you selected above. Enter and confirm the password of this user. Click OK.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, Submit via Email may not be able to convert an email message to a Tracker record because the procedure performed above to "Schedule Submit via Email" is scheduling a script to run. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow Submit via Email to function, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

You have completed the steps for creating the Submit via Email Scheduled Task.

For more information about Submit via Email, please review the Submit via Email Help section.

These steps apply to both Windows 2000 and Windows 2003.

  1. Go to Start -> Settings -> Control Panel on the machine where Tracker is installed
  2. Double click on Scheduled Tasks
  3. Double click on "Add Scheduled Task", then click Next
  4. Click on the Browse button, then navigate to the location you selected to for the Tracker files during the installation.
    The default location is C:\Program Files\NetResults\Tracker
  5. Select the file called PTEmails.jse, then click on the Open button
  6. Enter a name for the scheduled task such as "NetResults Tracker Submit via Email", then for the option "Perform this task:" select the radio button next to "Daily". Click Next to proceed.
  7. The current time will be displayed as "Start Time". For the "Perform this task:" option, select "Every Day". The current date will be displayed as "Start Date". Click Next to continue.
  8. Enter the username of an Administrator user (it is recommended that you use the local Administrator user). Enter and confirm the password of this user. Click Next.
  9. The values you entered will be displayed. Check the box next to the option "Open advanced properties for this task when I click Finish", then click on the Finish button.
  10. The Advanced properties will be displayed. On the Task tab, in the Run field the path to the PTEmails.jse file that you selected will be displayed in quotes. Please type in the additional information such that the Run field displays the following:

    CScript.exe "<PTEmails.jse path>" <authentication code> <Windows User Name> <Windows User Password> //B //H:CScript

    where <authentication code> is one of the following values based on the form(s) of IIS authentication you are using: 1 = basic authentication, 2 = integrated Windows authentication, 3 = basic and integrated Windows authentication, <Windows User Name> is the name of the Administrator user you selected for the "Run as" field in the above steps (preferably the local Administrator on the Tracker server) and <Windows User Password> is the password that corresponds to that user account.

    For example, if you used the default location for Program Files, the path is C:\Program Files\NetResults\Tracker, workgroups are using basic authentication and the Administrator password is "12345", the Run field should display the following exactly as it appears below:

    CScript.exe "C:\Program Files\NetResults\Tracker\PTEmails.jse" 1 SERVERNAME\Administrator 12345 //B //H:CScript

  11. Click on the Schedule tab, then click on the Advanced button.
  12. Check the box next to "Repeat task", then for "Every" select "10 minutes". For "Until" select the radio button next to "Duration". Enter "24 hours" for the "Duration".
  13. Click on the Settings tab. In the Scheduled Task Completed section, check the box for the option called "Stop the task if it runs for:" and select "0" for the hours field and "30" for the minutes field. Click OK, then click OK again to save the changes. You will be prompted to enter and confirm the password for the user you entered earlier.
  14. NOTE: If you have enabled script blocking on the anti-virus software being used on the Tracker server, incoming email messages may not be able to be processed because the procedure performed above to "Schedule Emails" is scheduling a script to run in order to allow Tracker to process incoming email messages. Depending on your anti-virus software, you may see an error message or warning from your anti-virus software when the Submit via Email script attempts to run.

    In order to allow incoming email messages to be processed, configure your anti-virus software to allow the script "PTEmails.jse" to run . This file can be found in the location you selected to for the Tracker files during the installation. By default, the location is C:\Program Files\NetResults\Tracker

    You have completed the steps for creating the Submit via Email Scheduled Task.

    For more information, please review the Submit via Email Help section.

Edit the existing scheduled task for Submit via Email

If you have upgraded Tracker to the latest version and the workgroup is set to allow Anonymous access, you will need to adjust the Submit via Email scheduled task. Please follow the steps below to confirm you need to adjust the scheduled task and, if so, make the necessary changes.

  1. Login to the Workgroup Management System (WMS)
  2. Click on the Edit button to the left of one of your workgroups
  3. Take note of what is listed for "Authentication" in the General section
  4. Repeat the above steps for each workgroup you have installed
  5. If at least 1 workgroup is configured to use "IIS Basic", "IIS Integrated Windows" or "IIS Basic and Integrated Windows", you do not need to adjust the Submit via Email scheduled task. Do not complete the remaining steps in this procedure.

    If all workgroups are set to use "NetResults Tracker" authentication, proceed with the following steps based on the operating system / version of IIS installed on the Tracker server:

    For Windows 2016 / IIS 10.0
    or Windows 2012 / IIS 8.0
    or Windows 2008 / IIS 7.0:

    1. Go to Start > Administrative Tools > Task Scheduler
    2. In the left pane, click on the Task Scheduler Library
    3. Locate the scheduled task for Submit via Email, right click on it and select Properties
    4. On the General tab, click on the Change User or Group button. Enter PUSR4HOSTNAME where HOSTNAME is the TCP/IP host name of the server where Tracker is installed, then click on the Check Names button and click OK.
    5. Click on the Actions tab and click on the Action listed, then click on the Edit button
    6. Change the value in "Add arguments (optional)" so that it lists only "//B", click OK to dismiss the Action properties, then click OK to dismiss the scheduled task properties. You will be prompted to enter the password of the user configured to run the task (PUSR4HOSTNAME). It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

      Enter the password according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#".

    7. Click OK after entering the password

    For Windows 2003 / IIS 6.0:

    1. Go to Start -> Settings -> Control Panel on the machine where Tracker is installed
    2. Double click on Scheduled Tasks
    3. Right click on the scheduled task for Submit via Email and select Properties
    4. On the Task tab, remove "//H:CScript" from the "Run" field. So when you are finished the Run field should have a path that looks like:

      CScript.exe "<PTEmails.jse path>" //B

      For example, if you used the default location for Program Files, the path is C:\Program Files\NetResults\Tracker. The Run field should display the following exactly as it appears below:

      CScript.exe "C:\Program Files\NetResults\Tracker\PTEmails.jse" //B

    5. In the Run as field, replace the user listed with "PUSR4HOSTNAME" where HOSTNAME is the TCP/IP host name of the machine where Tracker is installed. Click on the Set Password button. It is recommended that you enter the password using the scheme noted below. If you want to change the password for this user account, please be aware that it should be done at a time when users are not actively using the system as it will impact active sessions. You also have to perform additional steps to apply the password throughout Tracker's interfaces and features. Failure to perform the additional steps could result in users not being to login to Tracker or other issues detailed in the PUSR password change article.

      Enter and confirm the password of this user according to the following scheme: First character is 4, followed by HOSTNAME (the TCP/IP host name of the machine where Tracker is installed, all upper case), followed by P (upper case), followed by t (lower case), followed by #. If HOSTNAME is more than 10 characters, then use the first 10 characters to build the password. If the computer name is fewer than 10 characters, append # to the end of the password until you reach 14 characters. For example, if HOSTNAME is "ABC", then the password is "4ABCPt########". If HOSTNAME is "MYNEWSERVER", then the password would be "4MYNEWSERVEPt#". Click OK, then Apply, then OK.

Workaround
None