William A. Rowe, Jr. wrote:
mt...@apache.org wrote:
+runas /env /savecred /user:%SERVICE_USER% "%COMSPEC% /K \"%SELF%\" %SERVICE_CMD%
%SERVICE_NAME%"
review your cmd.exe syntax. cmd /k is wrong here, that's to persist
a shell. You meant /c I suspect.
Well /c does give no info to the user
mt...@apache.org wrote:
> +runas /env /savecred /user:%SERVICE_USER% "%COMSPEC% /K \"%SELF%\"
> %SERVICE_CMD% %SERVICE_NAME%"
review your cmd.exe syntax. cmd /k is wrong here, that's to persist
a shell. You meant /c I suspect.
---
Author: mturk
Date: Wed May 27 08:19:13 2009
New Revision: 779047
URL: http://svn.apache.org/viewvc?rev=779047&view=rev
Log:
Fix bz41564 by adding /user option to service.bat which respawns the service.bat
using runas command. This pops-up a new window with elevated security on Vista+
Modified: