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

Set NTFS rights on D:\Spool - Error on German Win10 1809 #199

Closed
tschuegy opened this issue Jan 31, 2020 · 4 comments
Closed

Set NTFS rights on D:\Spool - Error on German Win10 1809 #199

tschuegy opened this issue Jan 31, 2020 · 4 comments

Comments

@tschuegy
Copy link

Describe the bug
I think the bug is on the line 3702 in file BISF.psm1

To Reproduce
I have changed from:
$acl = Get-Acl -Path $path
$perm = 'local service', 'FullControl', 'ContainerInherit, ObjectInherit', 'None', 'Allow'

to:
$SIDLocalService = [System.Security.Principal.WellKnownSidType]::LocalServiceSid
$AccountLocalService = new-object system.security.principal.securityidentifier($SIDLocalService, $null)
$LocalServiceName = $AccountLocalService.Translate([system.security.principal.ntaccount]).value

$acl = Get-Acl -Path $path
$perm = $LocalServiceName, 'FullControl', 'ContainerInherit, ObjectInherit', 'None', 'Allow'

Expected behavior
No errer message in BISF logfile

What do you think?

Best regards,
tschuegy

@EUCweb
Copy link
Owner

EUCweb commented Jan 31, 2020 via email

@tschuegy
Copy link
Author

tschuegy commented Feb 1, 2020

7.1912.0

@tschuegy
Copy link
Author

tschuegy commented Feb 1, 2020

sorry, 7.1912.0

@tschuegy tschuegy closed this as completed Feb 1, 2020
@EUCweb
Copy link
Owner

EUCweb commented Feb 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants