ewfmgr.exe c: -restore at each bootup for USER Account

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I need to execute "ewfmgr.exe c: -restore" at each startup
Putting a registry key to "hkey_local_machine\....\....\....\run" just works for Admins
For user it is not executed. I think because they don't have the rights to execut
ewfmgr. The User account is a Group2 account (Power User)

How can I get it executed at EACH startup

THX :)
 
Stefan,

You may always run an app under Admin credentials (runas.exe, e.g.).
However, to avoid any password dialogs or specifying the admin password in
plain text, the best way would be to run your app from Run key. The app
should just run the ewfmgr (or use EWF API directly) creating and using
Admin priviledge token (check MSDN for more info on the APIs).

KM
 
At first let me thank you

One further question
You suggest, that i should write an app that does not need Admin priv. and creates an admin toke
for starting EWFMGR
And then put this app to the run key in the registry

Well i'll try that.
 
Stefan,

Yes, you got the idea.

Another way to solve the problem I see in permitting any user to launch the
EWFMGR from an non-interactive service that runs under Admin (or local
system) account privileges (easy to set up with SCM). You can even use
Srvany from NT Resource Kit.
More links on Srvany:
More About Srvany
http://support.microsoft.com/default.aspx?scid=kb;en-us;137890
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=8148
Download Page Applications as Services Utility:
http://www.petri.co.il/download_free_reskit_tools.htm
Download Link
http://www.dynawell.com/reskit/microsoft/win2000/srvany.zip

Also, I would suggest you to post the question to
microsoft.public.windowsxp.general and/or some NT/2K/XP administration
related newsgroups. The problem you are trying to fix has likely been
discussed and fixed a while ago.
 
Back
Top