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 Server 2016 policy Increase_a_process_working_set is not working #16

Open
JljHook opened this issue Apr 21, 2021 · 2 comments
Open

Comments

@JljHook
Copy link

JljHook commented Apr 21, 2021

After I execute the script and reboot policy has only 'Users'.
It should be 'Administatror, Local Service'

@joelmforsyth
Copy link

I was able to resolve the issue by changing the configuration to this:

UserRightsAssignment SeIncreaseWorkingSetPrivilege {
    Policy   = 'Increase_a_process_working_set'
    Identity = 'Administrators','Local Service'
    Force    = $true
}

If anyone is here having issues with this script, I have updated it to match Azure standards for Windows Server 2019 here:
https://github.com/joelmforsyth/AzureSecurityBaseline/blob/main/AzureSecurity_WindowsServer2019.ps1

@Sir-HatX
Copy link

Sir-HatX commented Aug 16, 2022

#Ensure 'Access this computer from the network is set to Administrators, Authenticated Users' (MS only)
        UserRightsAssignment Accessthiscomputerfromthenetwork {
             Policy   = 'Access_this_computer_from_the_network'
            Identity = 'Administrators, Authenticated Users'
         }

Am trying to add more configurations but am getting an error > UserRightsAssignment Windows Server 2019 script

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

3 participants