Profile · Register · Preferences · FAQ · Search · Favorites · Last active topics
RightMark Forums » CPU RightMark »
Running RMClock as a service - Anyone tried it ?
Search · New topic · Post Reply
close · move · delete · merge
to favorites · print · search · email
Kintac: Running RMClock as a service - Anyone tried it ?
Kintac
Junior Member

Posts: 4
Registration: May 2005
posted August 17, 2006 07:59 PMprofileeditreply w/quoteIP

Hi,

RMClock is really nice. The only thing that is missing is, that a normal user, having no administrator status, is not able to run it.
I found this url which tells how to start a programm as a service.
It is written in German, btw.

http://www.rz.uni-freiburg.de/pc/sys/srvany/index.php


google translation:
http://translate.google.com/translate?u=http%3A%2F%2…%2Flanguage_tools



In general you use srvany.exe and instsrv.exe from "Microsoft NT Resource Kit" to get those programs running.

Has anyone tried it with RMClock ?

Reinhard Strauss
Junior Member

Posts: 1
From: Germany
Registration: Aug 2006
posted August 26, 2006 03:55 AMprofileeditreply w/quoteIP

I tested it some time ago using RMClock version 1.5.

Reasons: RMClock is a very powerful tool which can help to design cool and quiet PC systems.

Results: RMClock can be started/stopped as a service without any error, GUI data transfer is working. But: The 'RMClock as service' strategy is useless because
- RMClock Registry settings are handled through HKCU which causes conflicts with a 'global' service.
- Non-Administrator users produce errors with a 'RMClock service'.

Conclusion: RMClock is a really nice tool to manage CPU power consumption. But for one reason or another the programmers decided to stick with the old-fashioned, insecure 'Admin-Application' concept. What I would like to see is RMClock running as a service at system startup which allows restricted rights user operation.

bilemke
Junior Member

Posts: 9
Registration: Aug 2006
posted August 26, 2006 08:53 AMprofileeditreply w/quoteIP

Hmm. I havent had a need for this yet.. But I will try messing with system and default user hive files to see if I can get this to go..

Not sure I would like for all users to have access to it in its current form anyway.. I wouldnt want them messing with settings related to the processor voltage and what not..

For multi user, the program still needs to be worked on.. Security is something we cant accomplish with it right now no matter what way we try to run it..

foxyshadis
Junior Member

Posts: 6
Registration: Jul 2006
posted August 26, 2006 08:15 PMprofileeditreply w/quoteIP

Just creating a new user account with read-only access to rmclock and windows folders is enough (and any other folders other services you use it for might need). Then you can populate its registry and set the service to log on with that account.

bilemke
Junior Member

Posts: 15
Registration: Aug 2006
posted August 27, 2006 07:33 AMprofileeditreply w/quoteIP

Hmm... That would work.

Thing is.. Can the user still interact with the program?

Dmitri Besedin
Member

Posts: 1202
From: Moscow
Registration: Apr 2003
posted August 29, 2006 02:58 PMprofileeditreply w/quoteIP

Reinhard Strauss
What I would like to see is RMClock running as a service at system startup which allows restricted rights user operation.

I hope that will surely be done somewhere in the future

bilemke
Thing is.. Can the user still interact with the program?

I'm afraid it won't be possible in this case.

Reinhard Strauss
Junior Member

Posts: 3
From: Germany
Registration: Aug 2006
posted August 29, 2006 07:52 PMprofileeditreply w/quoteIP

Dmitri Besedin:
I hope that will surely be done somewhere in the future

There are at least two good reasons to do it the sooner the better:

i. We all know that Windows is not a secure operating system. So, in this case the right solution is not to force users to run Windows with admin rights.

ii. Right now RMClock is launched at user login. If there is no user login the system might get hot without any power management.

Pepo
Member

Posts: 58
From: BA, SK
Registration: Jan 2006
posted August 30, 2006 02:52 AMprofileeditreply w/quoteIP

IIRC Dmitri was already loudly thinking about dividing RMClock into service and GUI exact for this reason. The result would be probably not so CPU&memory-lightweight and GUI not so performant, but sure reasonable, and finally usable on systems with non-admin users.

Peter

Dmitri Besedin
Member

Posts: 1208
From: Moscow
Registration: Apr 2003
posted August 30, 2006 03:15 PMprofileeditreply w/quoteIP

Pepo

In my vision, it should be something like this:

1. A very light and tiny RMClock service performing only CPU power management and only that;
2. A heavy GUI that controls this service and performs all other tasks like monitoring.

Reinhard Strauss
Junior Member

Posts: 4
From: Germany
Registration: Aug 2006
posted August 31, 2006 04:23 PMprofileeditreply w/quoteIP

Dmitri Besedin:
In my vision, it should be something like this:
1. A very light and tiny RMClock service performing only CPU power management and only that;
2. A heavy GUI that controls this service and performs all other tasks like monitoring.


I really appreciate that. If we consider all the benefits of a splitted application, size should not be a problem at all and the GUI could be launched on demand only.

I would like to encourage Dmitri to put a high priority on this concept.

[Edited: Reinhard Strauss, August 31, 2006 05:17 PM]

Dmitri Besedin
Member

Posts: 1212
From: Moscow
Registration: Apr 2003
posted September 04, 2006 04:27 PMprofileeditreply w/quoteIP

Reinhard Strauss
I would like to encourage Dmitri to put a high priority on this concept.

OK, I'll give it a try

bilemke
Junior Member

Posts: 18
Registration: Aug 2006
posted September 05, 2006 09:44 AMprofileeditreply w/quoteIP

quote:
Dmitri Besedin:
Reinhard Strauss
I would like to encourage Dmitri to put a high priority on this concept.

OK, I'll give it a try


Yay..

Reinhard Strauss
Junior Member

Posts: 5
From: Germany
Registration: Aug 2006
posted September 08, 2006 03:05 PMprofileeditreply w/quoteIP

Dmitri Besedin:
OK, I'll give it a try

Does this mean you are going to implement the 'RMClock Service' in the next release? This would be most beneficial.

Dmitri Besedin
Member

Posts: 1233
From: Moscow
Registration: Apr 2003
posted September 11, 2006 03:54 PMprofileeditreply w/quoteIP

Reinhard Strauss
Does this mean you are going to implement the 'RMClock Service' in the next release? This would be most beneficial.

The next release (2.2) is already on the way (at least, in a pre-release form ), so I can make it no earlier than the next official release (RMClock 2.3 or something like that )

NoOne
Junior Member

Posts: 2
From: Brasil
Registration: Sep 2006
posted September 14, 2006 08:01 AMprofileeditreply w/quoteIP

Great ideia Rinhard,
and... Dmitri... good work

Dirksche
Junior Member

Posts: 1
From: United Kingdom
Registration: Sep 2006
Web-page
posted September 17, 2006 07:32 PMprofileeditreply w/quoteIP

Hi,
I have the problem that AMD PowerNow isn't working on my laptop (Windows 2000 with latest patches). On battery it was still running with full speed .
So I gave RMClock a try and it's an excellent piece of software .
The only disadvantage is that it won't run from a non-admin account, but I found a solution for this.
Just greate a new "Job" (I can't remember how it's called in English, but it's in "Control Panel" and I believe it's called "Jobs". In German it's called "Geplante Tasks".)
Set this job up to run RMClock at system start under the Administrator account. That's all! As soon as you start your PC the next time, RMClock will be started in the background . Even before you log in.
The only disadvantage is that there are no icons for RMClock in the tray bar.

Regards,
Dirk

Addition of September 17, 2006 09:45 PM:

Hi,

it's me again. I just want to let you know that I tried to install the latest RMClock 2.2 RC1 as service and it worked fine.
Now, it's started when the PC starts up and I get the icons in the tray bar for every user .
A disadvantage on a multi-user PC is that every user will be able to change the settings.

I installed it with srvany. You can find many websites which describe where to get and how to use srvany.
It must run under the "LocalSystem" account and you must allow data transfer between service and desktop.

One problem was that when a user logs out, RMClock receives a WM_QUERYENDSESSION and WM_ENDSESSION message and terminates (the GUI was still available at the next login, but somehow dead).
This problem can be solved by restarting the service when a user logs out. The following steps are required:
- Create the following script "C:\WINNT\system32\GroupPolicy\User\Scripts\Logoff\RestartRMClockService.bat" (assumed you called your new service "RMClock"; else replace "RMClock" with the name of your service):

net stop RMClock
net start RMClock

- Go to Start/Run and open gpedit.msc
- Go to User configuration/Windows Settings/Scripts (Login/Logoff)
- Double-click on "Logoff" and add the new script

That's all . It's working fine on my PC !
(P.S.: I translated the options and menus from German back to English. If you can't find something, please use some imagination.)

Regards,
Dirk

Dmitri Besedin
Member

Posts: 1248
From: Moscow
Registration: Apr 2003
posted September 26, 2006 11:19 AMprofileeditreply w/quoteIP

Dirksche

Thanks for your extensive research on this topic
Until I'll find some time to implement the native service functionality, this would be the ultimate solution for everyone willing to run RMClock as a service

Reinhard Strauss
Junior Member

Posts: 6
From: Germany
Registration: Aug 2006
posted October 06, 2006 12:36 PMprofileeditreply w/quoteIP

Dmitri Besedin:
The next release (2.2) is already on the way (at least, in a pre-release form ), so I can make it no earlier than the next official release (RMClock 2.3 or something like that)

Many thanks for your commitment Dmitri, I'll keep it in mind.

AlAir
Junior Member

Posts: 1
From: Italy
Registration: Jan 2007
posted January 25, 2007 01:22 AMprofileeditreply w/quoteIP

I run RMclock as a service using FireDaemon (www.firedaemon.com) to run it at Windows startup. Now FireDaemon is not more free but if you find an old v1.6 it was free (but it can run only ONE program). I set up FireDaemon to run RMClock with Administrator account and to restart it after 5 seconds if closed. So, when a user logout, RMclock is closed but after 5 seconds it's on again (or better, I hope it's on again ... I cannot test this without logging but when I login it starts anyway so I'm not able to know if it is started now or before perhaps looking at log files ?? ), but, more important, RMclock is started and work ok also for "normal" Users and Power Users, not only for Admin
I hope this can help to wait the next RMclock version with possibility to run as service

Jojo4u
Junior Member

Posts: 4
Registration: Oct 2006
posted January 25, 2007 02:59 AMprofileeditreply w/quoteIP

I am happily run it under my Admin account with this beefed up runas version. It ties the password to one program. http://robotronic.de/runasspc/

Your reply:

Name, password, icon:    without smilies


Search · New topic · Post Reply
close · move · delete · merge
to favorites · print · search · email
Hop to:  


www.RightMark.orgRightMark Audio Analyzer (RMAA)D3D RightMark (D3D RM)CPU RightMark (CPU RM)

Copyright © rightmark.org, 2001-2004
Development and technical support: MN, © 2000-2003