Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I saw a post where a user was allowed to actively log in and run PerfMon. Is there a way to set it up where I can create a dummy user, tell the Counter Log to run as the user, and tell it to go? Or does someone actively have to be logged in and running PerfMon?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

It depends on what your trying to achieve.

If you want an interactive logon from a non-privileged user, then you just have to allow the user to log in, either by adding them to the remote desktop users group, or by updating the local security policy and granting that user the log on locally privilege.

Alternatively, if you are just trying to capture perfmon stats, then simply log in as an administrative user to the server, set up the counter log, start it collecting, and log off the machine. It will continue to collect in the background.

share|improve this answer
    
The second option is what I want to achieve. When I tried that yesterday, it looked like it had stopped logging when I logged off. I probably just misread the logs. Thanks! –  Dustin Aug 14 '09 at 13:02
    
The only thing that would cause it to stop is if you set a stop time in the options. But from memory the default is for the start and stop to be set to manual. –  Sam Aug 14 '09 at 13:05

You can use the runas command in a script to accomplish this if you really want to. The arguments for the command are here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.