# Windows integrity control

> Learn about the effects of running the Windows player at a low integrity level.

The **Mandatory Integrity Control** security feature on Windows devices allocates an integrity level (IL) to all applications and processes. The device’s operating system or database constrains a user’s or initiator’s ability to access or perform other operations on an *object/target* (such as files, memory, or directories). Both the initiator and the object are allocated an IL, with low as the most restricted access. When the initiator attempts to access the object, their ILs are compared. The initiator can’t access the object if it has a lower IL than the object.

For more information about integrity levels, see Microsoft’s [Mandatory Integrity Control](https://docs.microsoft.com/en-us/windows/win32/secauthz/mandatory-integrity-control) documentation.

Windows Standalone player can detect if it’s running at low integrity level. For more information, refer to Microsoft’s documentation on [Designing Applications to Run at a Low Integrity Level](https://msdn.microsoft.com/en-us/library/bb625960.aspx). When the player runs at a low integrity level, the following applies:

* Unity saves PlayerPrefs to `HKCU\Software\AppDataLow\Software\CompanyName\ProductName` instead of the default location `HKCU\Software\CompanyName\ProductName`.

The log file location doesn’t change. Unity always writes the log file to `%USERPROFILE%\AppData\LocalLow\CompanyName\ProductName`, at any integrity level.

## Additional resources

* [Visual Studio project generation for Windows Standalone](/engine/6000.3/manual/platform-specific/windows/develop/visual-studioprojectgeneration.md)
* [Unity debugging guide for Windows](/engine/6000.3/manual/platform-specific/windows/develop/debugging.md)
* [IL2CPP Scripting Backend](/engine/6000.3/manual/platform-specific/windows/develop/player-il2cppscripting-backend.md)
* [Troubleshoot D3D12 GPU crashes on Windows](/engine/6000.3/manual/platform-specific/windows/develop/troubleshoot-gpu-crash.md)
