Remove Security Risks-removing "command prompt" from danger

Source: Internet
Author: User

In Windows, "Start> attachment" contains a "command prompt" menu command, but have you ever noticed that it will also become a security risk of the system?

After entering the command prompt environment, you can run some commands to view your privacy or steal files, such as accessing a hidden partition. Some viruses or hacker programs intrude into the system through command prompt. Because the interface does not appear during running, it is just a flash, so it is easy to be ignored by users. In this case, a better way to eliminate this security risk is to disable unauthorized users from using command prompts. The general method is to modify the registry or install third-party tool software to achieve this purpose, but for most friends, it seems a little difficult. Is there a simpler way?

1. delete command prompt

This is the easiest way. Find the "command prompt" menu from "Start> attachment", right-click the menu, and select "delete. Then, you can find windowssystem32cmd.exe in the resource manager to run it manually, so you can only scare cainiao friends.

2. Stop the Command run.

Go to the Group Policy Editor and choose "user configuration> management template> system". You can find a policy named "block access command prompt" on the right, in the figure 1 window, select "enabled" to enable this policy. This prevents you from running a command prompt. In the future, when you try to enter the Command Prompt window, the system will display the prompt shown in Figure 2. Is it cool?

If you select "yes" in the "do you also disable script processing at the command prompt" drop-down list box, you can also disable the running of batch files on the system, in this way, the call to the command prompt of the batch file can be completely prohibited.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.