🎮 Common Scenario: Are you experiencing Error 6831 while launching or installing Fortnite? The solutions below directly address the system interactions specific to this application.
Take Ownership of the Resource: Open Command Prompt as Administrator
👇 See all 3 solutions belowThe Ultimate Auto-Fix Script
Download our advanced, custom-built Smart Diagnostic Script (.bat). It safely creates a System Restore Point, applies targeted fixes based on advanced diagnostics for Error 6831, and generates a detailed HTML repair report.
What is Error 6831?
Windows System Error Code 6831, known as ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION, is a Networking error that occurs during advanced networking, Winsock, and IPSec. The error indicates that: The encryption operation could not be completed because a transaction is active. When this error is encountered, the Windows operating system was unable to complete the requested operation within the networking stack subsystem. The error code 6831 is returned by the GetLastError() function and provides developers with a specific identifier to diagnose the root cause of the failure. The symbolic name ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION maps directly to this numeric code and is commonly referenced in Microsoft documentation, developer forums, and system logs. Understanding this error and its context within advanced networking, Winsock, and IPSec is essential for effective troubleshooting.
Common Causes
- Your user account lacks NTFS permissions on the target file or folder
- User Account Control (UAC) is blocking the operation
- The file is owned by SYSTEM or TrustedInstaller and requires ownership transfer
- Group Policy or antivirus software is restricting access
Troubleshooting COM and DCOM Architectural Failures (Event ID 10016)
A comprehensive guide on Component Object Model (COM), Distributed COM (DCOM), and how to safely interpret and resolve Event ID 10016 errors.
Read the full guide →Step-by-Step Solutions
- Open Command Prompt as Administrator
- Run: takeown /f "C:\path\to\file" /r /d y
- Then run: icacls "C:\path\to\file" /grant %username%:F /t
- Replace the path with the actual file or folder causing Error 6831 (ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION)
- Retry the operation that triggered Error 6831 (ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION)
Video Tutorials
Diagnostic Command
Run this PowerShell command to find related events in your system log:
Get-EventLog -LogName System -Newest 20 | Where-Object {$_.Message -like "*6831*" -or $_.Message -like "*ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION*"} | Format-List
💡 Open PowerShell as Administrator, paste the command above, and press Enter.
Prevention Tips
- Avoid modifying files in C:\Windows\System32 unless absolutely necessary
- Use 'Run as Administrator' when performing system-level operations
- Keep a backup admin account in case your primary account gets locked