• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Instructions to lock your Windows 10 computer when you are illegally logged in

AnonyViet by AnonyViet
February 6, 2023
in Tips
0

I will do this trick for those who want to protect their computer from strangers. This measure applies to computers running the Windows 10 operating system. You will be protected against people who want to find out the password to lock your computer.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

Entering the wrong password on Windows 10

By default, Windows 10 does not limit the number of times you enter the wrong password to unlock the screen. Therefore, people will be able to sit and scan your computer password as many times as they like. If you want to make your computer more secure, then follow the solution in this article.

This function is actually available on Windows 10 but has not been activated. If you enable it, your computer will become much more secure. When someone tries to detect your computer screen unlock password, this function will put the computer into a completely locked state.

Below, I will share with you 2 ways to enable this security function.

Method 1 – Securely lock your Windows 10 computer with PowerShell

This method only applies to those using Windows 10 version Home never mind. If you use a higher version, please refer to method 2 below. Now, right click on the . icon Windows and choose Windows PowerShell and run with permissions Administrators.

Instructions to lock your Windows 10 computer when you are illegally logged in

Type command net accounts and press ENTER to run.

Instructions to lock your Windows 10 computer when you are illegally logged in

By default Windows 10 will not limit the number of incorrect password attempts when unlocking the screen. Hence in the line Lockout threshold you will see the word Never (i.e. never limited). So our job now is to set it a certain limit.

Instructions to lock your Windows 10 computer when you are illegally logged in

Now type the command net accounts /lockoutthreshold:number_enter_times_incorrect. Depending on the number of times you can enter the wrong password you want. Here I will change to 5 times so I’ll enter as net accounts /lockoutthreshold:5

Press ENTER to run the command and the result will be as shown below!!

Instructions to lock your Windows 10 computer when you are illegally logged in

After running the command you will see the message The command completed successfully. That means the command has been executed successfully. Continuing, we will set the runtime to lock the machine with the following command:

net accounts /lockoutduration:số_phút

For example, here I want to automatically lock the computer after 60 minutes when I enter the wrong password 5 times, I will type and run the command: net accounts /lockoutduration:60

Instructions to lock your Windows 10 computer when you are illegally logged in

Next need to set the time the lock screen reappears. That is, after automatically locking the computer, after this set time, the screen will automatically reopen. To do this, we use the following command:

net accounts /lockoutwindow:số_phút

Substitute minutes in the command to the number of minutes you want to set (like the example above).

Instructions to lock your Windows 10 computer when you are illegally logged in

Finally type the command net accounts to double check your settings.

Instructions to lock your Windows 10 computer when you are illegally logged in

If you want disable this feature as the initial default, then type the command: net accounts /lockoutthreshold:0

Method 2 – Using Windows Local Group Policy Editor

Method 01 is only applicable to Windows 10 Home never mind. If you use Windows 10 Pro, Education, Enterprise… then follow this guide.

Please press the key combination Windows + WILL and type keywords gpedit.msc and press ENTER.

Instructions to lock your Windows 10 computer when you are illegally logged in

  • After opening Windows Local Group Policy Editor, you access in the following order of paths:
  • Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy.
  • Then open the item Account lockout threshol.

Instructions to lock your Windows 10 computer when you are illegally logged in

In the Account Lockout Threshold window, enter the number of times you want to allow the wrong password to be entered.

Instructions for locking Windows 10 computers when illegally logged in

In this photo, I limit it to 5 times.

After entering, press OK to save. At this point, a confirmation dialog box will appear with setting the time to automatically lock the computer and automatically unlock (default is 30 minutes for both). You can customize it if you want.

Auto-lock Windows 10 computer when logging in more than a specified number of times

Press OK to confirm the setup is complete. If you want to disable this function just change Account Lockout Threshold to 0 is fine.

The article achieved: 5/5 – (100 votes)

Tags: computerillegallyInstructionsLockloggedWindows
Previous Post

Tổng hợp ký tự đẹp dùng để đặt tên Facebook và Game

Next Post

Share free Excel self-study videos at home for working people

AnonyViet

AnonyViet

Related Posts

How to see your email account creation date
Tips

How to see your email account creation date

November 11, 2025
Microsoft’s ranking of the 10 best Windows versions
Tips

Microsoft’s ranking of the 10 best Windows versions

November 11, 2025
Recover deleted data on Windows 10 with Windows File Recovery
Tips

Recover deleted data on Windows 10 with Windows File Recovery

November 10, 2025
Tips

Why hasn’t your computer been updated to Windows 10 2004?

November 9, 2025
3 OCR Tools Extract Text from Images without Retyping
Tips

3 OCR Tools Extract Text from Images without Retyping

November 8, 2025
Ways hackers use to hack your Facebook and how to fix it
Tips

Ways hackers use to hack your Facebook and how to fix it

November 7, 2025
Next Post
Share free Excel self-study videos at home for working people

Share free Excel self-study videos at home for working people

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
How to turn off ads on Yoosee app in just 1 minute

How to turn off ads on Yoosee app in just 1 minute

November 11, 2025
Windows 11 and MS Office 2021 lifetime license, genuine from  during Keysoff’s 11.11 sale

Windows 11 and MS Office 2021 lifetime license, genuine from $14 during Keysoff’s 11.11 sale

November 11, 2025
How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
How to turn off ads on Yoosee app in just 1 minute

How to turn off ads on Yoosee app in just 1 minute

November 11, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

How to create an order on Shopee to send items to relatives

How to create an order on Shopee to send items to relatives

November 12, 2025
How to install Anh Hai’s Pho Shop on MacBook is super easy

How to install Anh Hai’s Pho Shop on MacBook is super easy

November 11, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

new88 trang chủ shbet trang chủ f168 trang chủ qq88 nhà cái 78win

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply