| Topic review |
| Kintac | 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 | 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 | 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 | 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 | Hmm... That would work.
Thing is.. Can the user still interact with the program?
|
| Dmitri Besedin | 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 | 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 | 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 | 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 | 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 | Reinhard Strauss I would like to encourage Dmitri to put a high priority on this concept.
OK, I'll give it a try
|
| bilemke | 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 | 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 | 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 | Great ideia Rinhard, and... Dmitri... good work
|
| Dirksche | 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, DirkAddition 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 | 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 | 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 | 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 | 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/
|