Wthfit wrote: That's what I thought. I get prompted as soon as the java update gets ready to start installation Try enabling this GPO: Computer Configuration Administrative Templates System Scripts Run logon scripts synchronously By default scripts run asynchronously, which means that users can logon before the script has a chance to execute. Setting this policy will make the computer wait for the script to finish before a user can logon. Give it a try. • Put the script in computer startup scripts • Set the above policy to apply to the computer's OU • GPupdate /force (to make sure that the policy applies, as I'm not sure if admin templates or scripts will process first) • Restart. /savecred is the flag you are looking for. You will need to run this once with that flag to save credentials. Otherwise when setting up the scheduled task there is a radio button for running regardless of the user being currently logged in. You can toggle the saved credentials here as well. Of course if you don't need that level of access check that box that does not save credentials (only local resources will be available). If this is a system with UAC (and at this point it really should be) you may need to check off the 'Run with Highest Privileges' checkbox. Meganerd wrote: /savecred is the flag you are looking for. You will need to run this once with that flag to save credentials. Otherwise when setting up the scheduled task there is a radio button for running regardless of the user being currently logged in. You can toggle the saved credentials here as well. Of course if you don't need that level of access check that box that does not save credentials (only local resources will be available). Make a batch file in an editor and nameit.bat then create a shortcut to it. Nameit.bat - shortcut. Then right click on Nameit.bat - shortcut ->Properties->Shortcut tab -> Advanced and click Run as administrator. Execute it from the shortcut. I am trying to create a keyboard shortcut to run a program as a different user. So far it seems the best way would be to make a batch file to run. If this is a system with UAC (and at this point it really should be) you may need to check off the 'Run with Highest Privileges' checkbox. I just need this thing to run once. Deploying it isnt the issue, its just getting it to run with the password saved in it. @play xbox 360 controller for mac. How exactly does /savecred work? You will laugh at how stupid this is. So we had a instance recently just like this. A program needed opened with admin, then the user selected the updates, which were downloaded, and each of those had to be ran as admin, from different scripts that changed with each download. So we created 'Domain admin for all' day. We told all staff that they would have to reboot their computers at a certain time, run the update, and then we removed domain admin and told them to reboot again. Wasn't my idea, but it worked for all but a few users who failed to listen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |