Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 Rule V-63373 fails to apply settings to system drive #427

Closed
mapresto opened this issue Jun 19, 2019 · 1 comment
Closed

Windows 10 Rule V-63373 fails to apply settings to system drive #427

mapresto opened this issue Jun 19, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mapresto
Copy link
Member

Describe the bug
Attempting to run the rules for V-63373 on Windows 10 brings up the following errors in the job:
Exception calling "RemoveAccessRuleAll" with "1" argument(s): "Some or all identity references could not be
translated."
+ CategoryInfo : NotSpecified: (:) [], CimException
+ FullyQualifiedErrorId : IdentityNotMappedException
+ PSComputerName : Win10Test

To Reproduce
Create a small mof with the 63373.a rules only and attempt to apply it to a system.

Expected behavior
Completed jobs and ACE's applied to the system drive. As of right now, jt is attempting to apply to %SystemDrive%. This corresponds to C: on most systems which does not interpret correctly in PowerShell. Inside the mof, it should be %SystemDrive%\ in order to properly label it as the root of the C drive. The Server 2012 STIGs properly adds the escaped backslash to the mof.

@mapresto
Copy link
Member Author

Comparing WindowsServer-2012R2-DC-2.16.xml to WindowsClient-10-1.16.xml I see this difference:

WindowsServer-2012R2-DC-2.16.xml has <Path>%SystemDrive%\</Path>
WindowsClient-10-1.16.xml has <Path>%SystemDrive%</Path>

The \ is added on the 2012R2-DC STIG in the xml.

@erjenkin erjenkin self-assigned this Nov 7, 2019
@erjenkin erjenkin added the bug Something isn't working label Nov 7, 2019
@erjenkin erjenkin added this to the 4.2.0 milestone Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants