KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Unable to start script. A required privilege is not held ...

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
BoschmanIT



Joined: 16 Jul 2021
Posts: 22

PostPosted: Mon Sep 27, 2021 8:35 am    Post subject: Unable to start script. A required privilege is not held ... Reply with quote

Hi All,

I hope you can help me understand something a bit better. I try to run a powershell shell script test against one of my servers. The script runs fine and returns the proper result. When I create the shell script test and select the script I want to run, HM returns "Error: Unable to start script. A required privilege is not held by the client".

So I checked all the UAC off on the HM and the target server. HM service runs under a service account which as all local admin rights on the target server. Also the target server is taken up into connection manager with again the same service account.

The most strange thing is, from the shell script manager I can run a test of the script. This test runs just fine and also gives me the desired outcome. What can I do about this?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Mon Sep 27, 2021 10:30 am    Post subject: Reply with quote

Quote:
The most strange thing is, from the shell script manager I can run a test of the script. This test runs just fine and also gives me the desired outcome. What can I do about this?

Because you are using RCC started as application, right?

Please make sure "Replace process level token" privilege assigned to the account (necessary for Shell Script, External test, Execute external program action).

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
BoschmanIT



Joined: 16 Jul 2021
Posts: 22

PostPosted: Tue Sep 28, 2021 2:46 am    Post subject: Reply with quote

Quote:
Because you are using RCC started as application, right?


You are absolutely right about that.

Quote:
Please make sure "Replace process level token" privilege assigned to the account (necessary for Shell Script, External test, Execute external program action).


I did that on the HM server and on the target server but still the outcome is the same. Any other suggestions?

Kind regards,
Jeffrey
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Tue Sep 28, 2021 5:47 am    Post subject: Reply with quote

This should be done for account used by HostMonitor service.
Windows version on HostMonitor system? build number? recent updates?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
BoschmanIT



Joined: 16 Jul 2021
Posts: 22

PostPosted: Tue Sep 28, 2021 7:00 am    Post subject: Reply with quote

Hi Alex,

I indeed did this for the account which is used by the HM Service. HM Server is the following;
Windows Version: Windows Server 2019 STD with latest updates
HostMonitor version: 12.98

Target server is the following;
Windows Version: Windows Server 2016 STD with latest updates
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Tue Sep 28, 2021 8:46 am    Post subject: Reply with quote

This error is not related to remote system.

We cannot reproduce the problem on Windows Server 2019 STD with latest updates.
Have you restarted HostMonitor service after account modification?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
BoschmanIT



Joined: 16 Jul 2021
Posts: 22

PostPosted: Wed Sep 29, 2021 12:12 am    Post subject: Reply with quote

Hi Alex,

The restart of the service was the missing link. I didn't think it would matter that much. But I was wrong. Thank you for the support.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Wed Sep 29, 2021 4:28 am    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index