https://bugs.winehq.org/show_bug.cgi?id=52059 --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, I've found a small tool which uses the same sequence for granting 'SeLockMemoryPrivilege'. Good for testing because it actually calls 'LsaEnumerateAccountRights' later which deserves own bug. https://web.archive.org/web/20211128192930/http://www.numberworld.org/y-crun... --- quote --- There are 3 requirements for large (and locked) pages to work on Windows: 1. You need to have the "SeLockMemoryPrivilege" token. This privilege is disabled for all users by default. You will need to enable it manually. 2. y-cruncher needs to be running as an administrator. 3. There needs to be enough contiguous physical memory in the system. Enabling SeLockMemoryPrivilege: "SeLockMemoryPrivilege" is disabled for all users by default. So you will likely need to enable it manually. Instructions for enabling it using the Group Policy Editor can be found here: https://msdn.microsoft.com/en-us/library/ms190730.aspx If your version of Windows is a Home Edition and does not have the Group Policy Editor, you can also enable it by running the following program: Enable "SeLockMemoryPrivilege" on Windows: * Precompiled Binary * Source Code Run y-cruncher as an Administrator: Right-click the program and select "Run as administrator". You may get a UAC warning depending on your settings. --- quote --- https://web.archive.org/web/20171109063809/http://numberworld.org/y-cruncher... --- snip --- $ wine ./enable_permissions.exe ... Retrieving Account Name... Account Name: focht Opening LSA Handle... Success Obtaining Security ID... Domain: N550 Adding permission for: SeLockMemoryPrivilege 0024:fixme:advapi:LsaAddAccountRights (0000CAFE,0045EC38,0032FE6C,0x00000001) stub Success Enumerating User-specific Permissions... 0024:fixme:advapi:LsaEnumerateAccountRights (0000CAFE,0045EC38,0032FE54,0032FE50) stub Please restart for changes to take effect. Press any key to continue... --- snip --- $ sha1sum enable_permissions.exe 947cc8f8c809b88fa22d72f283f123a712f38b02 enable_permissions.exe $ du -sh enable_permissions.exe 216K enable_permissions.exe https://web.archive.org/web/20190924092347/http://www.numberworld.org/y-crun... $ wine --version wine-6.22-204-gf03933fbb73 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.