Can Build Forge run a step with elevated permissions?
Is there a way for Build Forge to run a Step like that, as an Administrator with elevated privileges? While testing my Build Forge project, my admin account and the service account BF is using has local admin rights to the Windows server.
4 answers
Thank you for the reply, I am just trying to run a command line command, for example, appcmd list sites. That command should give me some info about my IIS server. APPCMD has a number of other switches where I can add a site, a web app, a virtual directory, delete them, set settings, etc…. This link gives more info, http://www.iis.net/learn/get-started/getting-started-with-iis/getting-started-with-appcmdexe
I know the errors I have gotten with APPCMD is due to the server hardening that the security team applied but I was hoping if there was a way with Build Forge to get around that. The right click and run as Administrator is the solution I keep finding when googling. That would be fine if I was trying to do this step manually but I am trying to automate it.
I have been in a number of emails talking about the server hardening, loosening certain settings would probably work. I just don’t know if that will be allowed. I have seen this elevate.exe command line tool that might do what I want but since it is 3rd party, I don’t know if that is allowed. http://jpassing.com/2007/12/08/launch-elevated-processes-from-the-command-line/ Finally I opened a PMR to ask IBM support to see if they have a solution/workaround.
http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html