How to run powershell in adminsitrator mode using invoke-command

Hi,
I'm trying to run the below script from the remote machine I'm getting the output as below and the msnpatch.exe is not getting executed on the remote machine(testserver).
When I run the same command on the testserver, a new powershell session is getting opened and able to run msnpatch.exe.
So, how to invoke powershell in runas administrator mode and run msnpatch.exe on that administrator window is my question.
Thanks for your time. Your reply is highly appreciated.
Script:
Invoke-Command -ComputerName testserver -ScriptBlock {
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
$newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
$newProcess.Verb = "runas"
$newProcess.Arguments="-noprofile -command msnpatch.exe"
[System.Diagnostics.Process]::Start($newProcess)
Output:
PS C:\Users\v-sridal> Invoke-Command -ComputerName 1f4-00073 -ScriptBlock{
>> $myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent()
>> $myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID)
>> $newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
>> $newProcess.Verb = "runas"
>> $newProcess.CreateNoWindow = "true"
>> $newProcess.Arguments="-noprofile -command msnpatch.exe"
>> [System.Diagnostics.Process]::Start($newProcess)
>> }
>>
Handles  NPM(K)    PM(K)      WS(K) VM(M)   CPU(s)     Id ProcessName                   
PSComputerName
      4       4      244       1156     8     0.06   4968 powershell                    
testserver

There is no elevation when running remotely. UAC only affects local sessions. You cannot elevate a remote session.
¯\_(ツ)_/¯

