Each day when I get to work I have to start a bunch of programs and this can take ten minutes or more to do so I was wanting to automate the process by writing a batch file to open everything for me.
So far I've got IE & Outlook to launch fine using:
start /d "C:\Program Files (x86)\Internet Explorer\iexplore.exe" iexplore.exe
start /d "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" Outlook
However I also need to launch an instance of IE in my admin account & trying:
start runas /profile /savecred /user:!ofnn "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
iexplore.exe which I found on another question here does nothing. IE doesn't open & I don't see the UAC prompt that I'm expecting so I can enter my password.
Also regarding IE & bearing in mind I can't change the default home page settings due to corporate restrictions is it possible to specify a list of urls in the batch script for IE to open? I would have 7 in the regular IE & another 6 in the admin instance.