Closed Luth1ng closed 1 year ago
Well, my bad. Turned out my server has this GPO set to Disabled by default.
Press the Windows key + R to open up a Run box. Then, type "gpedit.msc" and hit Enter to open the Local Group Policy Editor.
Open Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components.
Click Windows Remote Shell.
View the state of the "Allow Remote Shell Access" setting.
Double click "Allow Remote Shell Access" to set the value to either "Not Configured" or "Enabled".
Update :
I also needed to add an AppLocker rule to permit the remote powershell session to be in FullLanguage mode instead of Constrained :
gpedit.msc > Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Application Control Policies > AppLocker > Script Rules > Create New Rule...
Next > Action: Allow > User or group: Remote Management Users > Path > Enter: * > Next > Create
Hello,
I sucessfully configured my WindowsServer 2019 with the following guide : https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/windows-winrm-wsman-tutorial/
All the modes are working as expected except the updates service which output is :
And a working example :
Many thanks for your help