Re: run scripts with administrative rights

Tech-Archive recommends: Fix windows errors by optimizing your registry



Adam,

A 'Start up' script is run when the computer starts up and, thus, is run
under the context of the local system. As such, it *should* have all of the
rights and permissions that it needs.

Are you talking about a logon script that is executed when a user logs on?

--
Cary W. Shultz
Roanoke, VA 24012
Microsoft Active Directory MVP

http://www.activedirectory-win2000.com
http://www.grouppolicy-win2000.com



"Adam" <adam_n_family@xxxxxxxxx> wrote in message
news:ew7HmY0dFHA.2776@xxxxxxxxxxxxxxxxxxxxxxx
> Hi.
>
> how could we run startup scripts with administrative rights, on domain
> user profile?
>
> i have a script that will run a batch file,
> which will run regsvr a .dll file into registry.
> it works, but dont have the needed rights to do so.
> i tried with adding the domain user as local admin,
> everything runs as expected.
>
> any idea?
> thanks in advance.
>
> Adam
>


.



Relevant Pages

  • RE: Using SMS to install network printers
    ... - When it spawns it has to have appropriate rights. ... directory from a command line and run the batch file. ... You might have to tweak your script a bit for error ... > cscript SCRIPTNAME.VBS ...
    (microsoft.public.sms.misc)
  • Re: windows events
    ... temporary directory on the same drive as your destination file, ... There are quite a lot of files to compare. ... The script will be started from VBA code using a timer. ... files on the server to files on the local system, ...
    (microsoft.public.scripting.vbscript)
  • Re: windows events
    ... temporary directory on the same drive as your destination file, ... There are quite a lot of files to compare. ... The script will be started from VBA code using a timer. ... files on the server to files on the local system, ...
    (microsoft.public.scripting.vbscript)
  • Re: windows events
    ... I believe robocopy is available for xp, but it is a separate download as you ... I am about to develop a WSH script that will compare files (office ... There are quite a lot of files to compare. ... files on the server to files on the local system, ...
    (microsoft.public.scripting.vbscript)
  • Re: run scripts with administrative rights
    ... > under the context of the local system. ... > the rights and permissions that it needs. ... > Are you talking about a logon script that is executed when a user logs on? ...
    (microsoft.public.win2000.active_directory)