-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: FACT 3.13.5, FACT 3.11.11, FACT 3.14.7
-
Component/s: Windows
-
Labels:
-
Environment:
PE 2019.1.0
Agent OS: Server 2016
-
Template:customfield_10700 332946
-
Team:Night's Watch
-
Story Points:3
-
Sprint:2019-11-27, 2019-12-11, 2019-12-24
-
Method Found:Needs Assessment
-
CS Priority:Reviewed
-
Release Notes:Bug Fix
-
Release Notes Summary:
-
QA Risk Assessment:Needs Assessment
On Windows servers after installation of Remote Desktop Services (Add-WindowsFeature RDS-RD-Server) the Puppet agent populates the system32 fact incorrectly with "C:\Users\username\WINDOWS\system32". Uninstalling RDS-RD-Server and rebooting the server returns the OS fact to "c:\windows\system32".
With or without RDS-RD-Server installed the result of running the command:
wmic os get systemdirectory
is always "C:\Windows\system32"
Example of the "facter os" command output: (`admwintert` - Domain user)
PS C:\Windows\system32> facter os
{
architecture => "x64",
family => "windows",
hardware => "x86_64",
name => "windows",
release =>
windows => { system32 => "C:\Users\admwintert\WINDOWS\system32" }
}
Customer ran another test and was able to reproduce the behavior with a vanilla AWS AMI:
Windows_Server-2016-English-Full-Base-2019.10.09 (ami-0daaf340f2253cd6c)
Customer launched, renamed and domain-joined it and then installed puppet. Then installed the Remote Desktop Session Host and rebooted. 'dawintert' is also a domain account.
PS C:\Windows\system32> facter os
{
architecture => "x64",
family => "windows",
hardware => "x86_64",
name => "windows",
release => { full => "2016", major => "2016" }
,
windows =>
}