Re: run scripts with administrative rights



hi there.

i get de info you mentioned too.
but it doesnt work as it claims to be.
maybe becos de user profile is not one of the local admin profile.

i run at the computer configuratiion, startup script.

Adam

"Cary Shultz [A.D. MVP]" <cwshultz@xxxxxxxx> wrote in message
news:OEhvOoBeFHA.2520@xxxxxxxxxxxxxxxxxxxxxxx
> 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: Logon Script or Command Line Switch??
    ... If you add this script to their user account as a logon script on the ... new user profile as users log on the first time. ... > (only thing this server will be used for). ...
    (microsoft.public.windows.server.scripting)
  • Re: Copy all but one file.
    ... could use the /XF switch to exclude specific file names. ... Or mayby I'll be lucky and some one will have a script ... copies a user profile from one PC to another, ... strUserName = objNetwork.UserName ...
    (microsoft.public.scripting.vbscript)
  • Re: active directory project
    ... You don't necessarily need to write a script to map a home drive, you can define a unc within the AD user profile if you use standard locations across your organization ... MVP - Directory Services ... Converting to active directory ...
    (microsoft.public.windows.server.active_directory)
  • Re: "Tidying-up" my new GP
    ... keep Favourites but just remove the "links" submenu from favourites. ... profile so is it easier to create a default user profile or should I try and ... You have to work with a login script. ...
    (microsoft.public.windows.group_policy)
  • 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)