**Describe the enhancement:** At the moment we do following flow when switching priviledged mode of agent: - change permissions and other related tasks - uninstall service - remove service - install service - start service DoD for this issue is: - [ ] Following flow - change permissions and other related tasks - replace config - restart service - [ ] Following mechanisms used for config change - Windows: calling [windowsService.UpdateConfig](https://pkg.go.dev/golang.org/x/sys/windows/svc/mgr#Service.UpdateConfig) - Systemd/Darwin: modification of a service file