Similar Messages

  • How to run SPAU & Custom Objects Mod

    Hi
    I am new to upgrade , Can anyone guide me how to run
    SPAU & Custom Objects Mod
    Thanks
    Parin
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Oct 30, 2011 10:41 AM

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

  • How to run labview in debug mode

    Two questions:
    1. how to run labview in debug mode
    2. how to save default text values in labview

    Hi,
    consider i have streaming bits of data as input who length varies each time. I need to select 11 bits at a time and apply (15,11) hamming coding for the inputs till the input is stopped.
    I have designed the hamming encoding and decoding block. I need a methodology to select 11 bits at a time from the input and provide to the hamming encoder.
    eg: if input is 1100 bits, output must be 1500 bits.
    I have uploaded the encoder and the decoder part. Please suggest me the design to read the input and append the output.
    Attachments:
    project_HammingEncode.vi ‏19 KB
    project_HammingDecode.vi ‏22 KB

  • How to run the oracle application cleint using static ip or domain please e

    How to run the oracle application cleint using static ip or domain please explain me.
    i am not able to run oracle forms in client machine how to run it please explain me
    Please give me detail regarding that
    any body please help me.
    my mail id::::: [email protected]

    You did not mention exactly which Forms version you are using so it will be difficult to offer specific help. However, you did mention Forms 9i. ALL "9i" releases were desupported long ago, so find software or documentation are becoming more difficult.
    Here is the Deployment Guide for Forms 10.1.2
    http://download.oracle.com/docs/cd/B19375_07/doc/frs/forms/B14032_03/toc.htm
    Here are some technical reference for Forms 9.0.x
    http://www.oracle.com/technology/products/forms/techlisting9i.html

  • How to Run scenario from the web using HTTP web page?

    Hi guys
    Please let me know How to Run scenario from the web using HTTP web page?
    Regards
    Janakiram

    Hi Janakiram,
    ODI provides web based UI for running the scenarios using Metadata Navigator (read only of ur ODI components) and Lighweight designer (u can edit the mapping here).
    Please explore how to install metadata navigator in ODI and have a look at ODI Setup document for more information.
    Thanks,
    Guru

  • How to set the full screen mode using setClip method

    hi all,
    how to set the full screen mode using setClip in that softkeys should not be used insteat on that need to create a own softkeys using commands.
    thanks & regards
    Bala.

    In CS5 there are changes made to how the screen mode is reported. In CS3-CS5 the screen mode has a corresponding number. So for instance if the ScreenMode is set to "Preview Off" and you ask indesign CS3 or CS4 to display the screen mode, it will report "1936552047", while in CS5 it will report "PREVIEW_OFF".
    try executing this simple command in respectively CS3, CS4 and CS5 and you will see what I am talking about:
    alert(app.activeWindow.screenMode);
    there is no difference if you do:
    alert(app.activeDocument.layoutWindows[0].screenMode);
    The CS5 solution is rather awkward to work with, unless I am missing something? PREVIEW_OFF is not a string, nor is it a number.
    Example -  doing:
    myScreenMode=app.activeDocument.layoutWindows[0].screenMode;
    and then trying to reset screenMode by something like:
    app.activeDocument.layoutWindows[0].screenMode= myScreenMode
    does not work in CS5 of course. It will throw an error. Neither will this line work:
    app.activeDocument.layoutWindows[0].screenMode=ScreenModeOptions.myScreenMode;
    Any way of working around this?

  • How to verify ISAKMP Aggressive mode using show command only?

    How to verify ISAKMP Aggressive mode using show command only?

    Ah OK, my mistake. I was thinking ASA - I believe you are using an IOS-based VPN.
    The state after establishment should be "QM Idle" (quick mode) - whether the Phase 1 was MM or AM.
    I think you'll only see the AM in the debugs (like you have) or if you watch the output of the "show cry isa sa" command during establishment of the Phase 1 SA. If you're quick, you may see it cycle through as shown in this reference:
    http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/security/s1/sec-s1-cr-book/sec-cr-s3.html#wp5743341910

  • Installing SQL Server 2012 remotely via Powershell using Invoke-Command

    I am trying to perform a SQL Server 2012 command line installation using Powershell Invoke-Command on Windows 2012 Datacenter.
    The code I am using is as follows:
     $ret = Invoke-Command -ComputerName $COMPUTER -ArgumentList $MEDIA,$ACTION,$FEATURES,$INSTALLDIR,$INSTANCEID,$INSTANCENAME,$SQLDATADRIVE,$SQLLOGDRIVE,$DOMAIN,$SQLSERVERSERVICEUSER,$SQLSERVICEPASSWORD,$PRODUCTKEY,$SQLSERVERSA,$username,$ADMINPASSWD
    -Credential $cred -ScriptBlock {
      param($MEDIA,
         $ACTION,
         $FEATURES,
         $INSTALLDIR,
         $INSTANCEID,
         $INSTANCENAME,
         $SQLDATADRIVE,
         $SQLLOGDRIVE,
         $DOMAIN,
         $SQLSERVERSERVICEUSER,
         $SQLSERVICEPASSWORD,
         $PRODUCTKEY,
         $SQLSERVERSA,
         $USERNAME,
         $PASSWD)
      Set-Location $MEDIA
      Import-Module ServerManager
      if (-not [IO.Directory]::Exists($MEDIA)){
       $hn = hostname
       return 0,"Failed to find SQL Server Installer at $MEDIA on $hn"
      $tran = ""
      Try{
       & $MEDIA\setup.exe /ACTION=$ACTION /Q /FEATURES=$FEATURES /IACCEPTSQLSERVERLICENSETERMS /UPDATEENABLED=False /INSTALLSHAREDDIR="$INSTALLDIR\Program Files\Microsoft SQL Server" /INSTALLSHAREDWOWDIR="$INSTALLDIR\Program Files
    (x86)\Microsoft SQL Server" /RSINSTALLMODE="FilesOnlyMode" /INSTANCEID="$INSTANCEID" /INSTANCENAME="$INSTANCENAME" /INSTANCEDIR="$INSTALLDIR\Program Files\Microsoft SQL Server" /ENU="True" /AGTSVCSTARTUPTYPE="Automatic"
    /SQLSVCSTARTUPTYPE="Automatic" /NPENABLED=1 /TCPENABLED=1 /RSSVCStartupType="Automatic" /ERRORREPORTING=0 /SQMREPORTING=0 /INDICATEPROGRESS /INSTALLSQLDATADIR="$SQLDATADRIVE\DATA" /SQLUSERDBDIR="$SQLDATADRIVE\DATA" /SQLUSERDBLOGDIR="$SQLLOGDRIVE\LOG"
    /ASDATADIR="$SQLDATADRIVE\OLAP\DATA" /ASLOGDIR="$SQLLOGDRIVE\OLAP\Log" \ASBACKUPDIR="$SQLDATADRIVE\OLAP\Backup" \ASTEMPDIR="$SQLDATADRIVE\OLAP\Temp" /ASCONFIGDIR="$SQLDATADRIVE\OLAP\Config" /ASCOLLATION="Latin1_General_CI_AS"
    /SQLCOLLATION="SQL_Latin1_General_CP1_CS_AS" /SQLSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /SQLSVCPASSWORD="$SQLSERVICEPASSWORD" /AGTSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /AGTSVCPASSWORD="$SQLSERVICEPASSWORD"
    /ASSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /ASSVCPASSWORD="$SQLSERVICEPASSWORD" /RSSVCACCOUNT="$DOMAIN\$SQLSERVERSERVICEUSER" /RSSVCPASSWORD="$SQLSERVICEPASSWORD" /FTSVCACCOUNT="NT AUTHORITY\LOCAL SERVICE"
    /INDICATEPROGRESS > $out
      } Catch [System.Exception] {
       return 0,$_.Exception.ToString()
      if ($tran -ne ""){
       $out += $tran
      return 1,$out
    The media resides on the server that I am remoting to in powershell and the server is on the same domain. The credentials I pass are for a Domain Admin, but SQL Server fails to validate the credentials for the passed parameter for the sql service user with
    a Access Denied.
    If I run the same command with the same user directly on the server it works fine.
    My guess is that the elavated privs for Administrator are not being set when using Invoke-Command? Is there a way to utilize powershell to install SQL Server 2012 with command line option using the invoke-command and passing credentials? Or is this a limitation
    to the SQL Server installer. If there is can a example be provided?

    Ok, so with the help of some friends, we found a fix that works!
    Prior to running the Invoke-Command I now run:
    # enable CredSSP on a client computer; this command allows the client credentials to be delegated to the server01 computer.:
    Enable-WsManCredSSP -Role Client -DelefateComputer server.some.domain.com
    Then I add the -Authentication option to my Invoke-Command with option Credssp.
    The install the works fine. Hope this helpes all.

  • How to run in 32 bit mode on a mac 10.6.7 so I can use Rapport Trusteer

    The security software Rapport Trusteer for HSBC bank has just been updated to run on Firefox 4 but will only run in 32 bit mode, I am using Snow Leopard 10.6.7. How do I change Firefox 4 to run in 32 bit mode?

    You're welcome

  • How to run 2 different Firefox versions using the same profile

    Is it possible to run 2 different Firefox versions using the same profile and still have browsing history saved? I used to be able to do that up until a week ago. What happened was I was using Firefox version 3.6.28(a very old version of Firefox) which I need to use sometimes and then the current version, 36.01. Earlier I would use both my versions of Firefox and the history would be saved if I used both versions but now when version 36.01 came out, its not saving for some reason. Is this a bug? The history is saving during the current session, but say I close out of Firefox and then go back to Firefox, it will still be saved but when I go to my old version of Firefox, the history is saved but then after I close out of that the history on my new current version is all gone and it starts me all fresh, is there a way to get rid of this so that the history will always be saved even if i switch between versions? I could do that before up until Firefox 35.01 but Firefox 36 isnt saving the history from the old version, is this a bug or not? Now I have to create a separate profile for each Firefox so the history I use on the old version is only saved on that version and the history I have on the new Firefox is another profile so that history from the 2nd profile remains but I dont want that. I want to be able to use the same profile so that the same browsing history can be saved using both versions like it was before, I hope people can understand my problem. If not I can further explain, thanks.

    @ the-edmeister, I understand that the 2 versions are completely different, however how come the history was saving fine when I switched between firefox 3.6.28 to the current one which was Firefox 32, 33, 34, 35 etc? Like I'm surprised how come now at Firefox 36 this problem started, Firefox 36 isnt that much different from Firefox 35 but yet Firefox 35 was still saving my browser history from the old 3.6.28 version, my 3.6.28 version never upgrades but the new Firefox keeps upgrading whenever there is a new release out automatically and then all of a sudden when the new version of 36.01 came out all my history was gone, so isnt Firefox 35.01 also very much different from 3.6.28 as much as 36.01 is? I hope you got what I meant, thank you for helping.

  • Using invoke-command to run 'vssadmin list writers' on several servers, how do I sort the results from each server?

    Hi I am a PS virgin so be gentle with me. I am trying to run the vssadmin list writers command on 8 servers.
    invoke-command -computername srv-bx-hvc1, srv-bx-hvc2, srv-bx-hvc3, srv-bx-hvc4,
    srv-bx-hvc5,
    srv-bx-hvc6,
    srv-bx-hvc7, srv-bx-hvc8
    -command {vssadmin list writers}
    The command works but I cannot tell which response is from what server.
    The objective whould be to eventually have the command so I know which server has  failed vss writers if possible restart them automatically.
    Any thoughts on how to achieve this lofty ideal??
    Thanks

    This is a tweak to the example that JRV listed.  I am using this code to just pull the information about the Exchange Writers but you could adapt it for others.
    $servers='sdcexmail001','sdcexmail002','sdcexmail003','sdcexmail004','sdcexmail005'
    $servers | %{
    $sb={
    $writers=vssadmin list writers
    New-Object PSObject -Property @{Server=$_;Writers=$writers}
    $ServerName = $_
    $out = invoke-command -computername $_ -scriptblock $sb -Argumentlist $_
    $WritersData = $Out.Writers
    for ($I = 0;$I -le $WritersData.Count -1;$I++)
    $Data = $WritersData[$I]
    If($Data.StartsWith('Writer name:'))
    $WriterName = ($Data.Split(':')[1]).Trim()
    $WriterID = ($WritersData[$I+1].Split(':')[1]).Trim()
    $WriterInstID = ($WritersData[$I+2].Split(':')[1]).Trim()
    $State = ($WritersData[$I+3].Split(':')[1]).Trim()
    $LastError = ($WritersData[$I+4].Split(':')[1]).Trim()
    $info = [Ordered]@{
    'ComputerName' = "$ServerName";
    'WriterName' = "$WriterName";
    'WriterID' = "$WriterID";
    'WriterInstID' = "$WriterInstID";
    'State' = "$State";
    'LastError' = "$LastError";
    $object = New-Object -TypeName psobject -Property $info
    $object | Where-Object {$_.WriterName -like '*Microsoft Exchange*'} | Select-Object -Property ComputerName,WriterName,State,LastError

  • 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

  • How to Run Rman in silent mode

    when i run rman command to connect with the database then I get the following information message,
    Recovery Manager: Release 10.2.0.1.0 - Production on Wed Mar 26 15:38:45 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: MYDB (DBID=2563653631)
    Can i avoid this message and run it in silent mode ?

    On Windows, I am able to use this command :
    rman < rman_backup_script.rmn > rman_backup.Logwhere the script file rman_backup_script.rmn contains
    connect target /
    backup database plus archivelog;The backup does run. It creates backupsets. It also creates rman_backup.Log which
    contains these output lines :
    Recovery Manager: Release 10.2.0.3.0 - Production on Sat Mar 29 23:11:28 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN>
    connected to target database: OR10G2DB (DBID=138573118)
    RMAN>
    Starting backup at 29-MAR-08
    current log archivedand do so on.
    No screen output at all.

  • How to Run Windows Xbox music player using autoit

    Hi,
    I am doing some automation on windows.I wanted to play AV file in windows 8/8.1 default xbox player through automation.
    I did not find the xbox player exe or so. I am using autoit for automation. Is it possible to run video on xbox player using autoit?
    or any other simple way how i can run av in xbox player using automation

    Hi,
    Hi,
    As the issue is specific with Xbox player , you may contact Microsoft Xbox Player Forum for further assistance on the issue:
    Contact - Xbox Player Forum: http://www.xbox.com/en-US/forums
    Please revert for any clarification on this or any Windows issue. We will be glad to help you.
    Roger Lu
    TechNet Community Support

  • How to run multiple java files concurrently using command line?

    Hi,
    I have to write a script to run multiple java files and c files concurrently. Say, A and C are java files and B is another binary executable file, I have to make sure they are run in the order A-B-C, then I was trying to run by using
    java A & ./B & java C
    But it turned out that B could run before A started... Is there any way that I can ensure that A runs before B, and B runs before C by using the command line?
    Thanks a lot.

    GKY wrote:
    Sorry, I didn't make my question clear enough...
    A has to give some output files that B needs to get started,Then B can start at any time--even before A--and just wait for those files to be written. For instance, A could write to a temp file, then rename it to the real name. However, if there are multiple files, and they all have to exist, even this won't necessarily work. There are other approaches that will though.
    although writing the output takes very short time,Depends on when the OS decides to give A CPU time, what else is going on on that disk controller and/or network, etc.
    B could still run before A finishes the writing, As it can if you sleep for 1, or 10, or 1,000,000 seconds before starting B.
    if B can't find the info it wants, it fails to move on. That's why I need to make sure A starts before B.No, you need to make sure A's data is there before B tries to use that data.
    Edited by: jverd on Jul 29, 2008 1:06 PM

Maybe you are looking for

  • IPod does not show in Finder or iTunes

    My 2nd generation Nano won't connect to my Mac. The screen alternates between a screen with a dimmed-out Apple logo, a screen with a message saying to restore using iTunes, and a screen showing a the small charged battery icon and a message saying do

  • Windows 7 error code 0x80070570 during installation.

    Hi there. I currently tried to reinstall my OS, so I did. I finish the expanding files part, but then I get the error message. I've looked at other posts, but I can't understand a word you guys say. Im not smart in computer so yea. I see a soultion t

  • Problem in Uploading Transparent images in SE78

    Hi,      I am trying to upload an image (Company Logo) with a transparent background in SE78. The file format at the time of upload is TIFF (since bitmap does not support transparency).      However I get an error message "Erroneous TIFF file". Can a

  • Team account, share "folders" across users

    We have a team membership here at work and we are happy to see that the syncing is available at last!! What we want to be able to do is share folders from one mac, and have them on another mac ready to edit and save? Is this possible? Can the admin g

  • Legality of master line socket

    Hi, When we moved into our rented accomodation the telephone access point in the lounge did not work. I searched the house for a master socket but couldn't find one. So I called the rental agency, and they sent one of their employees out who did some