Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > run scripts with administrative rights
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.active_directory (More info?)

 

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

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.active_directory (More info?)

 

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@yahoo.com> wrote in message
news:ew7HmY0dFHA.2776@TK2MSFTNGP10.phx.gbl...
> 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
>

Reply to Anonymous

Archived from groups: microsoft.public.win2000.active_directory (More info?)

 

Adam



"Cary Shultz [A.D. MVP]" <cwshultz@mvps.org> wrote in message
news:OEhvOoBeFHA.2520@TK2MSFTNGP09.phx.gbl...
> 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@yahoo.com> wrote in message
> news:ew7HmY0dFHA.2776@TK2MSFTNGP10.phx.gbl...
>> 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
>>
>
>

Reply to Adam

Archived from groups: microsoft.public.win2000.active_directory (More info?)

 

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@mvps.org> wrote in message
news:OEhvOoBeFHA.2520@TK2MSFTNGP09.phx.gbl...
> 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@yahoo.com> wrote in message
> news:ew7HmY0dFHA.2776@TK2MSFTNGP10.phx.gbl...
>> 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
>>
>
>

Reply to Adam
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > run scripts with administrative rights
Go to:

There are 1244 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them