jamf / MakeMeAnAdmin

Provides temporary admin access for a standard user via Jamf Self Service
255 stars 65 forks source link

Service start error at MSI installation (v2.3) #19

Closed Astorias96 closed 7 months ago

Astorias96 commented 7 months ago

Hello Pseymour,

I try to install Make Me Admin v2.3 on a Windows 10 computer (version 1809) using the packaged MSI that was downloaded on Github/Releases. the installer copies all the files and fails to start the service. A dialog appears telling that the service could not be started, then, when hitting retry, it fails again. Cancelling the installation removes the binaries. The UI could start during installation, but gets removed after cancellation.

I activated MSI installer logging, this is the associated logfile:

MSI (s) (5C:3C) [10:43:32:556]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI89F0.tmp, Entrypoint: ExecServiceConfig MSI (s) (5C:C4) [10:43:32:557]: Generating random cookie. MSI (s) (5C:C4) [10:43:32:560]: Created Custom Action Server with PID 12756 (0x31D4). MSI (s) (5C:F0) [10:43:32:590]: Running as a service. MSI (s) (5C:F0) [10:43:32:592]: Hello, I'm your 32bit Elevated Non-remapped custom action server. MSI (s) (5C:54) [10:43:32:599]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1]) MSI (s) (5C:54) [10:43:32:599]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (5C:54) [10:43:32:599]: Executing op: ServiceControl(,Name=MakeMeAdmin,Action=1,Wait=1,) MSI (s) (5C:54) [10:47:36:573]: Note: 1: 2205 2: 3: Error MSI (s) (5C:54) [10:47:36:573]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1920 MSI (c) (B0:00) [10:47:36:578]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 1920. Service 'Make Me Admin' (MakeMeAdmin) failed to start. Verify that you have sufficient privileges to start system services. MSI (s) (5C:54) [10:49:04:468]: Note: 1: 2205 2: 3: Error MSI (s) (5C:54) [10:49:04:468]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709 MSI (s) (5C:54) [10:49:04:468]: Product: Make Me Admin -- Error 1920. Service 'Make Me Admin' (MakeMeAdmin) failed to start. Verify that you have sufficient privileges to start system services.

MSI (s) (5C:54) [10:53:08:453]: Note: 1: 2205 2: 3: Error MSI (s) (5C:54) [10:53:08:453]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1920 MSI (s) (5C:0C) [10:53:08:476]: I/O on thread 4896 could not be cancelled. Error: 1168 MSI (s) (5C:0C) [10:53:08:476]: I/O on thread 17436 could not be cancelled. Error: 1168 MSI (s) (5C:0C) [10:53:08:476]: I/O on thread 13652 could not be cancelled. Error: 1168 MSI (s) (5C:0C) [10:53:08:476]: I/O on thread 5572 could not be cancelled. Error: 1168 MSI (s) (5C:54) [10:53:08:477]: Note: 1: 2205 2: 3: Error MSI (s) (5C:54) [10:53:08:477]: Note: 1: 2228 2: 3: Error 4: SELECT Message FROM Error WHERE Error = 1709 MSI (s) (5C:54) [10:53:08:477]: Product: Make Me Admin -- Error 1920. Service 'Make Me Admin' (MakeMeAdmin) failed to start. Verify that you have sufficient privileges to start system services.

I also tried to start it manually, it fails. The MSI was started with administrator rights, even though I understood from some issues here that it might not be required. Can you please help ? If required, I can DM you the full logfile.

PS: While looking up the error code 1902, I found this thread: https://stackoverflow.com/questions/20061057/error-1920-service-failed-to-start-verify-that-you-have-sufficient-privileges-t

I will try some suggestions in the meantime. Thank you in advance for your help.

Kind regards, Astorias96

Astorias96 commented 7 months ago

Sorry, wrong repo