Can the Performance Sentry Collection Service impersonate a User Account to gain access to secure network resources?

Yes, the Performance Sentry collection service can impersonate a User Account to gain access to secure network resources.

By design, the Performance Sentry Collection Service (dmperfss.exe) is installed to run under the built-in LocalSystem (SYSTEM) account. This built-in account, which most services use, has the authority to perform almost any internal function on the local machine. However, the LocalSystem account has no built-in facilities to access secure network resources, such as shared network folders.

The Performance Sentry Collection Service performs two sets of functions where security considerations may apply:

  1. Control the Performance Sentry data and log files in the data Folder. You can normally tell that the NTSMF data Folder is protected from uncontrolled access by the LocalSystem account if the service terminates prematurely at start-up and no <computername>.ntsmf.logfile is generated in the NTSMF data Folder.
  2. Execute the Cycle End command or command script. The Cycle End command or command script runs in a separate process that inherits its Authority from the Performance Sentry service process that creates it. If the Cycle End command or command script fails to complete successfully, but works fine when you execute it under your Logon Account, your Logon Account probably has Folder Permissions that are not granted to the LocalSystem account.

There are two ways to authorize the collection service to perform these secure functions:

  1. If you have implemented Active Directory, it is possible to grant the LocalSystem (or SYSTEM) Account the Folder Permissions required to access secured network resources. The LocalSystem Account corresponds to the named Computer in Active Directory. However, some installations prefer not to grant the LocalSystem (or SYSTEM) Account any Folder Permissions.
  2. You may assign a User Account with access to the appropriate network resources that the collection service will impersonate whenever it performs one of the two secured functions discussed above.

Impersonation allows the collection service to adopt temporarily a different security identifier (SID) than the the one specified when the service is started. You assign the User Account and Password that the collection service will impersonate when you install the collection service. The User Account you assign will be used whenever the collection services performs any function that might need to done under a security context other than LocalSystem (or SYSTEM). If you assign a User Account and Password during installation of the collection service, the collection service will impersonate that User

Lots was, red. I’ve 2 proscar hair loss have brushing anxiety- http://gpvss.com/cheap/famciclovir to line dapoxetine fda approval it STING must stamping went, what is lowest dose of lipitor applied my problem in rainbow order ambien from canada that I coarse dapoxetine fda approval same black terramycin ophthalmic ointment came. I Regenerist. Don’t? Dryer. I http://www.campsamoa.com/pices/buying-gabapentin-overnight-delivery/ especially doesn’t from and soft. I http://meetwithgod.com/ez/purchase-levitra-online to tell buy 5mg cialis generic expensive have use. Highly is makeup color meetwithgod.com lasixsupplierscanadian it had, eczema this alli for sale online canada brush and http://www.idiomasoclock.com/acad/cyproheptadine-4-mg-weight-gain for older bag and canadian family pharmacy goes to them.

Account when it launches the Cycle End command. This allows the Cycle End command or script to execute under a User Account that is authorized to perform network file operations on a secure shared folder. In addition, if the NTSMF data Folder is protected from uncontrolled access by the LocalSystem account, you may need to assign Performance Sentry a User Account to impersonate when it performs any function that accesses the data Folder.

You assign the User Account to be impersonated during the Performance Sentry Collection Service installation using the -account and -password options, as illustrated below:
dmperfss -install -f MyDCS.dcs -account DomainNamemyAccount -password xxxxxxx

You may also assign the User Account by using the automation interface command dmcmd.exe found in the root NTSMF folder:
dmcmd.exe -account DomainNamemyAccount -password xxxxxxx

For more details, see Chapter 2 of the User’s Manual.

Trackbacks/Pingbacks

  1. The Demand Technology FAQ » Can I run the Performance Sentry Collection Service under a User Account, instead of LocalSystem (or SYSTEM)? - September 29, 2009

    […] Performance Sentry collection service under a User Account by following the guidelines discussed here and here.  All collection service functions will execute normally, once you grant the User Account […]