https://winaero.com/allow-prevent-users-groups-create-pagefile-windows-10/
Allow or Prevent Users or Groups to Create Pagefile in Windows 10