WakeOnLAN icon indicating copy to clipboard operation
WakeOnLAN copied to clipboard

Error installing WOLAgent

Open paulo-innecco opened this issue 7 years ago • 8 comments

When I tried to install WOLAgent at Windows Server 2008 I received the error below:

image

paulo-innecco avatar Feb 23 '18 14:02 paulo-innecco

Translating to English:

CreateService: WOLAgent The account name is invalid, nonexistent or the password is not valid for the specified account name.

paulo-innecco avatar Feb 23 '18 15:02 paulo-innecco

In English based systems, the Agent runs under the account "Network Service". I have not tested Agent in other languages. Could you change the "log on" account to the equivalent of "Network Service" in your language?

basildane avatar Feb 28 '18 12:02 basildane

@basildane how do I change the "log on" account ? I downloaded the .exe file and the service was not installed at the server machine because the exception aborted the process. Should I download the source files e change it ? I am not sure if can compile it again after that to generate a update .exe. Can you help me ? Thanks.

paulo-innecco avatar Feb 28 '18 15:02 paulo-innecco

I did not realize that happened during the install. Can you open services and see if the "Aquila WOL Agent" service is installed?

If it is, you can change the logon account. If not, let me know and we will have to figure out a fix for this.

basildane avatar Feb 28 '18 15:02 basildane

@basildane I had checked before if the service "Aquila WOL Agent" was there and it is not. If the service had been installed I could change the logon account without any problem. Thanks again.

paulo-innecco avatar Feb 28 '18 15:02 paulo-innecco

Please install this beta. This changes the service account to Local System. Agent 1.2.0.10 beta

I'm still puzzled why it doesn't work for you. I went over the documentation for Network Service and I'm sure we have it right. Let me know how this works, please.

basildane avatar Mar 01 '18 14:03 basildane

Hi @basildane I installed this Beta WOLAgent without problem this time. The service is installed and running. I could not test the functionality yet. I will do later. Thanks.

paulo-innecco avatar Mar 01 '18 14:03 paulo-innecco

@basildane the problem ist most likely that in non-english versions of Windows, several built-in account names are localized too. The "Network Service" logon account is actually "Netzwerkdienst" in German. You should use an API to get the localized name from the well-known SID instead. I understand this is an issue with the INNOsetup product you are using. grafik

Twincharger avatar Oct 25 '19 07:10 Twincharger