So I'm having a problem with Windows (2012 R2) where commands run via the
STAF Process service are returning different results than the same command
run locally on the host. The software maker (JDSU 'Medusa') says this is
because the command is not being run with full Administrator privileges.

I normally run STAFProc as a service and it is configured to run as
Administrator, but it doesn't seem to make any difference even if I do a
'Run as Administrator' when I start STAFProc.

Is there some config file setting or other method to ensure that process
started via STAF have full Administrator privileges in Windows?

Thanks,

Scott

Command output run through STAF:


C:\Users\Administrator>staf local process start command catapult parms "-p"
RETURNSTDOUT STDERRTOSTDOUT WAIT
Response
--------
{
  Return Code: 0
  Key        : <None>
  Files      : [
    {
      Return Code: 0
      Data       :
-------------------------------------------------------------
-----------------
Medusa Labs Test Tools 6.0.1.156759
Copyright (c)2004-2013, JDS Uniphase, Corp. All rights reserved.
Catapult 2.0 (x64) Target discovery and test management tool
Support: techsupport-med...@jdsu.com
Built on: Oct 20 2014 10:09:48
------------------------------------------------------------------------------
Finished querying for devices.
Available physical drives:
Indx Drive Name           SCSI ID    Inquiry Data                 Exclusions
-----------------------------------------------------------------------------
     \\.\PhysicalDrive0   4:0:1:0    IBM-ESXSCBRCA146C3ETS0 NC610 A   PS

    }
  ]
}


Same command run from a CMD shell window:

C:\Users\Administrator>catapult -f
------------------------------------------------------------------------------
Medusa Labs Test Tools 6.0.1.156759
Copyright (c)2004-2013, JDS Uniphase, Corp. All rights reserved.
Catapult 2.0 (x64) Target discovery and test management tool
Support: techsupport-med...@jdsu.com
Built on: Oct 20 2014 10:09:48
------------------------------------------------------------------------------
Finished querying for devices.
Available file systems:
Indx Drive   FileSys   Size(MB) Label/Mount/Inquiry          Exclusions
-----------------------------------------------------------------------
     C:      NTFS        125512 IBM-ESXSCBRCA146C3ETS0 NC610 A    S
     F:      NTFS      31821646 ifs
     G:      NTFS      31821646 ifs
     H:      NTFS        194725 fs1
     I:      NTFS        199609 fs2
     L:      NTFS          3772 136

C:\Users\Administrator>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to