Running a script under admin account

I need to ad a simple command line to a batch file that runs when a user
logs in.

However, the command only works if the administrator is the one logging in.

Is there a way to add the admin credentials in the batch file so that the
command runs under the admin account?