Issues with Windows TasK Scheduler

Hi!
I'm having two issues recently with Windows Task Scheduler, and I'm wondering if anyone else has experienced this and know of a resolution. We are on Windows Vista.
Error value 2147750687 - The task we are using has been running successfully since day one, all of a sudden, two concurrent jobs got triggered the other day, thus one of them failed and gave us this error. Why would the scheduler kick off two jobs start at the same time? How can that happen? The settings are "run with the highest privileges" and run whether user is logged on or not".
Error value 2147549186 - On this one, the task was running as scheduled, no errors in the log, then all of the sudden, after 10 minutes into the job, it re-started “due to a failure”. The settings are set to restart after 5 minutes, 3 attempts, but since it was running, and our logs do not identify any issues, what could have caused the scheduler to think there was an error?
Joe

Hi LordTim,
>>However, I cannot get Access to load<<
How did you load the Access? Did you use Access object to automate the Access applicaiton?
If I understood correctly, did Access load successfully when you in a normal script?
If yes, I think the issue may relative to the Task Scheduler. I suggest that you get more effective response from
Windows Community forum about Task Scheduler issue.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • VBS objshell.AppActivate doesn't work with Windows Task Scheduler

    Hi all,
    This script do the following : 
    Open Adobe Flash media Live Encoder with an encoding profile
    Activate the Adobe Flash... Window
    Send enter key to start encoding
    Set objShell = WScript.CreateObject( "WScript.Shell" )
    objShell.Run """C:\Program Files (x86)\Adobe\Flash Media Live Encoder 3.2\FlashMediaLiveEncoder.exe"" /p ""C:\Users\process\AppData\Roaming\Adobe\Flash Media Live Encoder 3.2\profile.xml"""
    'Loading time
    WScript.Sleep 5000
    objshell.AppActivate ("Adobe Flash Media Live Encoder 3.2")
    WScript.Sleep 5000
    objShell.SendKeys "{ENTER}" 'start encoding
    This script perfectly works manually, but the objshell.appactivate command doesn't work when i run it with the windows task Scheduler.
    Any ideas ? Thx

    Hi to all! I have found workaround for this issue - I wrote vbs, made run it via bat file, and converted the bat file to exe
    vbs
    Set oShell = CreateObject("WScript.Shell")
    If oShell.AppActivate ("Connecting error to Bee") Then
    WScript.Sleep 2000
    oShell.SendKeys "%{F4}"
    End If
    bat
    start C:\Users\User\Desktop\close.vbs
    bat to exe
    Advanced BAT to EXE Converter v2.83
    I know it's some weird solution but it is working with Win Task Scheduler correctly. Try it ;)
    In some cases you need to mark checkbox "run this program as an administrator" and (or not) disable UAC.

  • JFileChooser() not working with windows task scheduler

    I have a program that would send emails with attachments to users. The program should be ran according to the scheduled time, and because of that I use task scheduler to do it for me. I did all necessary steps to make this happen. (create .bat file to activate/run the jar file then task scheduler will trigger the .bat file if it hits the stated schedule.) The problem right now is that when the program is ran or is triggered by task scheduler, it gives off this error:
    java.lang.NullPointerException
    at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
    at sun.awt.shell.Win32ShellFolder2$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I tried running it manually by using the .bat file and it works fine with no errors or whatsoever. I'm suspecting it has something to do with jFileChooser() because It wont retrieve the attachments in the default directory, but I'm not sure, there might be other causes. Here's the function that retrieves the attachments in the default directory:
    public String getMyDocument(String filename)
         JFileChooser fr = new JFileChooser();
         FileSystemView fw = fr.getFileSystemView();
         return fw.getDefaultDirectory().toString()+"\\"+filename+".xls";
    }PS.
    All required attachments are present in the default directory, no misspelled words or misplaced characters. I also did some research but so far i haven't found any solutions yet.

    gimbal2 wrote:
    sabre150 wrote:{quoteStrange code anyway to use a filechooser to get a directory, especially when apparently no actual GUI is created. My immediate thought when I saw the code. I'm not even sure there is a default directory if the component is not realized but I have never checked. I would like to suggest to the OP that he uses the "user.home" directory but again I have never checked where that points when used with the task scheduler. It could be that it is not defined and that file chooser uses this as the default if not explicitly set. This is why I suggest that the OP writes out the value.

  • RUNNING PHP SCRIPT WITH ZEND FRMWRK IN WINDOWS TASK SCHEDULER

    I have a PHP script which includes the Zend framework Mail.php for sending mails.
    I am running a WAMP server and i used DW to create it.
    I want to run my script in every 5 mins, How i can schedule it in Windows task scheduler.
    I tried running a bat which contains the php.exe path and arguments as php file but it gives an error that zend/mail.php not found.
    Please help its really urgent.

    Thanks for your response.
    bat file has:
    path of the php.exe -f path of php file.
    But when it runs it gives an error that the zend framework file not found.
    I have a seperate PHP includes folder under which zend FW is stored.
    That folder is marked in includes_paths in php.ini.

  • Windows Task Scheduler executing old triggers even after recreating the task

    I had this task working perfectly until I changed the schedule. After I changed the scheduled time 5 minutes earlier, I noticed that in the history, it still triggers the old schedule. I tried restarting the server, deleting the task and recreating it even
    without a trigger and it's still executing the task with the old trigger. The attached screenshot shows that the task doesn't have a trigger but as you can see in the history it's still trying to execute the task. How does the Windows Task Scheduler work?
    Is there a file or database that I can purge the old task?
    I also tried applying this hotfix but it didn't seem to fix the issue: 
    http://support.microsoft.com/kb/2461249
    NOTE: This is Windows 2008 R2 and the Error message in the history is: Task Scheduler failed to start "<the
    name of my task>" task for user "<the
    user>". Additional Data: Error Value: 2147750689.

    Since batch job can be run manually without error, cmd.exe is not the problem.
    I researched and found that the problem may be due to exhausted desktop heap and the solution is to increase the value.
    Please try this step:
    1. restart the server first and test again (a simple solution that may work)
    2. if the first attempt fail, take a full backup first and attempt to increase desktop heap
         http://www.symantec.com/business/support/index?page=content&id=TECH48099
    Yes THAT WAS THE SOLUTION FOR THE ISSUE. !!
    Now its working perfect!!
    Why now its working and not before? Because after made the changes to the registry,
    RESTART IS NECESSARY to apply the changes and I have done it yesterday night (this server is working 24x7, so its hard to find a moment to restart it). 
    Thanks for all to help me with this issue!!! I really,really ,really ,really  apreciate !!! 
    THANKS !!!!!

  • Error when using Windows Task Scheduler in C#

    I am using Windows Task Scheduler in my Visual C# application. I add the reference to C:\Windows\SysWOW64\taskschd.dll (on a 64-bit system), and Visual Studio creates a COM wrapper Interop.TaskScheduler.dll. Ths works fine on Windows 7. However, when
    I run on Windows 8.1, I get the following error:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'TaskScheduler.IExecAction'.
    This operation failed because the QueryInterface call on the COM component for the interface with IID
    '{4C3D624D-FD6B-49A3-B9B7-09CB3CD3F047}' failed due to the following error:
    No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    I noticed that on Windows 7, the above GUID exists in the registry under HKEY_CLASSES_ROOT\Interface, with the value "IExecAction". But on Windows 8.1, there is no such GUID, and no key with value "IExecAction". I use IExecAction
    in my code.
    When I develop on Windows 8.1, the program compiles, but at runtime I get the above error.

    Hello tomszms,
    Here is a blog related to this issue and the troubleshoot steps of his error is very useful for your case, so please check for it:
    http://blogs.msdn.com/b/smondal/archive/2012/10/02/unable-to-cast-com-object-of-type-system-comobject-to-interface-type-microsoft-visualstudio-ole-interop-iserviceprovider.aspx
    Please try use the same way to track the logs and then try use the regsvr32
    on your Win 8 machine to re-register that dll and see the result.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Task Scheduler does not execute .vbs script as exptected while using CScript.exe

    We have a .vbs script that reads a source text file, looks for errors, performs a find/replace and then writes a cleaned version of the file to a destination folder.
    When executing the script by manually double clicking on the .vbs file, the script works flawlessly.  But when executing via Windows Task Scheduler using Cscript.exe, it creates an empty, zero byte, text file.  Task Scheduler is set to run
    "C:\Windows\System32\cscript.exe" with the Add arguments (optional): C:\Scripts\myscript.vbs.
    Does anyone know of a way to make it work using the Windows Task Scheduler?
    Part of the Script:
    Sub CheckFilesIntegrity()
    Dim cleanedfile,strLine,outputStr, tempstr, tmpChar, changeTo, companycode, storestring
    Dim ObjFileSys, objFile,objCleanFile
    charArray = Array("-","?", "/", "\", ":", "*", """", "<", ">", ",", "&", "#", "~", "%", "{",
    "}", "+", "_", ".", "a", "e", "o", "s", "h","i","E", "O","P", "S", "p", "=")
     Set ObjFileSys   = CreateObject("Scripting.FileSystemObject")
     Set objCleanFile = CreateObject("Scripting.FileSystemObject")
     Set objFile = ObjFileSys.OpenTextFile(file.name, ForReading, True)
     textfilename = destinationpath & objfilesys.GetBaseName(file) & ".txt"
     Set cleanedfile = objCleanFile.OpenTextFile(textfilename, ForWriting, True)
     ObjLog.writeline "File containing cleaned up data: " & textfilename
     Do while not objfile.AtEndOfStream
         strLine = objfile.ReadLine()
         tempstr = strLine
         If (Left(UCase(tempStr),8) <> "HPAYMENT") Then
          'fix pay now data entry whre record does not have a company code
          If Mid(tempstr, 18,3) = "000" Then
           companycode = Mid(tempstr,32,3)
           storestring = Left(tempstr,17)
           tempstr =Replace(tempstr,"000",companycode,18,1,1)
           tempstr = storestring & tempstr
           storestring = Left(tempstr,31)
           tempstr= Replace(tempstr,companycode,"000",32,1,1)
           tempstr = storestring & tempstr
          End If
          'remove invalid characters and replace them with zero (filler)
       For Each tmpChar in charArray
        Select Case tmpChar
         Case "-","?", "/", "\", ":", "*", """", "<", ">", ",", "&", "#", "~", "%",
    "{", "}", "+", "_", ".", "a", "e", "o", "s", "h","i","E", "O","P", "S", "p", "="
         changeTo = "0"
         outputStr = replace( tempstr, tmpChar, changeTo,1,-1,1 )
        End Select
        tempstr=outputstr
       Next
      Else
       outputStr = tempstr 
      End If
        strLine = outputStr
      cleanedfile.writeline(strLine)
     Loop
     cleanedfile.Close
     Set cleanedfile = Nothing
     Set ObjFileSys = Nothing
     Set objFile = Nothing
     ObjLog.writeline " Completed processing of file: " & textfilename
    End Sub

    So we ended up getting it to work by replicating the double click function.  Meaning that we created a Batch file that calls the .vbs script, then had Windows Task Scheduler run the Batch file.  In that way all necessary permissions were passed
    through from one environment to another, which was failing when we called the .vbs script using CScript.

  • DirectAccess multisite on Server 2012 R2: 'The remote access configuration task (raconfigtask) in Windows Task Scheduler cannot be disabled"

    Dear all,
    I'm an experiencing an issue when configuring 2012 R2 DirectAccess multisite.
    The initial configuration of the first site in a multisite setup works fine, however when i try to add ANY other server on another site, i see the below screenshot, the full text of which is: "The remote access configuration task (raconfigtask) in Windows
    Task Scheduler cannot be disabled" while the entry point is added.
    THere are no logged events on the remote server, but on the controlling server i see this in the event log:
    Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>
    And this in the taskscheduler:
    Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>
    Any ideas what might be causing this? All servers are in the same domain, firewalls don't seem to be dropping anything, SCCM client is installed, but thats it.
    Appreciate any feedback.
    Jim

    Dear all,
    I'm an experiencing an issue when configuring 2012 R2 DirectAccess multisite.
    The initial configuration of the first site in a multisite setup works fine, however when i try to add ANY other server on another site, i see the below screenshot, the full text of which is: "The remote access configuration task (raconfigtask) in Windows
    Task Scheduler cannot be disabled" while the entry point is added.
    THere are no logged events on the remote server, but on the controlling server i see this in the event log:
    Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>
    And this in the taskscheduler:
    Log Name:      Microsoft-Windows-TaskScheduler/Operational
    Source:        Microsoft-Windows-TaskScheduler
    Date:          10/15/2014 12:55:58 AM
    Event ID:      140
    Task Category: Task registration updated
    Level:         Information
    Keywords:      
    User:          SYSTEM
    Computer:      WWCLORAS01.apco.net
    Description:
    User "S-1-5-18"  updated Task Scheduler task "\Microsoft\Windows\RemoteAccess\RaConfigTask"
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-TaskScheduler" Guid="{DE7B24EA-73C8-4A09-985D-5BDADCFA9017}" />
        <EventID>140</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>140</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-15T07:55:58.432317300Z" />
        <EventRecordID>1738</EventRecordID>
        <Correlation ActivityID="{D4236B4E-E841-0003-E5BA-23D441E8CF01}" />
        <Execution ProcessID="840" ThreadID="3852" />
        <Channel>Microsoft-Windows-TaskScheduler/Operational</Channel>
        <Computer>WWCLORAS01.apco.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData Name="TaskUpdated">
        <Data Name="TaskName">\Microsoft\Windows\RemoteAccess\RaConfigTask</Data>
        <Data Name="UserName">S-1-5-18</Data>
      </EventData>
    </Event>
    Any ideas what might be causing this? All servers are in the same domain, firewalls don't seem to be dropping anything, SCCM client is installed, but thats it.
    Appreciate any feedback.
    Jim

  • Issues with Approval Task IN IDM 7.1

    Hi,
    I have been facing issues with Approval task.
    Firstly,
    I have created an Approval task with 'Mskeyvalue' and 'Mxref_mx_privilege' as attributes.
    I am having a problem in the Approvers workflow UI where, we see these approvals.
    It not only displays the requested privilege,but also the already provisioned privileges of the enduser to the approver.
    He will not be able to recognize which privilege has been requested.
    Is this an already known issue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Secondly,
    The privilege requested by the end-user is getting provisioned to the backend,even before it is Approved.
    Since Provisioning tasks are mapped through repository,privileges are getting provisioned as soon as
    an entry is made into the Identity Stores.
    But,Ideally the requested privilege should not be proviosioned to the backend until it is approved by the Approver.
    Is this an already known isuue which has been sorted out in recently updated patches?
    If not can you suggest me a solution for this.
    Thanks and Regards,
    Joel
    Edited by: Joel Sundararajan Davis on Jul 16, 2009 11:04 AM

    Joel,
    I'm afraid the approval process is not quite this simple.  You are correct, if you have provisioning setup on the repository for a privilege it will be assigned immediately.  The approval task as you are using it works as an 'interrupt' to a process - nothing more.
    There is an entry type called pending value that you would need to leverage in order to have privileges requested route for approval.  This pending value object is created by default for role requests in 7.1, but I'm not sure how to create a pending value for a privilege.
    Which brings to mind a question - is there a reason you want users to request privileges instead of roles? In general I think the security model is setup so that users are assigned roles which contain one or more privileges.
    If you do choose to use a role instead of privilege, simply set the attribute MX_APPROVAL_TASK to the id of the approval task you want to use and the system will do the rest.  The display you referenced in the first part of your question will always display the current values of the attributes you select for the user, so don't try to display the roles there - just display the user id, name, whatever else is helpful and when the approver clicks on the user id they will get the approval details which will include the requested role.
    Also, please note that if you would like to assign a role directly anywhere (bypass approvals) you can use the switch: {direct_reference=1}
    -Geoff

  • Windows task scheduler to run batch file running a java program

    I have created a batch file that runs my SendEmail program. The batch file is in the same directory as the java program. The only line in the batch file is
    java SendEmail
    This works fine from the command prompt but from the windows task scheduler it fails to function. Any help on how I can overcome this problem will be greatly appreciated.
    THanks

    Looks okay. The classpath is set, too, I guess? Btw, try running javaw instead of java. I may err, but I think it can show a console, so you can watch any error messages.

  • Compatibilityy issue with windows XP and windows 8.1 for adobe photoshop elements 4.0

    Compatibility issue with windows XP and windows 8.1 for adobe photoshop elements 4.0?comcom

    You are going to have to contact Adobe on this one. We are other users.
    Sounds like it's not even an Apple question? Not sure.
    But the Adobe program changed, nothing changed in iTunes, right?

  • Major Issues with Windows XP and Sound Blaster Audig

    As mentioned in the post title, I'm using a Sound Blaster Audigy 4 card (recently purchased) and am having issues with Windows XP apparently because of it. When the card is physically installed, but the drivers are not, there are no problems. However, when the drivers are installed, Windows XP's "explorer.exe" crashes on boot, locking up the start menu and any other open windows. Now, I can manually end the explorer.exe application and then reboot it, and things will work... however, I cannot imagine that that is the intended functionality of this card. Additionally, I suspect the card in the failure of a game (Eve Online) but I would assume the issues are related. I've already narrowed the issue down to the Sound Blaster drivers. I've tried booting with the SB drivers but without the video card drivers, and the problem recurred. Every time I boot with the SB drivers installed, it fails. Without them, things seem to run normally. If it helps, I'm using an Intel Core 2 Duo E6400 processor, with GB of DDR800 RAM. I've installed Windows Service Pack 2 and all the other updates. The video card is a Geforce 7950 GT, with the latest NVidia Forceware (93.7) drivers. I've had this problem with both the Audigy drivers on the CD that came with the card and the newest ones downloaded from this website. My motherboard is a Gigabyte GA-965P-DS3, which includes onboard sound hardware, but I have disabled it at the BIOS level. I can provide dxdiag information or anything like that if necessary. Does anyone have any advice, suggestions, or have you encountered a similar problem?Message Edited by DerekKatz on 2-04-200603:2 AM

    Thanks for the helpful reply Dan
    I ran the file, CTZAPXX.exe, like suggested, and it ran without a problem. It installed the files and even required me to reboot my computer!!
    However, after a computer restart, I am still in the same boat. Codecs are installed, but the location of the device is "unknown". In Device manager, there are no unknown devices; it shows the codecs in the sound tab, but no actual hardware; as if my sound card does not exist.
    I use my computer for music, and my buddy needs me tomorrow night to play some music stored on my computer. I really do appreciate the help I am offered. I do not mean to sound impatient, but I really need this device fixed, or I will have to have him buy me a sound card....

  • CAT2 - Issue with workflow task TS20000460

    Reposting the query in ABAP General Section.
    CAT2 - Issue with workflow task TS20000460
    Waiting for any suggestion?
    Edited by: Amit Khare on Sep 10, 2009 3:01 PM
    Closing due to no responses.
    Edited by: Amit Khare on Sep 10, 2009 3:40 PM

    Hi,
    Could you figure out why the event linkage is breaking when you make it Gen.Task? I think, there is some problem in your wflow template. May be do a Syntax Check in the testing environment. If that time, some error happens, then by the System Defaults in the Event linkage SWETYPV, it will deactivate the linkage.
    I don't think this has got anything to do with you making TS as Gen.Task. Did you see the even trace to see what's the error for linkage breaking ?
    More info. would help in identifying the issue.
    Regards,
    venu

  • Weird issue with Windows Server 2008 R2 Print Server

    I have an issue with Windows 2008 R2 (VMWare Hosted) running Windows Print Server. 
    Prior to a small network change, the print server was working well, hosting about 80 different networked printers from various vendors. 
    We made a change (that we ended up rolling back) to the Client's DHCP Scope OPT 006 (DNS Servers). The DNS servers never quite worked right and broke AD authentication to different servers, and was just a mess.
    After rolling back we are not able to keep the printers online. If we ping them from the print server, the printer(s) never wake up, when a print job is submitted. If we ping them from one of the access switches, they work fine (until they fall back asleep),
    to prevent this, if we start a ping on the server AFTER waking them up from the Switch Ping, they stay online and no problems. 
    If we stop the ping, they fall back asleep at some point, and again, won't wake up without intervention/switch side ping. 
    Has anyone experienced anything like this? Any tips on how I could possibly resolve it? 
    Thanks in advance.

    Hi,
    According to your description, the issue seems to be that the printers can't keep online. Sounds like a power managerment issue. Why these printers fall into sleep? Have you consulted this issue with the manufacturer of these printers? Do these printers
    fall into sleep if them lose the contact with printer server? Have you tried to reset the printers?
    >>We made a change (that we ended up rolling back) to the Client's DHCP Scope OPT 006 (DNS Servers).
    DNS client will cache the recently queried records. If the DNS server has replied with a wrong records, communication issues will occur. To clear the DNS cache on a Windows device, please run the command below:
    ipconfig /flushdns
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Itunes issues with Windows having to do with Apple's patent

    I had a thought and am not sure if it's right. I was wondering if myissues with Apple Itunes store on Windows 7 has anything to do with the Patent laws and all with Apple and samsung and all that.

    I had the same issues with Windows 8 Consumer Preview. I installed on a fresh system and still had issues.
    I experienced extreme lag, with pretty much everything, and iTunes freezing once I attempted to change the currently playing song.
    I had a mess with compatibility mode and found out that running it in with Compatibility mode enabled for Windows XP (Service Pack 3) and as an administrator fixed it. It works now, however, there is a popup message that comes up on launch telling you to change the compatibility settings, but pressing "OK" makes it go away.
    How?
    Open Windows Explorer, and navigate to: "C:\Program Files\iTunes" (For 32bit) or "C:\Program Files (x86)\iTunes" (For 64bit), unless you changed it.
    Right-click on "iTunes.exe", select "Properties" from the context menu, and click the "Compatibility" tab.
    Under "Compatibility mode" check off "Run this program in compatibility mode for:" and select "Windows XP (Service Pack 3)" from the drop down menu.
    Further down under "Privilege level" check off "Run this program as an administrator".
    Click "Apply" and "OK".
    Should fix any issues, I have my default iTunes Media Folder Location within an external hard drive so unplugging all of my USB's wasn't an option.
    Hope I helped!

Maybe you are looking for