Re: Escalation of privilege
From: Buz [MSFT] (buzb_at_online.microsoft.com)
Date: 12/29/03
- Next message: Lura Speth: "How to disable Log Off option on shutdown menu"
- Previous message: Holly Mazerolle: "RE: remove browsing to c: from users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Dec 2003 15:38:51 -0500
Have you looked into using RunAs?
HOW TO: Enable and Use the "Run As" Command When Running Programs in Windows
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q294676
Buz Brodin
MCSE NT4 / Win2K
Microsoft Enterprise Domain Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
"Nicolas Macarez" <macarez@free.fr> wrote in message
news:OPkBxXQrDHA.3504@TK2MSFTNGP11.phx.gbl...
> 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
executed.
> 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
doen't
> 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
>
>
- Next message: Lura Speth: "How to disable Log Off option on shutdown menu"
- Previous message: Holly Mazerolle: "RE: remove browsing to c: from users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|