I need to register some dll files on user's PC when they reboot with the login bat script. I was thinking of creating a vscript that would register the dll files. However, in order to register the dlls, I need to run as admin with cmd.
Can this be done with Vscript by doing some kind of impersonation? If so, please help with examples.
I think you could do this using Group Policy. You could store the BAT file somewhere in network then modify following group policy rule:
GPO\Computer Configuration\Policies\Win