Re: Detecting Process Privileges

From: Jeffrey Hamblin (jhamblin_at_online.microsoft.com)
Date: 12/19/03


Date: Thu, 18 Dec 2003 17:24:38 -0800

CheckTokenMembership can do this for you.

"Elisha Berns" <e.berns@computer.org> wrote in message
news:03eb01c3c4de$c74f9090$a301280a@phx.gbl...
> Forgive the ignorance about security matters, this is
> perhaps a newbie question:
>
> During installation of a font I need to write to a
> registry key to make sure the font is properly installed.
> Apparently this only works if the current process
> has "admin" privileges.
>
> So how can I detect that the current process, or user,
> has "admin" write privileges for this reg key?
>
> Thanks for any help here,
>
> Elisha Berns



Relevant Pages

  • Re: crashes in office (excel and word for example) on macbook pro
    ... You do have a whacked-out installation, ... If you have any font managers in play, ... draw the context menu being disabled then re-enabled by the font manager, ... Rebuilding the font caches (as described amongst the material Bob sent you ...
    (microsoft.public.mac.office)
  • Re: Cant install v6 ms update KB898461 - error 0x8007F001.
    ... The font is invisible. ... updates [CallerId = AutomaticUpdates] ... installed on Engel's advice once again = in the result installation ...
    (microsoft.public.windowsupdate)
  • Help with installing Type1 fonts in MikTex
    ... I've read the many guides on the internet, ... elaborate 'The Font Installation Guide' by Philipp Lehman. ... in the case of MiKTeX? ...
    (comp.text.tex)
  • Re: on text size...
    ... enough other questions before the installation is complete, ... many don't choose to calibrate the display with it. ... "Me, Sir", I use Mozilla's friendly minimum font size setting to defend ... Given that very few of us are experts in all of graphic design, ...
    (alt.html)
  • Re: Gill Sans als Schrift installieren
    ... Allerdings werden die unter Windows nicht ... wie man einen Font installiert. ... von Tex ist. ... kommst Du aus meiner Sicht am "Font Installation Guide" nicht vorbei. ...
    (de.comp.text.tex)