Hi all.

I am currently writing a script that unregisters a DLL at login for
students but the user needs Administrative rights to perform the
operation which we obviously do not want to do. Is there way that I
can make the script run at logon so they have aministrative rights.

Thanks for any help you can provide

Re: Run VBS with Administrative Rights by Richard

Richard
Thu Nov 29 06:41:54 PST 2007


<christopher_board@yahoo.co.uk> wrote in message
news:61c3ffb0-bc5a-47d4-bafc-e6365ca78e57@f3g2000hsg.googlegroups.com...
> Hi all.
>
> I am currently writing a script that unregisters a DLL at login for
> students but the user needs Administrative rights to perform the
> operation which we obviously do not want to do. Is there way that I
> can make the script run at logon so they have aministrative rights.
>
> Thanks for any help you can provide

Startup scripts run with System privileges on the local computer. You could
unregister the dll in a Startup script.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--