Re: Escalation of privilege

From: Ron Bernier (
Date: 11/17/03

Date: Mon, 17 Nov 2003 13:29:13 -0500

The other alternative to Torgeir's response is to simply give them modify
access to the registry keys they need access to ...

"Nicolas Macarez" <> wrote in message
> Hi Everyone
> I am working on a Windows 2000 Professional desktop (no domain controller,
> no Active Directory, everything is local).
> When a user, without any admin rights, logs on, a logon script is
> This VB script (WSH and WMI stuff) modifies some registry keys and entries
> under HKEY_CURRENT_USER and I need to run this script with the admin
> rights - otherwise certain entries are not modified because the users
> have the right to do so.
> How can I escalate the privilege INSIDE my script, and then release the
> rights afterwards, once the session is opened ?
> Help greatly appreciated !
> Nicolas