Re: "Using hdparm in limited user accounts" or "starting progs with admin rights before waking up from hibernation"



Hi, when I use Hibernate Trigger programs are not executed with admin
rights. It is just like starting the batch myself by clicking when
returning from hibernation to my limited account.

On 14 Jul., 22:42, "Pegasus \(MVP\)" <I....@xxxxxxxxxx> wrote:
<PatrickM...@xxxxxx> wrote in message

news:859c16e3-c1de-4a4b-9d5c-dfa1697c2919@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hi everybody,

I am using the programm hdparm to modify the settings of my HDD
(especially Advanced Power Management). This program works fine, but
has to be executed in each session. This is no problem, because it can
simply be but into a batch file and placed in the start-up folder.

However, I frequently use limited user accounts. Here, the command
does not work. It terminates with "hda: Permission denied". Is there
an option to let windows execute the command before I log into the
limited user account and thus to keep the option set while I work in
that account? I also have to mention that I usually use the hibernate
function, so actually, there is no real start-up process.

The situation is the following: When I am looged in as an admin and
start hdparm and then change into a limited account everything is fine
and the HDD option is set. When I then put the computer into
hibernation and then wake it up again next morning the setting is gone
and I have to switch to an admin account to make hdparm set the option
again.

Does anybody of you have an idea how I could solve this problem?

Greetings.

Since this program affects the system, not the user session, you should
execute the command as part of your startup process. It would be
sufficient to schedule your batch file to run at boot time. Don't invoke
it as part of the logon process.

When returning from hibernation then you could use Hibernate Trigger
to invoke your batch file again:http://www.desimonesystems.com/suspendtrigger/index.php
I haven't tried it myself - this is an educated guess.

.



Relevant Pages

  • Re: Lighten WinXP ?
    ... To remove entirely - along with all associated folders, ... probably should need to maintain both an Admin account and one ... When you hibernate your computer, Windows saves the contents of the system's ... You can control how much space your Temporary Internet Files can utilize... ...
    (microsoft.public.windowsxp.general)
  • Re: Endless Preparing to Hibernate
    ... Enquire, plan and execute ... Derek Harvey wrote: ... 'Preparing to Hibernate' but never gets any further and the machine ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Complex Hibernate mapping (or not?)
    ... can read or write to the account. ... basically every Account-User combination has a Privilege. ... return userPrivileges; ... But Hibernate was complaining there was no setter/getter for userPrivileges in UserAccount. ...
    (comp.lang.java.programmer)
  • Data Execution Prevention Sometimes Closes Windows Explorer
    ... account logged in when I shut down (hibernate). ... the limited account, Windows Explorer is immediately ... sort of configuration problem. ...
    (microsoft.public.windowsxp.security_admin)
  • Problem with MAX function in Hibernate
    ... I have a mapped class called Position that have a field called max. ... Query query = session.createQuery; ... When I execute this code I get an error: ... I thnig that hibernate is confused with the SQL MAX function. ...
    (comp.lang.java.programmer)