Hello, can anyone help me. Is there any way to have a script temporarily grant admin rights to a user till next logoff and possibly have the script automatically deleted after it has executed?
Here is a little background:
I created a laptop image which has HP printer drivers preinstalled. We are now seeing a problem with our remote users being prompted to install the printer drivers again which requires admin rights (they only have power user rights). The problem seems to be that each individual printer has a hard coded id which is linked to the usb vendor and device id. So the original printer used to create the image can connect fine to any laptop with the image but any other printer is seen as a new device and prompts to user to install new hardware and software. We are trying to avoid giving ths users the admin details to reinstall the drivers. I have already tested disabling the serial number check in the usbflags key in the registry but am still gettin a prompt. Thanks for any help.
Here is a little background:
I created a laptop image which has HP printer drivers preinstalled. We are now seeing a problem with our remote users being prompted to install the printer drivers again which requires admin rights (they only have power user rights). The problem seems to be that each individual printer has a hard coded id which is linked to the usb vendor and device id. So the original printer used to create the image can connect fine to any laptop with the image but any other printer is seen as a new device and prompts to user to install new hardware and software. We are trying to avoid giving ths users the admin details to reinstall the drivers. I have already tested disabling the serial number check in the usbflags key in the registry but am still gettin a prompt. Thanks for any help.