Run some Login Scripts with Administrative privilege
Can anyone tell me a way to run some login scripts with Admin priviledge. For instance, I created some login script to disable usb and in my solution there is a batch file, so how can I run this batch file with Admin priviledge through login script? Thanks.
RE: Run some Login Scripts with Administrative privilege
Incase you are looking to just disable the USB, then you will have to better do that by going into group policy.
RE: Run some Login Scripts with Administrative privilege
Thanks, but I am not able to understand you, could you please elaborate what do you mean to say?