run startup scripts with administrative rights,

A

Adam

hi.

how could we run startup scripts with administrative rights, in domain user
profile?

i have a script to run upon machine startup,
which will call and execute a batch file.
the batch file is used to regsvr a .dll file and .exe file.
it works but face error as does not have the needed rights.
tried with adding the domain user as local admin,
everything runs as expected.

any idea to have the batch file runs with administrative rights?

Thanks in advance.
Adam
 
M

Matt Gibson

Not possible unless the user knows the Admin password.

The scripts run in the context of the currently logged in user.

Matt Gibson - GSEC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top