Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When attempting to start or stop a Websphere 7 service from the First Steps window it fails with the following error;

Cannot run program "C:\WebSphere\AppServer\bin\WASService.exe": CreateProcess error=740, The requested operation requires elevation

What is causing this and how do you work around the problem? The command is run by a user who has administrator rights.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Please post whole log. Are you able to start/stop service manually from windows services or by running startServer.bat server_name command for /bin directory? When service is created properly, you should get info that windows service is gonna be started as well. Does windows os log (Event Viewer) say anything? Dr. Watsons logs? Doeas this probrem appears only when u start it from First Steps? And finally, were you trying to recreate windows service using WASService.exe? Regards

share|improve this answer
    
Just from the Windows services. –  Alastair Jul 11 '11 at 20:27

Are you using a newer Windows OS (2008 and up, I believe), where you have to use the "Run as Administrator" command, in order to execute priviledged commands, such as adding a windows service?

The whole "Administrator user does not really equal full Administrator rights" "feature" in recent windows versions has tripped me up many times.

If so, make sure that, when you open the command line window to execute the WASService.exe command, that you are running cmd.exe "with administrator rights".

share|improve this answer

I guess you are running this on Windows 7 or Vista. You would need to use "Run as Administrator" for startup. The error message gives this away (your account does not have the correct permissions).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.