Pierre Toutant
Pierre Toutant

Reputation:

Install EXE as service on Windows 2008 Server

Sorry for bad english. I'm trying to install an executable as a service using instsrv.exe, here is what I tried:

instsrv "Gestion1" MROOneService.exe

That is the message that i get when trying:

"You are not authorized to do this - please contact your system Administrator"

Someon can help. Thanks

Upvotes: 1

Views: 12104

Answers (2)

Moshe Kaplan
Moshe Kaplan

Reputation: 11

You need the command line or the call to run as administrator. It is not enough to be logged in as administrator and run the command / statement.

Upvotes: -1

oscarkuo
oscarkuo

Reputation: 10453

you should run the command as an administrator

I don't have Windows 2008 with me at the moment but I think you right click on the DOS command line icon from your start menu then choose "Run as administrator...". You then run this command inside the administrator dos command line prompt.

Upvotes: 6

Related Questions