Scheduled Tasks -- Different Server posssible?

I have the basic of a basic go daddy account and can't access
the administrator page on my coldfusion. is there ANYWAY at all to
use a scheduled task?

Yeah I was thinking about those 2 things.
The thing is, is that its a game I am making and people get
$100 dollars every hour. It updates the time on their screen from
the server saying i.e. "you get paid in 38 minutes" My local
machine time differs from my coldfusion servers time and I want it
to be consistant, if the user is going to get paid, they better get
paid THAT SECOND.
I was just wondering what other way I could do it, because my
work around is just basically saying
"everytime a user logs in, activate the call to the money
machine and see if its pay time."
the problem with that is if nobody logs in, the people that
are already logged in want to be paid.
Coldfusion = backend
Flex = Frontend

Similar Messages

  • Calling schedule task on server

    I have a question about schedule task on server and semaphore operation on server.  
    For example, I have 10 lab computers and 1 server.  All the lab computers will do the same thing at different/same time through a LabVIEW exe.  They would generate some data, put them in the database, and access the html that the server has generated with the most recent data in the database.  I want to do the following:
    1. At the end of the program on the lab computer, I want it to trigger the scheduled task on the server, so that the html will get updated with the newest data.  How do I do that?  
    2. Since multiple lab computers can run at the same time, I want to create a semaphore that will allow only one lab computer access the scheduled task on server at a given time, and the rest of the computers have to wait.  It is a semaphore condition, but I am not sure how to do this in a server context.
    Thanks!
    Kudos and Accepted as Solution are welcome!

    jyang72211 wrote:
    The VI server approach sounds great.  The server will contain a VI that wait for a notification from a lab computer, and the server VI will run when it receives a notification.  Then, the server VI will send another notification back when the update is competed.  I can send a server/lab computer specified message within the notified to tell the notification apart.  I noticed that when multiple lab computers are sending notification to server at approximately the same time, some of the notification is dropped.  I think a notifier alone may not work for my application.  
    I think I need a semaphore to restrict access, since the lab computer will wait if a semaphore is taken; and a notifier from the server when the server is done with the task.  Did I over complicate things?  What do you think?
    If you haven't yet determined the communication mechanism, then how were you able to notice that some notifications are dropped?
    Using VI Server there's no need for a semaphore; LabVIEW will handle it for you.  VI Server documentation and examples are included with LabVIEW.  My suggested approach is:
    In the server program, create an action-engine type VI that stores a reference to a queue.  In your main server VI, create the queue, then store the reference to it in the action engine.  The action engine should have a second action to enqueue data.  Each of the client computers will obtain a reference to that subVI.  When the client completes its task, it calls that subVI - remotely, by reference using VI server, and passing the data to enqueue.  The server VI waits for new data in that queue and updates the HTML file as new data arrives.  If you only need the latest data from the most recent client connection, you could use a notifier instead of a queue.  LabVIEW will prevent more than one client from running the VI at the same time, the same way it does in a normal LabVIEW program that tries to run the same non-reentrant VI in multiple places concurrently.  This happens quietly, without generating an error, and you don't have to manage it at all.

  • Configuring status alerts on scheduled tasks in SCOM 2012 SP1

    I have spent all day looking for helpful documentation on configuring a SCOM alert that will notify on a scheduled task (call it task_1) that has failed to run.
    In event viewer, this status is being reported as Event ID 322. I'd like to report on this.
    Looking for the community's help to list out high level steps on getting this to work. Here's what I've already done:
    imported the YASC MP into SCOM from
    http://blogs.technet.com/b/yasc/archive/2008/04/16/monitoring-scheduled-taks-with-ops-mgr-2007.aspx
    under Authoring>searched for 'task' and found my MP listed under 'scheduled Task (Windows Server 2008 or higher)>Check Task Last Run Status>right click monitor>create a monitor>unit monitor...
    this is where i'm confused...
    the next window to pop up is asking for the type of monitor to create. I'd like to be able to select one that only reports on when the task has failed to run. 
    Has anyone been able to successfully configure this?
    Appreciate the help!

    Creating an alert based on an Event ID is really straightforward and does not request you to import any 3rd party Management pack (you can but you don't have to).
    For rundown of the steps required to accomplish this pls check the following blog:
    http://blogs.msdn.com/b/jjameson/archive/2011/03/18/operations-manager-alerts-for-event-log-errors.aspx
    Let me know if you have follow up question
    Pranav

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

  • Alternatives to PowerShell automation of Excel (Scheduled Task) in a Windows Server 2012 R2 world

    I have a handful of PowerShell scripts that ran as Scheduled Tasks on an old Windows 2008 SP2 server, which output reports as Excel workbooks with multiple worksheets, via a COM object. After migrating these scripts to a new Windows 2012 R2 server,
    these scripts no longer function. The Server 2008 system was running Office 2007, and the new Server 2012 R2 server has Office 2013 installed.
    What is everyone using on their Server 2012 R2 systems to automate generation of multi-sheet reports in Excel via PowerShell and Scheduled Tasks?
    I know that Microsoft has said that automating Office applications server-side in non-interactive mode, but it has worked in the past, until now. (https://support.microsoft.com/kb/257757)
    I've tried the OpenXML PowerTools for PowerShell (https://powertools.codeplex.com/), but Export-OpenXMLSpreadsheet will only export a single worksheet, and they don't support adding worksheets to existing files
    (am I missing something?). I understand the OpenXML PowerTools can be extended in C#, but I don't C#. The PowerShell cmdlets were released in Jan 2012, but don't look to have been updated since then (updates have been the core C# code).
    I've seen recommendations to add C:\Windows\(System32 or SysWOW64)\config\systemprofile\Desktop, but this hasn't worked on Server 2012.
    Has anyone been able to get Excel 2013 to cooperate on Server 2012 R2, or come up with a suitable alternative? I'd rather not start running these scripts from my workstation.
    EDIT:
    I'm not necessarily looking for an Excel answer, since there are OpenXML ways of doing things now without the Excel application.
    Here are some of the errors I'm getting when approaching this from different directions. When I use:
    $excel = New-Object -comobject Excel.Application$workbook = $excel.Workbooks.Add()
    Results in error:
    Exception calling "Add" with "0" argument(s): "Microsoft Excel cannot open or
    save any more documents because there is not enough available memory or disk
    space.
    • To make more memory available, close workbooks or programs you no longer
    need.
    • To free disk space, delete files you no longer need from the disk you are
    saving to."
    At C:\path\to\script.ps1:21 char:2
    + $workbook = $excel.Workbooks.Add()
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    The server is definitely not lacking for resources.
    I can copy a blank XLSX file and use .Open($xlFile) instead of .Add(), but then when I go to open a CSV file to copy/paste the content to a worksheet, I get this one:
    Exception calling "Open" with "1" argument(s): "The server threw an exception.
    (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
    At C:\path\to\script.ps1:65 char:2
    + $tempcsv = $excel.Workbooks.Open($CSVFile)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ComMethodTargetInvocation
    Things that I've tried so far, with no success:
    I created C:\Windows\System32\config\systemprofile\Desktop and C:\Windows\SysWOW64\config\systemprofile\Desktop as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0751119d-84d5-4a77-8240-1c4802f97375/powershell-scheduled-tasks-wont-start-excel?forum=winserverpowershell
    Add Local Launch and Local Activation permissions to the Microsoft Excel Application DCOM Config, Grant "Read & Execute, List folder contents, Read" permissions on the \config\systemprofile\Desktop folder. Grant "Modify, Read & Execute,
    List Folder Content, Read, Write" permissions for the account on the following folders:
    \config\systemprofile\AppData\Roaming\Microsoft
    \config\systemprofile\AppData\Local\Microsoft
    as suggested here:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/aede572b-4c1f-4729-bc9d-899fed5fad02/run-powershell-script-as-scheduled-task-that-uses-excel-com-object?forum=winserverpowershell
    @ jrv - I will try posting a similar question in the Excel 2013 forum, but since I'm looking for a scripting solution to produce an OpenXML spreadsheet, and not something that necessarily uses the Excel application (though such a solution would not be turned
    away), I thought this the more appropriate venue.
    (to reiterate from OP) I have seen and acknowledge Microsoft's statements regarding the unsupported nature of automating Office applications in non-interactive environments, but the truth of the matter is, supported or not, it worked in the past (Server
    2008), it's what I inherited from my predecessor, and I know I'm not the only one who has been using Excel in this way. I'm only asking fellow scripters, some of whom must also be using Excel in this "unsupported" fashion, how they are automating
    creation of their spreadsheet reports after moving to Server 2012. A different system modification to make the Excel comObject continue working as before? Direct manipulation of the OpenXML document? Other solutions that may or may not require launching the
    Excel application?

    #1 - Ask in Excel 2013 forum.
    #2 - Microsoft has repeatedlynoted that this is NOT a supported configuration for Office products.
    #3 - What errors are you getting?
    #4 - What have you done to debug this:
    #5 - No one can be of much help unless you post a very simple example of how this fails.
    ¯\_(ツ)_/¯

  • Access Denied Error For Shared Folder with Win Server 2008R2 Task Manager Scheduled Task

    Hi,
    I have scheduled a Task with the Task scheduler. It invokes an .EXE file after every 5 min.
    The application is supposed to access some files lying on a different Server's shared path, process them and move them across folders on the Shared path only.
    Problem: When the .EXE gets executed from the Task scheduler, I am getting "Access Denied to the Shared path" error. I have already given Full Control to Everyone as well as to the Account with which the Task has been configured with.
    Another important point to note is, if I run the .EXE manually, the solution is able is able to do everything intended; I don't get any Access Denied error.
    Kindly help me with what needs to be done in order that this issue is resolved. This is really urgent for me.
    Thanks a lot in advance..
    AC

    Hello Alex,
    first of all, make sure your task was correctly create: How to Create Advanced Tasks with the Task
    Scheduler.
    Please, read these:
    TechNet Library Task Security Context
    TechNet Forums post How
    does "Run with the highest privileges" really work in Task Scheduler ? - Look at the answer "...When you want to run a program with admin rights from a standard user account, you have to select "run whether the user is logged
    on or not" and select a user which is member of the admingroup."
    TechNet Forums post
    Log on as batch job right (written on previous post)
    serverfault Task Scheduler is not executing the program
    serverfault
    unable to schedule a task (access denied)
    UAC: Do you receive the User Account Control "Windows need your permission to continue" message to approve the scheduled application ?
    If yes, maybe "Run with highest privileges" option will not take precedence of the UAC. While the Admin Approval Mode for built-in Administrator account is enabled, UAC will still ask for approval according to the settings on the Behavior
    of elevation to prompt for the administrators. Check whether the "User Account Control: Admin Approval Mode for built-in Administrator account" is enabled. If yes, disable it or change the setting on "User Account Control: Behavior
    of elevation to prompt for the administrators" to elevate without prompting.
    Local Computer Policy ---> Computer Configuration ---> Windows Settings ---> Security Settings ---> Local policies ---> Security Options (source: Task
    Scheduler "run with highest privileges": does not work on Windows Server 2008 ?)
    Bye,
    Luca
    Disclaimer: This posting is provided AS IS with no warranties or guarantees, and confers no rights. Whenever you see a helpful reply, click on [Vote As Help] and click on [Mark As Answer] if a post answers your question.

  • Windows Server Backup scheduled task run successfully but backup do not start (not running) on Windows Server 2012

    Hi,
    A backup job has been setup on Windows Server 2012 (Platform: Win32NT; ServicePack: ; Version: 6.2.9200.0; VersionString : Microsoft Windows NT 6.2.9200.0) via Windows Backup Software UI (Local Backup 1.0).
    It is appearing as a scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup" belonging to user 'nt authority\system' in task scheduler.
    The problem is that the Backup job never start despite the scheduled task running and completing successfully (when run automatically or manually)!
    Would you be able to explain why and assist in resolving that issue?
    Here is what we know:
    When the backup is run manually via the Windows Backup Software UI, it works fine.
    When the backup is run via command line (as set in schedule task) in a cmd command prompt (as local/domain 'administrator' or as 'nt authority\system' which is possible by running command prompt via 'PsExec.exe -i -s cmd'), something like "%windir%\System32\wbadmin.exe
    start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet", it works fine.
    If you manually run the preset scheduled task while logged in as administrator, the task run and complete successfully but the backup job does not start.
    Idem if you schedule task is run automatically at scheduled time.
    The schedule task run and complete successfully but the backup job does not start.
    It is confirmed by running the following in a command prompt as 'nt authority\system':
    schtasks /run /tn "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup"
    SUCCESS: Attempted to run the scheduled task "\Microsoft\Windows\Backup\Microsoft-Windows-WindowsBackup".
    Despite success result, the Backup job does not start running...
    No errors or warning appears anywhere in Event Logs (Microsoft > Windows > Backup or Task Scheduler) nor in the scheduled task History tab. The schedule task complete successfully but no Backup job is run...
    If scheduled task automatically set by Windows Backup software is duplicated (copied) and set manually it runs fine as 'administrator' and as 'nt authority\system' (subject that 'nt authority\system' is added to the 'Backup Operators' AD group).
    Here is an export of the current pre-set schedule task, is there any settings that need to be changed to make it works?
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Author>MYDOMAIN\SERVER1</Author>
        <SecurityDescriptor>D:AR(A;OICI;GA;;;BA)(A;OICI;GR;;;BO)</SecurityDescriptor>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger id="Trigger 1">
          <StartBoundary>2014-07-14T21:00:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>S-1-5-18</UserId>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>true</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>false</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
        <UseUnifiedSchedulingEngine>false</UseUnifiedSchedulingEngine>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>%windir%\System32\wbadmin.exe</Command>
          <Arguments>start backup -templateId:{f11eb3aa-74e7-4ff4-a57b-d8d567ee3f77} -quiet</Arguments>
        </Exec>
      </Actions>
    </Task>
    Thank you in advance for your feedback.

    Once again, the issue is not to run the backup manually from the command line but to have it run via the scheduled task setup by the Windows Backup software.
    By default, the schedule task is to be run as NT Authority\System, and when run under this account, the backup does not start (even though account is member of Backup Operators) and job can manually be run via elevated command prompt. This is not a normal
    behavior and constitute a major bug in Windows Server 2012.
    From my understanding the NT Authority\System account is a built-in account from Windows that should by default be part of the Administrators group (built-in) even though it does not explicitly appears like it in AD by default.
    This account shall have by default Administrators rights and Backup Operators rights (via the Administrators group) without being explicitly added to those groups (http://msdn.microsoft.com/en-gb/library/windows/desktop/ms684190%28v=vs.85%29.aspx). By design
    it is supposed to be the most powerful account which has unrestricted access to all local system resources. If that is not the case (as it seems) then this would constitute a major bug in Windows Server 2012 edition.
    As said previously and as you confirmed, currently by default NT Authority\System on Windows 2012 server cannot start backup manually via an elevated command prompt unless it is manually added to Backup Operators (or Administrators) group. But wouldn't that
    constitute a bug of Windows Server 2012?
    Our server has not yet been restarted since I added NT Authority\System account to the Administrators group explicitly manually so I cannot yet confirmed it would sort the issue. Indeed it is heavily in use so cannot easily be restarted. Will confirm when
    done.
    We also have an additional problem where after a while of last reboot, part of the Exchange ECP can no longer be properly loaded in the web browser due to compilation error (compilation is done via NT Authority\System account which seems to no longer have
    sufficient right to compile .NET code). What is strange is that it works at first and then stop working at some point... I am hopeful that adding NT Authority\System to the Administrators group would sort this issue as well but once again, that shall not be
    needed!!!
    Could a Windows Server 2012 update introduced some security policy changes or else that prevent NT Authority\System to have full power?

  • Scheduled Task will run on Windows 7, but will not run on Server 2008 R2

    So I have a scheduled task that uses nircmd to take a screenshot and then email it to a few company emails each night.  With our old Exchange 2003 server, everything works prefectly on the 2008 R2 server (using SMTP).  But since we upgraded to
    Exchange 2010 it no longer seems to work (at least it never sends the email anymore).
    What confuses me more is that this exact task (I exported it) runs perfectly fine on a Windows 7 Pro computer, even using the new Exchange 2010 SMTP address.
    Both machines are logged in as the same user.  I can even login as the domain administrator on each machine and still have the same issue.  Only the Windows 7 Pro machine will successful run the task.  To restate it, the Server 2008 R2 server
    will run the task successfully if I use the old Exchange 2003 SMTP address.
    Thanks for any advice!

    Hi joshz451z,
    Would you please let us know current situation of this issue? Did you refer to Dave's suggestion and check that relevant logs? If any update, please feel free to let us know.
    Best regards,
    Justin Gu
    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]

  • Server 2008 and MS Access 2007 Scheduled Task

    I have a Server 2008 with MS Access 2007 installed.
    I created a task that is designed to lanuch Access, open a designated database, and run a macro. The macro calls a function within the database that generates a series of reports in PDF format for use in a web app.  The task was created to
    run a local user, with credentials stored.  This whole process has been running fine for many months.  A recent group policy change has caused this to now stop.
    The GP now states that user credentials can no longer be stored.  I changed the task so that it is to run as SYSTEM but this is not working either.  It seems access is launching as SYSTEM, I can see this in the task manager, but it does not seem
    to open my database since no .ldb is being created.  I also added logging code to my function and nothing ever gets in there.  I think the issue is that there is no profile for SYSTEM, so when access starts running it's looking to build a profile
    for that user.
    Does anyone know how I can make this work?

    Hi Scott,
    Based on my research, the functionality of storing password for some Group Policy Preferences is being removed because the password was stored insecurely.
    Especially for Scheduled Tasks and Data Sources, we will be unable to achieve the same goals that were available through the non-secure functionality of Group Policy Preferences passwords.
    As a workaround, scheduled tasks still can run in the context of the local service. 
    More information for you:
    MS14-025: Vulnerability in Group Policy Preferences could allow elevation of privilege: May 13, 2014
    http://support.microsoft.com/kb/2962486/en-us
    Best Regards,
    Amy

  • Windows 2003 server scheduled tasks not work properly. Please help.

    I created a couple of windows shell scripting programs. When I call them from command line, it works well. Then I use Task Scheduler to schedule them to be run daily. The strange thing is: If I log into server and open Task Scheduler window. The scheduled tasks will run automatically and execute with result code 0x0. It works well. However, if I just set up Task Scheduler and log out of the server, the scheduled works will not run with result code 0x80. Here is the log info
    "programname-parametername.job" (programname.cmd)
     Started 1/28/2010 11:20:00 PM
    "programname-parametername.job" (programname.cmd)
     Finished 1/28/2010 11:20:00 PM
     Result: The task completed with an exit code of (80).
    I used windows adminstrator account, not system account to schedule the work. I changed scheduled work to be run by my admin account, not by system account. Please advise me where is the problem and how to fix it. Thanks in advance.

    Hi Polarisws,
    According to your description, I understand that your scheduled task did not run when the user is not logged in the system.
    Please go to the services.msc and select the "task Scheduler" service, double-click it and go to "Log On" page, enable the option "allow service to interact with desktop" and test the result.
    Regards,
    Wilson JiaThis posting is provided "AS IS" with no warranties, and confers no rights.

  • What permissions are required to see scheduled tasks on a remote server using SCHTASKS /S {server}?

    When I attempt to run SCHTASKS /S {server} some servers return:
    ERROR: Access is denied.
    On servers where I am a member of the local Administrators group I can run this command successfully. There are many servers where it is not appropriate for me to be a local Administrator but would be fine for me to monitor the status of scheduled tasks
    on the server.
    What permissions need to be granted to me to see the scheduled tasks and not be a local administrator? Is this even possible?
    Thanks,
    Matthew

    Hi Matthew,
    Based on my research, any user can schedule a task on the
    local computer and they can view and change the tasks that they scheduled; however, to schedule, view, or change a task on a
    remote computer, we must be member of the Administrators group on the remote computer.
    Therefore,
    What permissions need to be granted to me to see the scheduled tasks and not be a local administrator? Is this even possible
    It is not possible.
    More information for you:
    Schtasks
    http://technet.microsoft.com/en-us/library/cc725744(WS.10).aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Server 2012 Scheduled tasks not running after DST

    Since the DST change this weekend the weekly scheduled tasks on our 2012 standard server are not running.  The schedule show the correct next run time, but the task never runs.  The server correctly adjusted for the DST changes (We are in CST in
    the US) and if you look in the date time it notified us that the clock was set forward.
    Any ideas?

    Hi Mark,
    Before going further, would you please let me confirm whether only weekly scheduled tasks t run? In other words,
    did some daily scheduled tasks run smoothly?
    Based on current situation, please create a new weekly
    scheduled task and check if encounters the same issue.
    If this issue still persists. Please let me confirm if you make scheduled task run some commands or a script,
    or others I misunderstand. For an example, if run a script, please directly run it in the Windows Server 2012 Standard and check if there any issue occurred.
    Meanwhile, please open Task Scheduler, select this problematic weekly scheduled task, click General tab. Please
    check which user account was used to run this task. And please check Run with highest privileges, then check if can solve this issue.
    In addition, please check History tab in task Properties. Please pay attention on the time-point when the weekly
    scheduled task should be ran, and check if you can find some events at that time-point. It may help us to go further analysis.
    By the way, there is a similar thread. Please refer to.
    Certain scheduled tasks do not run anymore after DST change
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/47483baf-e7af-4bff-9db4-9c3d0ead2b41/certain-scheduled-tasks-do-not-run-anymore-after-dst-change?forum=winserver8gen
    Hope this helps.
    Best regards,
    Justin Gu

  • Windows 2008 Server SFTP Scheduled Tasks fails to execute sftp commands

    I have a scheduled task that pulls in Human Resources data using sftp public / private key combination.  It was associated with user who has recently left the company and their account has been disabled. Everything I've read
    so far leads me to believe that I need to establish the sftp connection and create a registry entry for another user...   I don't want this application to be dependent on any particular user.   I've stored the key set on a share that is
    open to any system administrator on the server and created a batch job similar to:
    Del oldFile.txt
    "psftp.exe <user>@<server> -i <PrivateKeyLocation> -b <FtpComands>". 
    The old file gets deleted fine via scheduled task or manual, but the new file only gets pulled when running it directly from my account. 
    Any suggestions would be greatly appreciated.

    The list of ftp commands that you are passing in to psftp.exe may need user specific resources (for example, a mapped drive). But it's difficult to say though without looking at what the psftp commands do. If the available commands for psftp.exe
    are not flexible enough, you might want to look at other solutions like Sysax FTP Automation.

  • Windows Server 2008 R2 GPO schedule task for copying folders

    Dear spicers,I have spend many hours trying to get my gpo working to sync a fewshared networkfolders with office templates to users default office 2010 template location.I created a user conf gpo: preferences\control panel settings\schedule tasks\Action: UpdateName: Mirror FoldersRun: \\dfsname\netlogon\scrips\RobocopyScript.cmdMarked: Enable (scedule task runs at specific time)schedule taks: At system startup Starttime: 8:00:00Advanced: everything unmarkedTab settings: everything unmarkedTab common: Marked Run in logged-on users....Script: robocopy "\\dfslocation\public\Prog\Documentsjablonen\Office" "C:\users\%username%\AppData\Roaming\Microsoft\Sjablonen" /MIR /R:10 /W:30 Is there anyone who is able to help me out please. I have read many topics on the internet etc. When I run the script local it is working.Thanks in advance.Kind...
    This topic first appeared in the Spiceworks Community

    Thank you for your help with this but I was able to get it resolved using these steps.
    Here is the fix that worked for me.
    Start > Run > regedit
    Navigate to HKLM\SOFTWARE\MICROSOFT\RPC\INTERNET 
    Export this key to back it up first, then delete the whole Internet key (and it's sub-keys). 
    Reboot your system
    Task Scheduler should now work.
     https://social.technet.microsoft.com/Forums/windows/en-US/0c438376-1486-4ae4-9847-2de7a8767f27/task-scheduler-service-has-encountered-rpc-initialization-error-in?forum=itprovistasp

  • BI Schedule and Presenation Server on Different Servers Configuration

    I'm having a problem getting my iBots to run and deliver the information to the catalog with the following configuration:
    2 Presentation Servers on Windows with IIS for NTLM authentication (via a Load Balancer)
    OBIEE Server and Scheduler, and Presenation Server on Solaris (the Presentation Server on Solaris will be turned off)
    The catalog between the 2 Windows Servers are are shared. When I create an iBot on the Windows the request is sent to the Scheduler on Solaris and errors out with the following message:
    [nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Path not found (
    /shared/_ibots/Test Email from UAT)^M
    Error Codes: U9KP7Q94^M
    My question is why does the scheduler send the alert to the Presentation Server on the Solaris box and not the shared Presentation Server with the shared catalog on the Windows Servers. Am I missing something in the configuration?
    Thanks,
    Chuck

    I figured it out. I had to re-run the schconfig utility on UNIX and reconfigured the server from localhost:9710 to the actual server name.

Maybe you are looking for

  • Returning Current Information against Historical Rows

    Hi - Noob question, I am trying to write a holiday report in OBIEE, the problem I'm having is that the Supervisor displayed by the report is the supervisor at the time of the holiday rather than the current supervisor.  Is there a way (without updati

  • Update bank Details IT 9 on ESS

    Hello Expert, An Employee belongs to a certian payroll area MM - is trying to update his bank details with date 01.06.2010 - system is throwing error that master data changes to payroll past is not possible. the payroll for payroll area MM is already

  • How to make duplicates of a DVD-R I made?

    I have a new 24" iMac and am trying to make copies of a DVD I personally made. It's on a DVD-R disc and whenever I've tried making a burn file, or another file to copy it into from the DVD inserted in the machine it seems to be only copying an alias

  • Prkc 1002 during clusterware installation

    Hi, At the time of oracle cluster installation i got the below error : WARNING: Error while copying directory /u01/app/oracle/product/10.2.0/crs_1 with exclude file list 'null' to nodes 'prod2'. [PRKC-1002 : All the submitted commands did not execute

  • Mouse works fine, great in other browsers but barely works in firefox

    I'm about to permanently ditch Firefox as this is most annoying. Mouse performs perfectly in other browsers - I'd prefer to stay with Firefox but with this problem unless I can fix it I'm thru its just too annoying and time-consuming. Mouse doesn't s