Administrator Program Shortcut without Prompt
- Joel Lipman
- Windows OS
- Hits: 6871
- Microsoft Windows 7 Enterprise
- User with Local Administrator Privileges (required for setup)
Why?
Our work has group policies and two of our programs, Visual Studio 2010 Ultimate (VS2010) and Business Intelligence Development Studio (BIDS), require elevated or administator rights/privileges when run. This is so that these programs can write back and forth to our C drive. If we don't run them as local administrators on the workstation, they error incessantly and never manage to do what you want them to do.
What?
I want to create a desktop shortcut that I can double-click and it will run the above programs in administrator mode without confirmation by the Windows operating system. At home this may not be a problem but this is intended for those in an office environment and we get prompted to login (with the same account as we're currently logged-in with???) instead of being able to just click on "Yes".
How?
The gist is that we're going to create a scheduled task (that won't be scheduled) and a shortcut to that task: