![Setting Window' Cookie Expiry Post-Login Errors](https://thmb.techidaily.com/23bcbbd5e45bcabcdfd0dcf9f0d56055fdfa4178e94d0dd13999edb6b6a4b8b2.jpg)
Setting Window' Cookie Expiry Post-Login Errors
![](/images/site-logo.png)
Setting Window’ Cookie Expiry Post-Login Errors
Windows has a policy setting that can lock someone out from signing in if they enter the wrong local account password too many times. The user is not allowed to sign in for a set number of minutes after being locked out, but you can change this lockout duration.
Here’s how to change how long someone using a specific Windows machine is locked out if they enter the wrong login credentials a certain number of times. You must be signed in as an administrator to change this policy.
How to Change the Duration a User Is Locked Out of Their Account via Local Security Policy
This method will work as long as the system is running the Pro, Enterprise, or Education edition of Windows 10 or 11.
- Press Windows key + R to open the Run dialogue.
- Type “secpol.msc” into the text field and hit Enter.
- On the left pane, click on the Account Lockout Policy folder under Account Policies.
- On the right pane, double-click on Account lockout duration.
- Type in a number between zero and 99,999, and hit OK. This will set how long (in minutes) the system will need before it accepts another login attempt.
How to Change the Account Lockout Duration in Windows via the Command Prompt
If the system isn’t running the Pro, Enterprise, or Education edition of Windows 10 or 11, you’ll need to use the command prompt to change how long a user must wait before signing in again after failed login attempts.
- Open Command Prompt as Administrator . You can also perform this task with Windows PowerShell if you prefer.
- Type the following command into the console and hit Enter:
net accounts
WonderFox DVD Ripper Pro
- This will pull up information, among other things, about how long this account lockout duration is currently set.
- To change account lockout duration on Windows 10 and 11, type the following command into the console and hit Enter. Replace the number “60” in the command with any other number from zero to 99,999 to set how many minutes a user will have to wait before being allowed to try and log in again.
net accounts /lockoutduration:60
Setting this value to zero means the locked-out user will not be able to sign in unless an administrator intervenes and unlocks it. Also, the account lock-out duration must be greater than or equal to the time for the system to automatically reset the number of failed login attempts .
If you don’t ever want users to be locked out of their local accounts, you must change the number of failed login attempts a user is allowed.
Find the Balance Between Security and Convenience
Setting account lockout duration too high will cause inconvenience, but if you set it to zero, an administrator will have to be contacted each time a user locks themselves out. Find a balance between security and convenience when it comes to changing how long a user is locked out after a set number of failed login attempts.
Here’s how to change how long someone using a specific Windows machine is locked out if they enter the wrong login credentials a certain number of times. You must be signed in as an administrator to change this policy.
Also read:
- [New] 2024 Approved How to Do Screen Recording on Iphone Easily?
- [New] Entry-Level Exploration Into Visual Frameworks for 2024
- [New] Light Up the Screen Tips and Steps for Adding GIFs to Snapchats
- [Updated] 2024 Approved Pixelated Prowess Celebrating the Best Shooter Classics
- [Updated] Explore Unlimited Free Fun with Top Meme Templates
- [Updated] Mastering the Knowledge of ASMR Media
- [Updated] Spark Innovation with These Android's Top Graphic Designers
- [Updated] The 9GAG Pathway to Piling Up Popular Memes for 2024
- A Comprehensive Guide to Hyper-V Installation in Win 11 Home
- A Detailed Guide on Faking Your Location in Mozilla Firefox On Lenovo ThinkPhone | Dr.fone
- Achieve Operational Optimization: Top Windows PCT Strategies
- Adapting the Oculus Quest 2 for Windows OS Virtual Reality
- Can I use iTools gpx file to catch the rare Pokemon On OnePlus Nord CE 3 Lite 5G | Dr.fone
- Change Location on Yik Yak For your Apple iPhone XS to Enjoy More Fun | Dr.fone
- Correcting XC0000142 Issue in Windows 11, 10
- Cutting-Edge Windows Gadgets - 2024'S Must-Haves List
- Demystifying Your Global IP on WIN OS via CLI
- Efficiently Shifting Huge Video Files From iPhone to Mac
- Elevating Your Gameplay: Overcoming Lags in Warfare
- Elevating Your Unbox Sessions Secrets for More Views and Likes on TikTok
- Enhance PC Sounds with Windows 11'S Mixer Feature
- For People Wanting to Mock GPS on Infinix Hot 30 5G Devices | Dr.fone
- Guide: Controlling Windows 11’S Content Filter
- Guide: How to Deactivate AMD/Nvidia VR Boosting
- In 2024, Forgot Locked iPhone 6 Plus Password? Learn the Best Methods To Unlock
- In 2024, How To Change Your SIM PIN Code on Your Infinix Hot 40 Phone
- In 2024, How to Fix Locked Apple ID from Apple iPhone 6s Plus
- In 2024, How to Mirror Your Nokia 105 Classic Screen to PC with Chromecast | Dr.fone
- In 2024, How to Send and Fake Live Location on Facebook Messenger Of your Poco C55 | Dr.fone
- In 2024, Mastering the Microscope Effect for Enhanced Video Conferencing
- In 2024, Recommended Best Applications for Mirroring Your Realme Narzo 60 Pro 5G Screen | Dr.fone
- In 2024, The Comprehensive Blueprint for Capturing WhatsApp Calls
- Mastering File Restoration: Top 8 Techniques for Windows
- Mastering Internet Connection: League of Legends on Windows
- Mastering the Art of Fixing Windows 11'S 5GHz Connectivity
- Mastery of Device ID Extraction Techniques for Windows Users
- Mending Freeze Flaws in Adobe's PC Artist Suite
- Navigating Nitpicking Colors: 8 Tips for a Neutral Desktop
- Navigating Windows 11'S 'S Mode': Is It Worth Considering?
- Quick Setup: Google Play on Windows 11
- Recover Hidden 5GHz Link in Windows 11 Using These Fixes
- Remedying 'Could Not Create VM' Problems in Microsoft OS
- Resuscitate Stalled Excel Performance in Windows Environment
- Salty Sessions Captured - Best Cams for Surfers
- Simplifying Language Input: Change Keyboard Layouts in Win 11
- Solved Warning Camera Failed on Vivo Y27s | Dr.fone
- Step-by-Step Guide to Extending Windows 10/11 Contextual Commands
- Steps to Solve Missing DLL: Rockalldll.dll Error
- Streamlining Windows Update Fixes for Error 0X800736CC
- Tasker's Edge Enigma: Hidden Processes?
- Unlocking Windows 11'S Printer Interface (Max 48 Chars)
- Unplugged No More: Six Methods to Restore Functioning Network Hardware on Your PC
- Utilizing Windows Widgets for Real-Time Resource Tracking
- Vivid Visions Essential Online Sources for Laps Screen Decor
- What Pokémon Evolve with A Dawn Stone For Honor 90 Pro? | Dr.fone
- Why Virtual Reality Lack of Content? -2023 Update
- Win 11 and Discord: Fixing The Deadly JS Error Quickly
- XChange Your Mind with Non-ShareX Insights
- Title: Setting Window' Cookie Expiry Post-Login Errors
- Author: Joseph
- Created at : 2024-08-08 06:09:25
- Updated at : 2024-08-09 06:09:25
- Link: https://windows11.techidaily.com/setting-window-cookie-expiry-post-login-errors/
- License: This work is licensed under CC BY-NC-SA 4.0.