A wrapper around secedit.exe to configure local security policies
MIT License
177
stars
53
forks
source link
UserRightsAssignment: Allow_log_on_locally' with SourceInfo '::1129::4::UserRightsAssignment' threw one or more non-terminating errors while running the Get-TargetResource functionality. #186
Details of the scenario you tried and the problem that is occurring
Get-DscConfiguration -Verbose
Verbose logs showing the problem
Get-DscConfiguration : The PowerShell DSC resource '[UserRightsAssignment]UserRightsAssignment(INF): Allow_log_on_locally' with SourceInfo '::1129::4::UserRightsAssignment' threw one or more non-terminating errors while running the Get-TargetResource functionality.
These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
At line:1 char:1
Details of the scenario you tried and the problem that is occurring
Get-DscConfiguration -Verbose
Verbose logs showing the problem
Get-DscConfiguration : The PowerShell DSC resource '[UserRightsAssignment]UserRightsAssignment(INF): Allow_log_on_locally' with SourceInfo '::1129::4::UserRightsAssignment' threw one or more non-terminating errors while running the Get-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details. At line:1 char:1
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
OsName : Microsoft Windows Server 2019 Datacenter OsOperatingSystemSKU : DatacenterServerEdition OsArchitecture : 64-bit WindowsVersion : 1809 WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434 OsLanguage : en-US OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
PSVersion 5.1.17763.3770 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.17763.3770 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
Version of the DSC module that was used
Module version | 2.1.0.0 -- | --