SM69 command with elevation error

Hi,
I have a need to execute an SM69 configured command.
The command is "route delete X.X.X.X Y.Y.Y.Y"
On the server directly, I can do this without a problem.
Via SAP and the SM69 command, I get an error/trace : "The requested operation requires elevation"
( Executing the command "route print" is not a problem )
This would apparently mean that I need to run the cmd.exe application in Administrator mode.
Is there any way I can accomplish this via an additional parameter in SM69 ( my guess = no ), or do I need to make sure that the SID<System> user has more rights on the server itself?
Thanks for any input/views/guidelines.
Geert
PS the "route delete" issue is only relevant on win server 2008. On win server 2012, the issue is not present.

Hi All,
Thanks a lot for your responses.
I think it was the basis issue. According to the basis the CPU was consuming 100% of the time & any new process was
getting in the loop. therefore yesterday even on JVM installed machine the MDX error was given.
I tried today & report is fetching the data correctly.
Thanks
Vinay

Similar Messages

  • How can you run a command with elevated rights on a remote server with invoke-command ?

    I am trying to run a script on a remote server with invoke-command.  The script is starting and is running fine, but the problem is that it should be running with elevated rights on the remote server.  On the server where I start the invoke-command, my account has the necessary rights.
    The server were I launch the invoke-command is a W2K8 R2.  The remote box is a W2K3 with powershell v2.0 installed.
    When I launch the script on the remote-box from the command line, I don't get the access denied's.
    Is there a way to do this ?
    Thanks in advance

    The script that I want to run is to install the windows updates.  I get an access denied on the download of the updates.
    When I execute the script on an W2K8 box, (not remotely) and I run it with non-elevated rights, I get the same error.
    The script is running fine when it is launched on W2K3 box locally with a domain account that has local admin rights, or on a W2K8 R2 server with a domain account that has local admin rights, but with elevated rights.
    Thanks in advance for your help.
    #=== start script ====
    param($installOption="TESTINSTALL",$rebootOption="NOREBOOT")
    Function Show-Help
    Write-Host ""
    Write-Host "SCRIPT: $scriptName <installOption> <RebootOption>"
    Write-Host ""
    Write-Host "DESCRIPTION: Installatie van WSUS updates op de lokale server"
    Write-Host ""
    Write-Host "PARAMETERS"
    Write-Host " -installOption <[INSTALL|TESTINSTALL]>"
    Write-Host " -rebootOption <[REBOOT|NOREBOOT|REBOOT_IF_UPDATED]>"
    Write-Host ""
    Write-Host "EXAMPLE:"
    Write-Host "$ScriptName -installOption INSTALL -rebootOption REBOOT_IF_UPDATED"
    Write-Host "$ScriptNAme INSTALL NOREBOOT"
    Write-Host ""
    Write-Host "Indien beide parameter weggelaten worden zijn de defaultwaarden :"
    Write-Host " installOption=TESTINSTALL "
    Write-Host " RebootOption=NOREBOOT"
    Write-Host ""
    Exit
    #Include alle globale variablen
    $CEIF_WIN_PATH = (get-content env:CEIF_WIN_PATH)
    $includeFile=$CEIF_WIN_PATH + "\Scripts\include_win.ps1"
    . $includeFile
    #initialiseer error count
    $errcnt=0
    $scriptName=$MyInvocation.MyCommand.Name
    #argumenten controleren
    $arrInstallOption= "TESTINSTALL", "INSTALL" # Mandatory variable with predefined values
    If (!($arrInstallOption –contains $installOption)){ Show-Help }
    $arrRebootOption = "REBOOT", "NOREBOOT","REBOOT_IF_UPDATED" # Mandatory variable with predefined values
    If (!($arrRebootOption –contains $rebootOption)){ Show-Help }
    #Logfile opbouwen
    $logfile = get-logfileName($MyInvocation.MyCommand.Name)
    Log-scriptStart $MyInvocation.MyCommand.Name $logfile
    function Get-WIAStatusValue($value)
    switch -exact ($value)
    0 {"NotStarted"}
    1 {"InProgress"}
    2 {"Succeeded"}
    3 {"SucceededWithErrors"}
    4 {"Failed"}
    5 {"Aborted"}
    function boot-server()
    if ($installOption -eq "TESTINSTALL")
    logger "TESTINSTALL : - Reboot local Server" $logfile
    else
    logger " - Reboot local Server" $logfile
    $thisServer = gwmi win32_operatingsystem
    $thisServer.psbase.Scope.Options.EnablePrivileges = $true
    $thisServer.Reboot()
    $logmsg="Install option = " + $installOption + ", RebootOption = $rebootOption"
    logger "$logmsg" $logfile
    logger "" $logfile
    logger " - Creating WU COM object" $logfile
    $UpdateSession = New-Object -ComObject Microsoft.Update.Session
    $UpdateSearcher = $UpdateSession.CreateUpdateSearcher()
    logger " - Searching for Updates" $logfile
    $SearchResult = $UpdateSearcher.Search("IsAssigned=1 and IsHidden=0 and IsInstalled=0")
    logger " - Found [$($SearchResult.Updates.count)] Updates to Download and install" $logfile
    $Updates=$($SearchResult.Updates.count)
    logger "" $logfile
    foreach($Update in $SearchResult.Updates)
    if ($Update.EulaAccepted -eq 0)
    $Update.AcceptEula()
    # Add Update to Collection
    $UpdatesCollection = New-Object -ComObject Microsoft.Update.UpdateColl
    $UpdatesCollection.Add($Update) | out-null
    if ($installOption -eq "TESTINSTALL")
    else
    # Download
    logger " + Downloading Update $($Update.Title)" $logfile
    $UpdatesDownloader = $UpdateSession.CreateUpdateDownloader()
    $UpdatesDownloader.Updates = $UpdatesCollection
    $DownloadResult = $UpdatesDownloader.Download()
    $Message = " - Download {0}" -f (Get-WIAStatusValue $DownloadResult.ResultCode)
    if ($DownloadResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    # Install
    logger " - Installing Update" $logfile
    $UpdatesInstaller = $UpdateSession.CreateUpdateInstaller()
    $UpdatesInstaller.Updates = $UpdatesCollection
    $InstallResult = $UpdatesInstaller.Install()
    $Message = " - Install {0}" -f (Get-WIAStatusValue $InstallResult.ResultCode)
    if ($InstallResult.ResultCode -eq 4 )
    { $errcnt = 1 }
    logger $message $logfile
    logger "" $logfile
    #Indien er een fout gebeurde tijdens download/installatie -> stuur mail naar windowsteam
    if ( $errcnt -gt 0 )
    logger " - Fout tijdens de uitvoering van script -> send mail" $logfile
    $mailSubject=$MyInvocation.MyCommand.Name
    $msg = new-object Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($logfile)
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $msg.From = $mailFrom
    $msg.To.Add($mailTo)
    $msg.Subject = $mailSubject
    $msg.Body = “Meer details in attachement”
    $msg.Attachments.Add($att)
    $smtp.Send($msg)
    #Moet de server herstart worden ?
    if ($rebootOption -eq "REBOOT_IF_UPDATED" )
    if ($Updates -gt 0)
    #Reboot the server when updates are installed
    boot-server
    elseif ($rebootOption -eq "REBOOT")
    #reboot the server always
    boot-server
    else
    #Do not reboot the server
    logger "Do not reboot the server" $logfile
    Log-scriptEnd $MyInvocation.MyCommand.Name $logfile
    exit 0

  • Problem with runas command. Elevation error

    Running on Win 8.1 Pro I'm facing a problem with runas.
    What I'm trying to do is launch an mmc as my domain admin account.
    Therefore I type this command from an elevated cmd (Right-click "Run as Administrator"):
    runas /user:Contoso\MyDomainAdmin /noprofile mmc
    This worked like a charm in Windows 7, and on my Win81Pro client it yields:
    RUNAS ERROR: Unable to run - mmc
    740: The requested operation requires elevation.
    The account I'm logged in with, is local admin, and the UAC slider is set in the bottom.
    In the eventviewer, I only see some special logons where my normal account is trying to impersonate my domain admin account, and the next event, the domain admin's session is destroyed.
    If this is by design, how would I then run mmc as my domain admin and at the same time avoid its credentials being stored on the local machine?
    Thanks in advance!

    yes, you need to be local admin to be able to elevate!
    I've tested this on a system here and I reproduce the issue you encountered. Some investigation showed running a program that requires elevation using runas is not  possible http://msdn.microsoft.com/en-us/library/bb756922.aspx
    MCP/MCSA/MCTS/MCITP

  • Need to run netsh command with elevated previledges

    Hi Team,
    I am running an script with netsh command for to enable file & print sharing module and that to only for an domain profile.
    But when i try to call this command through VB script, it asks me to run that in elevated previledges.
    PLease help me how do i achieve that, or is there any feasibility to invoke same in bat file itself, please let me know.
    Regards,
    Deepak Sharma.

    Here are couple of URL that might help you : 
    http://stackoverflow.com/questions/17466681/how-to-run-vbs-as-administrator-from-vbs
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/310e57f9-2367-4293-9f97-53d0e077aacc/vb-script-to-run-a-batch-script-as-admin?forum=ITCG
    http://www.server-world.info/en/note?os=Other&p=vbs
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • Fatal error when trying to execute a dml-command with OLAP API

    Hi,
    when I created an OracleConnection using the jdbc thin driver. The connection works fine.
    But when I try to execute any dml-command with an SPLExecutor the following fatal error occurs:
    oracle.express.idl.util.OlapiException: ORA-37118: Message 37118 not found; product=RDBMS; facility=ORA
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 66
    ORA-06512: at line 1
    Any Suggestions ?

    Hi Priya,
    1.The entries for the initialization in the BW system are contained in the RSSDLINIT table for the DataSource/source system combination. Compare these with the entries in the ROOSPRMSC table in the OLTP system.
    2. If there are NO entries in the RSSDLINIT table in BW, use transaction RSA7 to delete the delta queue for this DataSource/BW application combination in the source system (OLTP).
    3.Once you deleted all the entries,In Infopackage scheduler option,delete all the init selections to proceed further.
    In which system u r going to do this.....Quality or production.(Better,you check with basis to delete the entries.)
    Regards
    Kumar

  • When I try to move messages to trash I get this  The IMAP command "CHECK" failed for the mailbox "INBOX" with server error: Error in IMAP command received by server..  what do I do ?

    I try to move emails into the trash and this message comes up;
    The IMAP command “CHECK” failed for the mailbox “INBOX” with server error: Error in IMAP command received by server..
    what should I do ?
    My trash is empty and I re booted etc...

    Back up all data. Rebuild the mailbox. Try again to delete the message.

  • Exchange- IMAP command "APPEND" (to inbox) failed with server error

    Not sure, but think I was adding a mailbox to the Exchange Server's inbox, and now I am hammered with repetitive alerts;
    "Some actions taken while the account “Exchange” was offline could not be completed online.
    Mail has undone actions on some messages so that you can redo the actions while online. Mail has saved other messages in mailbox “INBOX” in “On My Mac” so that you can complete the actions while online.
    Additional information: The IMAP command “APPEND” (to INBOX) failed with server error: An unexpected network error occurred.."
    Any ideas on how to stop the messages/undo/cancel, or anything to have Mail.App work again?
    thanks.

    This can happen anytime you give an IMAP command offline that the server is not able to fulfill once you go back online. Mail's less-than-helpful response is to keep retrying the command, without regard for the feedback from the server. And there's no way for you to revoke the command.
    In my case, Mail kept recreating a draft email that I had deleted. I believe it had an attachment that was too large for the server to accept. So Mail kept creating copies of this draft, pushing my account over the usage limit. I closed Mail, accessed my account through a different app, deleted all those copies, and emptied the trash. When I returned to Mail, it went right back into its loop, creating more draft copies until my account was again over the limit.
    This problem was discussed, but never resolved, as long ago as October 2007. Here's an archived thread: http://discussions.apple.com/thread.jspa?threadID=1198026
    I tried this simple fix, which worked for others, but had to undo it in my case: http://snipr.com/pmlte
    I'm now trying another approach. If it works, I'll describe it. Mail has been launching for 14 minutes now.

  • TS3276 The IMAP command "UID COPY" (to Deleted Messages) failed for the mailbox "Bulk Mail" with server error: UID COPY Mailbox in use. Please try again later.

    I have been getting the following message and have no idea how to clear it.  Any help will be greatly appreciated!!!  I have force closed Mail, and have tried to re-sync my accounts but no luck.
    The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.

    What program are you using?  And what version?

  • When deleting emails i get the following error message at times ...The IMAP command "UID COPY" (to Deleted) failed for the mailbox "INBOX" with server error: Error 9. Server error. Please try again later..

    When deleting emails i get the following error message at times ...The IMAP command “UID COPY” (to Deleted) failed for the mailbox “INBOX” with server error: Error 9. Server error. Please try again later..

    Please complete or update your system profile so the users here can properly help you.
    Which email client are you using?

  • Hi  i'm trying  to delete my bulk mail messages but it keep telling me this message"The IMAP command "DELETE" failed with server error: DELETE failed - Mailbox is reserved "

    Hi  i'm trying  to delete my bulk mail messages but it keep telling me this message"The IMAP command “DELETE” failed with server error: DELETE failed - Mailbox is reserved " is there any way to   delete of stop messages from coming into it ??
    thanks

    Sounds like the mail server thinks you are asking to delete the bulk-mail mailbox instead of some/all of the messages within it.
    How are you trying to delete your bulk mail messages? That is, what are you doing, step by step, up to the error message.
    What you should probably be doing is selecting the bulk mail mailbox, selecting one of more messages inside it, then hitting the "delete" key.

  • Disco command line import fails with parser error 7

    Hi, we have discoverer version 10.1.2.48.18 installed to multiple environments.
    Developers have created eex-file and we try to import it to all the test environments, it goes through fine with some but with some it fails with parser error 7 :
    Here is the full error log:
    11/13/2008 7:30:22 AM
    D:\disco1012\BIToolsHome_1\bin\DIS51ADM.EXE /connect /import oudata_disco.eex /identifier /refresh /preserve_workbook_owner /show_progress /log import.log
    oudata_disco.eex:Could not locate the Folder with identifier 'INSTRUCTOR_ASSIGNMENTS1' in the target End User Layer
    oudata_disco.eex:An imported Folder had display name 'Dc transactional sales q2' renamed to 'Dc transactional sales q2 1'
    oudata_disco.eex:An imported Item Class had display name 'Eval_Delivery_Region' renamed to 'Eval_Delivery_Region 1'
    oudata_disco.eex:An imported Item Class had display name 'Quarter' renamed to 'Quarter 1'
    oudata_disco.eex:An imported Item Class had display name 'Track List with ALL' renamed to 'Track List with ALL 1'
    The Item Hierarchy with identifier 'INSTRUCTOR_ASSIGNMENTS_LAST_REFRESH_DATE_DEFAULT_DATE_HIERARCHY' has not been imported because: There are no items in this hierarchy node
    Import completed, but with warnings. Please check the result.
    File(s) imported partially :
    oudata_disco.eex
    11/13/2008 7:36:38 AM
    11/13/2008 7:37:29 AM
    D:\disco1012\BIToolsHome_1\bin\DIS51ADM.EXE /connect /import oudata_disco_workbooks_84.eex /identifier /refresh /preserve_workbook_owner /show_progress /log import.log
    oudata_disco_workbooks_84.eex:A parsing failure has occurred in file 'oudata_disco_workbooks_84.eex'.
    Parser error: '7'
    The import has failed (your End User Layer has not been modified) - oudata_disco_workbooks_84.eex:A parsing failure has occurred in file 'oudata_disco_workbooks_84.eex'.
    Parser error: '7'
    If anyone knows what can be teh cause of this please let me know.
    thanks,
    Nina

    Hi,
    The most likely cause is that the export file has become corrupted. Are there very big export files?
    Another possibility is that Discoverer Administrator has run out of memory while parsing the file.
    Rod West

  • Office 2013 Installer - Fails with No Errors

    Hello,
    I ran into issues on two different Windows 8 (64-bit) machines today, both with Office 2013 Pro Plus (32-bit) installed. I could not get the installer to come up to add a module (or make any other changes).
    On one of the PCs, I tried running the Fixit to remove Office, since the option of the "Online Repair" was not accessible, (installer would not start). Fixit removed Office, but after a reboot, it still would not run the office installer, even
    with Office 2013 completely gone.
    Things I tried:
    - Disabled anti-virus (windows defender)
    - Run with elevated privileges (I'm a domain admin and UAC is off, but just to be safe)
    - Removed skydrive
    - Cleaned out temp directory
    - Scanned for registry errors (none)
    - Re-downloaded the installer DVD
    - Made sure no pending windows update
    - Reboots (lots of times, definitely after the uninstall)
    - Checked the install log in %temp%, this is what I get:
    2013/08/12 13:51:14:263::[2848] PERF: TickCount=1295931 Name=OBootStrapper::Run Description=Begin function
    2013/08/12 13:51:14:264::[2848] Operating System version: 6.2.9200 . Platform ID: 2
    2013/08/12 13:51:14:264::[2848] Running 32-bit setup on a 64-bit operating system.
    2013/08/12 13:51:14:264::[2848] Command line: "F:\SETUP.EXE"
    2013/08/12 13:51:14:264::[2848] No command line arguments given
    2013/08/12 13:51:14:513::[2848] Verify file signature in "F:\SETUP.EXE"
    2013/08/12 13:51:14:562::[2848] F:\SETUP.EXE is trusted.
    2013/08/12 13:51:14:562::[2848] Verify file signature in "F:\proplus.ww\OSETUP.DLL"
    2013/08/12 13:51:14:598::[2848] F:\proplus.ww\OSETUP.DLL is trusted.
    2013/08/12 13:51:14:612::[2848] Using setup controller dll at [F:\proplus.ww\OSETUP.DLL].
    2013/08/12 13:51:14:612::[2848] PERF: TickCount=1296274 Name=OBootStrapper::Run Description=Calling RunSetup
    This is almost identical to what I see on the other PC, except with different drive letters.
    THERE ARE NO ERROR MESSAGES - no popup, no installer dialog - nothing, which makes it really hard to troubleshoot. And it's happening on both Windows 8 machines that have had Office 2013 installed. I am so frustrated right now after wasting half of today
    troubleshooting this.
    Any thoughts?

    Hi
    Let’s follow these steps: 
    Make sure you have end the tasks of setup.exe and integratedoffice.exe.      
       1. Press the Ctrl + Alt+ Delete key -> Click on Task Manager to open.      
       2. Under Processes tab -> Select setup.exe -> Click on End Process.    
        3. Under Processes tab -> Select integratedoffice.exe -> Click on End Process.  
      Restart the computer in Clean Boot and install Office 2013. Follow the steps:
           http://support.microsoft.com/kb/929135
       Note: After you have finished troubleshooting in clean boot, ensure you restart the computer in normal mode.
    In addition, you can also refer to the following link to try more methods:
    http://support.microsoft.com/kb/2822317/en-us
    Regards

  • Please Help! I have a subscription/replication issue with the error - Replication-Replication Distribution Subsystem: agent (null) failed. The publication 'blah' does not exist.

    I keep getting this error and my subscription table isn't populating:
    The publication 'publish_playerSession_off_serverABC' does not exist.
    Other setup items: 
    1) Both servers are on the same domain Windows Server 2008 running SQL Server 2008 and the SQL agent is running under a network account. 
    2) I have the publication destination on a shared network drive & the network account mentioned above has access to this drive. 
    Thanks in Advance! Carl 
    Carl

    Thanks Tracy - I was able to delete the subscription on the publication server and was able to recreate most of the subscription on the subscription server but so far have been unable to start the subscription agent. 
    I ran the command exec sp_link_publication yesterday and received the error: "The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service." 
    WTF? Anyhow - Googled this issue for awhile and was advised to run a command with a utility called subinacl.exe but the command failed stating that access is denied even though i'm an admin on my computer & I ran the command promp with elevated privileges. 
    I also downloaded a tool called DTCping.exe and was able to dtcping each server when the utility was running on the publication & subscription servers after tweaking some registry settings on the subscription server & restarting. 
    Well now i'm still stuck because the subscription agent is failing to start stating (this is the last error in the job that kicks off the agent): 
    Agent message code 21056. The subscription to publication 'publish_igt_period_data' has expired or does not exist.
    Whew! Well i have other priorities this morning but will update this thread if I make any progress on this issue later... 
    Carl

  • Xp_cmdshell with elevated privilege

    Hi,
    I am facing issue with XP_cmdshell after upgrading OS form Windows 2003 to 2008.Actually there was one scheuled JOb in SQL server which run WMI command to fetch disk space details from all the server in our environemnet.Command I used for this is
    wmic  /node:Myservername LOGICALDISK get Systemname,Caption,VolumeName,Description,FileSystem,Freespace,Size /format:csv.xsl   1>>c:\test1.txt 2>>c:\testerror.txt
    It was configured in SQL Agent Jobs & it run through one proxy account which having Local admin access to all the Servers.
    There was no issue till 2003 to run the Jobs.Job ran sucessfully daily basis.But problem started after upgrading Windows to 2008 & I am able to identify why this jobs failing now & but not getteing any option to resolved this.
    Actually from 2008 there is term UAC(User Access Conttrol) which means there are certain task which you can not run even if you have Administrator privilege until you ran the application with "Run as Administrator".
    When I ran above command with just clicking cmd.exe it fails with error 'Access Denied' but same command if we ran after clicking 'Run as Administrator',it shows the output.
    This is the reason my Job is also failing with error 'Access Denied' but I am not sure how I can implement 'Run as Administrator' for elevated privilege  for xp_cmdshell.
    Googled suggest to run command 'runas' to open the command promt with Administrator access but I don't think it will work in this case.This is actually run the cmd with for perticular user but it also not give elevated privilage so that I can run my WMIC
    command.
    Any suggestion apprecaited
    Rgds
    Debasish Bhattacharya

    You can create proxy account for doing this
    http://www.mssqltips.com/sqlservertip/2143/creating-a-sql-server-proxy-account-to-run-xpcmdshell/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • New Value Field in COPA

    Hi I have created new conditions in SD. These have been assigned to a value field which was never assigned to any conditions. Now this KE4I config is moved to test system and I found that values of these conditions are not appearing under new value f

  • P35 Neo-F

    Beta BIOS for P35 Neo-F (MS-7360, PCB 1.0) BIOS ver. V1.1B7 BIOS Sign-on message: A7360IMS V1.1B7 051807 (Date: 05/18/2007) Attachment name: P35 Neo-F V1.1B7.zip Make and ensure PC is stable before proceed. Remove any OC if you have it.flash BIOS fro

  • HT5642 Unable to download app this time error while downloading app please help!!!

    when i download some app from apps store i get the following error "Unable to download app this time error while downloading app" please help!!! i ve tried these Things but didnt workout yet 1) i tried hard reset 2)i tried logout/login Itune & appsto

  • How to save a open request with open hub?

    Dear experts, we want to save a query result in an open hub destination. So at first we want to store the data in an ods object (we use bw 3.5) which was filled by the apd. The we want to tranfer the delta to the open hub destination which is connect

  • Quickly create 8 minute highest quality DVD with no menus from Motion 4?

    What's the fastest/simplest way to create a high quality DVD without any menus that just plays from Motion 4? I set quality to best. I just tried using Share, and I can see one of my processors working at 100%, but I've got no indication of any progr