Running EXE Duplicate task in Window Task Bar

When I am running a particular exe, I am always getting two items in my window taskbar.  One time would says "programX.vi", and the other one would says just "programX".   I don't need two.  I just want one on the window task bar.  How do I get rid of one?  They are both referring to the same exe running.
Kudos and Accepted as Solution are welcome!
Solved!
Go to Solution.

See here:
http://forums.ni.com/t5/LabVIEW/exe-application-ap​pears-twice-in-the-task-bar/m-p/346710/highlight/t​...
Then go here:
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Get-​rid-of-the-second-LabVIEW-window/idi-p/1444130

Similar Messages

  • How to run Powershell script (function) through Windows Task Schduler ??

    Hello All,
    i have Powershell script which is created as a function. I have to give parameters to run the script. And it is working fine. Now i want to run this script through windows task scheduler but it is not working. I dont know how to call powershell function
    through task scheduler.
    From command line i run it like this:
    . c:\script\Get-ServiceStatusReport.ps1
    dir function:get-service*
    Get-ServiceStatusReport -ComputerList C:\script\server.txt -includeService "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail mail01.xxx.gov.pk
    In windows Task scheduler I am giving this: it runs but i dont receive any output :
    Program/Script:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Parameter:
    -file ". 'Get-ServiceStatusReport.ps1 -ComputerList C:\script\server.txt -includeService  "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail  mail01.xxx.gov.pk'"
    Please HELP !!!

    Thanks for the reply:
    The script is already saved as Get-ServiceStatusReport.ps1 .
    On powershell it does not run like .\Get-ServiceStatusReport.ps1 (parameter).
    But i have to call it as function:
    Like this:
    Get-ServiceStatusReport -ComputerList C:\script\server.txt -includeService "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail mail01.xxx.gov.pk
    As you said:
    I tried to run it like this:
    Program/Script:
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Parameter:
    -file "c:\script\Get-ServiceStatusReport.ps1 -ComputerList C:\script\server.txt -includeService  "Exchange","W32Time" -To [email protected] -From [email protected] -SMTPMail  mail01.xxx.gov.pk'"
    But its not working , on scheduler its giving error: (0xFFFD0000)
    Please HELP !!!
    WHOLE SCRIPT:
    function Get-ServiceStatusReport
    param(
    [String]$ComputerList,[String[]]$includeService,[String]$To,[String]$From,[string]$SMTPMail
    $script:list = $ComputerList
    $ServiceFileName= "c:\ServiceFileName.htm"
    New-Item -ItemType file $ServiceFilename -Force
    # Function to write the HTML Header to the file
    Function writeHtmlHeader
    param($fileName)
    $date = ( get-date ).ToString('yyyy/MM/dd')
    Add-Content $fileName "<html>"
    Add-Content $fileName "<head>"
    Add-Content $fileName "<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>"
    Add-Content $fileName '<title>Service Status Report </title>'
    add-content $fileName '<STYLE TYPE="text/css">'
    add-content $fileName "<!--"
    add-content $fileName "td {"
    add-content $fileName "font-family: Tahoma;"
    add-content $fileName "font-size: 11px;"
    add-content $fileName "border-top: 1px solid #999999;"
    add-content $fileName "border-right: 1px solid #999999;"
    add-content $fileName "border-bottom: 1px solid #999999;"
    add-content $fileName "border-left: 1px solid #999999;"
    add-content $fileName "padding-top: 0px;"
    add-content $fileName "padding-right: 0px;"
    add-content $fileName "padding-bottom: 0px;"
    add-content $fileName "padding-left: 0px;"
    add-content $fileName "}"
    add-content $fileName "body {"
    add-content $fileName "margin-left: 5px;"
    add-content $fileName "margin-top: 5px;"
    add-content $fileName "margin-right: 0px;"
    add-content $fileName "margin-bottom: 10px;"
    add-content $fileName ""
    add-content $fileName "table {"
    add-content $fileName "border: thin solid #000000;"
    add-content $fileName "}"
    add-content $fileName "-->"
    add-content $fileName "</style>"
    Add-Content $fileName "</head>"
    Add-Content $fileName "<body>"
    add-content $fileName "<table width='100%'>"
    add-content $fileName "<tr bgcolor='#CCCCCC'>"
    add-content $fileName "<td colspan='4' height='25' align='center'>"
    add-content $fileName "<font face='tahoma' color='#003399' size='4'><strong>Service Stauts Report - $date</strong></font>"
    add-content $fileName "</td>"
    add-content $fileName "</tr>"
    add-content $fileName "</table>"
    # Function to write the HTML Header to the file
    Function writeTableHeader
    param($fileName)
    Add-Content $fileName "<tr bgcolor=#CCCCCC>"
    Add-Content $fileName "<td width='10%' align='center'>ServerName</td>"
    Add-Content $fileName "<td width='50%' align='center'>Service Name</td>"
    Add-Content $fileName "<td width='10%' align='center'>status</td>"
    Add-Content $fileName "</tr>"
    Function writeHtmlFooter
    param($fileName)
    Add-Content $fileName "</body>"
    Add-Content $fileName "</html>"
    Function writeDiskInfo
    param($filename,$Servername,$name,$Status)
    if( $status -eq "Stopped")
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$servername</td>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$name</td>"
    Add-Content $fileName "<td bgcolor='#FF0000' align=left ><b>$Status</td>"
    Add-Content $fileName "</tr>"
    else
    Add-Content $fileName "<tr>"
    Add-Content $fileName "<td >$servername</td>"
    Add-Content $fileName "<td >$name</td>"
    Add-Content $fileName "<td >$Status</td>"
    Add-Content $fileName "</tr>"
    writeHtmlHeader $ServiceFileName
    Add-Content $ServiceFileName "<table width='100%'><tbody>"
    Add-Content $ServiceFileName "<tr bgcolor='#CCCCCC'>"
    Add-Content $ServiceFileName "<td width='100%' align='center' colSpan=3><font face='tahoma' color='#003399' size='2'><strong> Service Details</strong></font></td>"
    Add-Content $ServiceFileName "</tr>"
    writeTableHeader $ServiceFileName
    #Change value of the following parameter as needed
    $InlcudeArray=@()
    #List of programs to exclude
    #$InlcudeArray = $inlcudeService
    Foreach($ServerName in (Get-Content $script:list))
    $service = Get-Service -ComputerName $servername
    if ($Service -ne $NULL)
    foreach ($item in $service)
    #$item.DisplayName
    Foreach($include in $includeService)
    write-host $inlcude
    if(($item.serviceName).Contains($include) -eq $TRUE)
    Write-Host $item.MachineName $item.name $item.Status
    writeDiskInfo $ServiceFileName $item.MachineName $item.name $item.Status
    Add-Content $ServiceFileName "</table>"
    writeHtmlFooter $ServiceFileName
    function Validate-IsEmail ([string]$Email)
    return $Email -match "^(?("")("".+?""@)|(([0-9a-zA-Z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-zA-Z])@))(?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,6}))$"
    Function sendEmail
    param($from,$to,$subject,$smtphost,$htmlFileName)
    [string]$receipients="$to"
    $body = Get-Content $htmlFileName
    $body = New-Object System.Net.Mail.MailMessage $from, $receipients, $subject, $body
    $body.isBodyhtml = $true
    $smtpServer = $MailServer
    $smtp = new-object Net.Mail.SmtpClient($smtphost)
    $validfrom= Validate-IsEmail $from
    if($validfrom -eq $TRUE)
    $validTo= Validate-IsEmail $to
    if($validTo -eq $TRUE)
    $smtp.UseDefaultCredentials = $true;
    $smtp.Send($body)
    write-output "Email Sent!!"
    else
    write-output "Invalid entries, Try again!!"
    $date = ( get-date ).ToString('yyyy/MM/dd')
    sendEmail -from $From -to $to -subject "Service Status - $Date" -smtphost $SMTPMail -htmlfilename $ServiceFilename

  • Running .exe flash file in Windows 7

    Hi,
    we have a flash .exe file generated from adobe_captivate5.5.I tried to run that file in windows 7.This error is coming
    My account has administrative previlege.If i right click and select run as administrator it runs fine.But i need to run without doing that.Why its asking for run as administrator although i have administartor permission?how to avoid this?
    Thank you

    Hi there
    Having an account with Admin privileges is not the same thing as running applications in administrative mode. Sorry.
    I think the only way you will overcome this is by configuring Windows 7 to turn off User Account Control.
    @Lilybiri, I think they were describing running a Captivate project produced as an EXE and not running Captivtate itself.
    Cheers... Rick

  • Disguised Windows task bar if executable is running.

    Hi,
    I configured my vi in such a way that the Windows task bar is disguised while the vi is running. However, after I built an executable with the application builder, the Windows task bar remains visible while the exe is running. Why's that? How can I make the Windows task bar to vanish if the executable is running? I'd like to have the full screen modus, if the program runs.
    Thanks,
    Peter

    I'm not seeing the title bar when I run an exe in which it was removed in configuring the windows appearance. When you are building the application, check the settings under "VI settings" to make sure that they agree with what you configured in the vi itself.
    I built a very simple vi and when it runs there is a borderless frontpanel (see attached)
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    titlebar.JPG ‏23 KB

  • Windows task bar locks when .vi is running

    The Windows task bar locks when the .vi is running.
    How do I enable the windows task bar so I can multi-task when my .vi is running? Is this new with LabVIEW7?

    Thanks Allen, I thought you may have had the answer as I do have a clock function running all the time, but I have a delay in that loop. I figured out what is going wrong. If I maximize the .vi, then the task bar will not function when the .vi is running. So, I did not maximize the .vi, and chose 'Size the front panel to the width and height of the entire screen' on the Window Size category under vi properties, and the task bar now works when the .vi is running. I feel that I should be able to have the front panel maximized, and still use the task bar. I do have 'Always on top' selected in my Start/Settings/Taskbar options. Thanks!

  • Thinkvanta​ge Toolbox icon on the Windows Task Bar

    I have tried removing the Thinkvantage icon from the task bar; but it returns when I reboot.  Am I missing something?

    ok, you guys are going to love me, or everyone else having this issue at least.   Its not a total fix, but asthesically it works. 
    Issue: Thinkvantage Toolbox icon hijacks the "explorer" icon. 
    to get it back 
    first if you have modified the properties of Thinkvantage Toolbox - then change it back.
    Start > all programs > Thinkvantage Toolbox > right click > properties > target = (paste this in there) 
    C:\Windows\explorer.exe ::{26EE0668-A00A-44D7-9371-BEB064C98683}\2\::{A8A9​1A66-3A7D-4424-8D24-04E180695C7A}\Provider%5CMicro​soft.Base.DeviceDisplayObjects//DDO:%7B00000000-00​00-0000-FFFF-FFFFFFFFFFFF%7D\cat{8AA6B0C2-14A6-4da​8-BF36-F7D93ACE9ACE}
    Next - right click on the pinned Thinkvantage Toolbox icon > right click where it says Thinkvantage Toolbox > target = %windir%\explorer.exe > in the same window > Change icon > the look for icons path is corrupt > paste %windir%\explorer.exe in the bar, then choose the "folder" icon. > OK > OK > DONEEE!!!!!
    Thinkvantage Toolbox = opens Thinkvantage Toolbox
    windows explorer icon = opens libraries directory. 
    You're welcome. 

  • Hiding windows task bar

    I am working on a custom TS operator interface written in CVI 5.5. I am trying to hide the windows task bar. I have used
    SetPanelAttribute (panel, ATTR_SYSTEM_MENU_VISIBLE, 0);
    and this works, except that when my modelsupport DLL puts a popup on the screen, the taskbar becomes visible again while the popup is present. How can I stop this?

    Hi Byron,
    I have tried to reproduce the problem you are describing and it seems to work fine for me. One thing I am somewhat confused by is that you say you used the SetPanelAttribute call to hide the "windows taskbar". I believe you are actually talking about the "system menu" that is accessed via the icon on the left side of a window's title bar, as the "windows task bar" is actually the floating menu bar displayed at the bottom of the Window's desktop and contains the infamous Start menu.
    Anyhow, I have created an example TS 2.0.1 sequence file that calls a CVI dll which spawns a new thread and displays a panel that has the system menu hidden. If you run the sequence you will see that when the modelsupport.dll displays the modal UUT serial number dialo
    g and pass/fail banner dialogs, it does not change the visibility of the system menu displayed by the CVI dll UI. (the reason I create new threads to display the dialog is so that the call to the dll does not wait on RunUserInterface to complete and returns execution to the sequence file immediately).
    **Note: The dll project was created in CVI 6.0, and the sequence file in TS 2.0.1, please state what versions of CVI and TS you are using if you want help with a specific version. You do not need TS 2.0.1 to use the dll I created, just simply call the lone function in the dll in a sequence file with the CVI adapter and run the file with Test UUTs in whatever version of TS you have. Since the dll was created in CVI 6.0 you may need to install the CVI 6.0 RTE, which is available on ni.com under the downloads section, and it is fully compatible with previous versions of CVI.
    So, just give this a shot to see if you can discern anything from it.
    Jason F.
    Applications Engineer
    Nati
    onal Instruments
    www.ni.com/ask
    Attachments:
    nosystemmenu_CVI+TS.zip ‏670 KB

  • 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.

  • Firefox 4 does not start but I can see Firefox.exe in Windows Task Manager, nothing in Applications

    I am on Window 7/32bits machine. When I start Firefox 4 nothing loads. I looked into Windows Task Manager, I can firefox.exe in the processes but nothing in Applications.
    Here are few things I have tried but didn't work for me.
    - Restarted Computer and tried to open Firefox, waited for half an hour nothing happens.
    - did 'End Process' in Windows Task Manager, Processes and tried in again
    - reinstalled into different folder and tried to run from there, still the result is same.
    Is there anything else I can try to resolve this issue.

    See:
    * http://kb.mozillazine.org/Browser_will_not_start_up
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls

  • How to close running applications listed in Application tab of Windows Task Manager

    Hii,
    I am using Labview7.0. I want to close all running applications except my labview based exe in Applications tab of Windows Task Manager. So pl help me how can I do it through labview7.0 Programmatically.
    Vijtin....

    You can use the utilities attached, when you unzip it you can open the lvwutil32 folder and then you will find Winevent.llb inside it is the Quit Application.vi  is very easy. There is also a Get Task List.vi which help you too.
    I hope this info will help you, let me know if you need more help
    AJJR
    Attachments:
    lvwutil32.zip ‏685 KB

  • Recently when I'm running Firefox (I think usually during downloads) the system will hang, but allows me to close the browser (at least it appears to close -- not showing up as running in the Windows Task Manager).

    But when I try to open Firefox again, I get this error message: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. But I can't find any way to close Firefox. Twice, I've tried removing and reloading Firefox, but it's still happening. Any ideas how to deal with this?

    Open the Windows Task Manager > '''Processes''' tab and look for '''firefox.exe'''.

  • Windows task scheduler not running

    Hi All!
    (First of all, sorry for my poor english!)
    I have a couple of windows servers 2008 R2 Enterprise SP1 on my company and one of them doesnt work like it should and was instaled from zero last week.
    I create a bat file to do some stuff and because it dosnt work, for test porpouses i made a bat file realy simple, that wirtes file
    Here is the bat file code:
    echo "text_example" > C:\scripts\works.txt
    my user has write permisions and the task is configured to run with my user.
    If i run my bat manualy works fine.
    If this job is set to the task scheduler  "run only if user is loged" also works fine
    BUT when i set the task to run wheter "the user is logued or not" and I log off and return after the job was triggered, i found that the last run date is the one i set but the last run result is (0xc000142) and the task ovbiusly didnt work. 
    Im figthing with this problem las 4 days and i cant find why is this appening (its trange that in the other servers in the same group works fine)
    Here is the task code:
    <?xml version="1.0" encoding="UTF-16"?>
    <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2014-11-17T14:07:58.9325949</Date>
        <Author>GROUP\rrepetto</Author>
      </RegistrationInfo>
      <Triggers>
        <CalendarTrigger>
          <StartBoundary>2014-11-17T17:46:00</StartBoundary>
          <Enabled>true</Enabled>
          <ScheduleByDay>
            <DaysInterval>1</DaysInterval>
          </ScheduleByDay>
        </CalendarTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>GROUP\rrepetto</UserId>
          <LogonType>Password</LogonType>
          <RunLevel>LeastPrivilege</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <Exec>
          <Command>C:\scripts\test.bat</Command>
        </Exec>
      </Actions>
    </Task>
    Any help will be greatly appreciated !
    Thanks In advance!
    Ramiro

    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 !!!!!

  • 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.

  • 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

  • Firefox won't start after upgrade, it appears on the windows task manager but closing the firefox.exe doesn't help

    I upgraded to firefox 4 and it asked me to restart the system, since then it stopped working. it just won't open. I have windows xp and when I click on the firefox icon I see firefox.exe in the windows task manager under 'processes' I tried ending the task but it wont help. i also tried removing and reinstalling.. didn't help either :( I also checked if Kaspersky might be blocking it but it isn't

    The only thing that worked for me was installing an older version (3.6) and it started working fine... I dont even want to try upgrading it to 4 again..

Maybe you are looking for

  • ABAP report to run other ABAP reports dynamically

    Hi there, I'm looking for an standard SAP or commercial solution ABAP Report that completely or partially meet the following requirements: The report must start ABAP reports on the system and write the result in files on the SAP server.        * The

  • Schedule line timestamp different from Order Create-Date/timestamp

    Scenario: Created an order at 3:30pm CST with the requested delivery date of the material as 7/10/2011. It seems like that when the order is saved, CRM attaches the time-stamp to the requested delivery date. However, the timestamp getting attached to

  • Database tables in SD

    Please let me know what all database tables are used to store the data in the entire cycle of SD. Thanks in advance, Vs

  • Limit dimension to members of particular hierarchy

    Hi, I have a dimension say dim1 which has two hierarchy h1 and h2. I want to limit my dimension to have members present in only h1 hierarchy. How can I do this? Thanks in advance. Thanks Brijesh

  • Gui-Session canceld after sending E-Mail

    Hello together, after client installation of Windows 7 - 64 bit and SAP Gui 7:30 PL7 occurred in a small number of SAP users following error. SAP Gui session is sporadically shot down by sending an e-mail from Outlook 2003. All registered Sap applica