Give this one a try.
https://www.codykonior.com/2015/11/16/rebuilding-the-log-on-as-a-service-list-after-it-has-been-overwritten-by-group-policy/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I add "NT SERVICE\ALL SERVICES" back to the "Log on as a service" permission? By default it is the only thing in "Log on as a service". It can be removed, but not added back with the local group policy editor. I have an image created by someone else with different stuff in that permission and not having NT SERVICE\ALL SERVICES appears to be creating trouble for an application installer. This is Windows Server 2019.
Give this one a try.
https://www.codykonior.com/2015/11/16/rebuilding-the-log-on-as-a-service-list-after-it-has-been-overwritten-by-group-policy/
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
First prepare the configuration file in cmd -> secedit /export /cfg C:\secpol.cfg
Open the secpol.cfg file in a text editor and add the following line under the [Privilege Rights] section to ensure "NT SERVICE\ALL SERVICES" has the "SeServiceLogonRight" permission: SeServiceLogonRight = NT SERVICE\ALL SERVICES
run the following command in cmd:
secedit /configure /db secedit.sdb /cfg C:\secpol.cfg /overwrite
restart the computer