亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Home Computer Tutorials Computer Knowledge 2 Ways to Prevent Users From Running Certain Programs

2 Ways to Prevent Users From Running Certain Programs

Jul 22, 2025 am 12:37 AM

Two ways to prevent a specific user from running a program

Sometimes you need to share your computer with other users, but don't want them to run certain applications. This article will introduce two ways to prevent users from running specific programs in Windows 10 systems: using the local Group Policy Editor and the Registry Editor.

2 Ways to Prevent Users From Running Certain Programs

Method 1: Use the local group policy editor

The Local Group Policy Editor is a Microsoft Management Console (MMC) snap-in that allows administrators to edit local Group Policy Objects (GPOs) and disable computer or user settings.

The steps are as follows:

  1. Press Windows R to open the run window.
  2. Enter gpedit.msc and press Enter .
  3. Navigate to the following path: User Configuration\Administrative Templates\System .
  4. In the right panel, locate and double-click the "Do not run the specified Windows application" option.
  5. In a new window, select the "Enabled" option. Then click the Show button to display and add blocked programs.

2 Ways to Prevent Users From Running Certain Programs

  1. In the pop-up window, add the executable file name of the program you want to block, and then click OK . For example, enter notepad.exe here.

2 Ways to Prevent Users From Running Certain Programs

  1. In the Do not run the specified Windows application window, click Apply , and then click OK to make the changes take effect.

To allow users to run banned programs, you can adjust the Enabled button to Not Configured or Disabled .

Method 2: Use the Registry Editor

In addition to the local Group Policy Editor, you can also use the Registry Editor to prevent users from running specific programs.

The steps are as follows:

  1. Press Windows R to open the run window.
  2. Enter regedit and press Enter . When the User Account Control (UAC) window appears, select the Yes button.
  3. Navigate to the following location:

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

  1. In the right panel, right-click any blank area and select New > DWORD (32-bit) Value . Name this value DisallowRun .
  2. Double-click the newly created DWORD value DisallowRun and set its value data to 1 .

2 Ways to Prevent Users From Running Certain Programs

  1. Right-click Explorer and select New > Key . Name the new key DisallowRun .
  2. Right-click the new key DisallowRun and select New > String Value . Name the value 1 .
  3. Double-click the value 1 . Then in the Value Dataframe, enter the target executable file name of the prohibited program and click OK .

2 Ways to Prevent Users From Running Certain Programs

If you want to prevent users from running multiple programs, just right-click the DisallowRun key and create multiple string values, name them 1, 2, 3, etc. in numerical order, and then follow the above steps to fill in the corresponding exe file name for each string value.

Choose your preferred method to complete this task.

Software recommendations

Sometimes your application may be lost for some reason. For example, the application is lost after a Windows 10 upgrade. To recover lost or uninstalled programs, you can try MiniTool Power Data Recovery. MiniTool Power Data Recovery not only restores programs, but also restores Word recent documents that are not displayed, restores downloaded files, restores images, videos, audio, and more.

Summarize

This article describes how to use the local Group Policy Editor and Registry Editor to prevent users from running specific programs in Windows 10. If you have any questions about this topic, feel free to leave a comment below.

The above is the detailed content of 2 Ways to Prevent Users From Running Certain Programs. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Google Translate Picture | Translate Text in Images - MiniTool Google Translate Picture | Translate Text in Images - MiniTool Jul 12, 2025 am 12:57 AM

This Google translate picture guide shows you how to translate text from an image. If you are looking for more computer tips and solutions, you can visit php.cn Software official website where you can also find some useful computer tools like php.cn

How to Install Device Drivers Manually on Windows 11/10? - MiniTool How to Install Device Drivers Manually on Windows 11/10? - MiniTool Jul 06, 2025 am 12:15 AM

If your Windows 11/10 computer doesn’t automatically the latest versions of device drivers, you will need to manually install them. In this post, php.cn Software will show you 3 different methods to manually install drivers on your device.

9 Ways – How to Open Task Scheduler in Windows 10/Windows 11… - MiniTool 9 Ways – How to Open Task Scheduler in Windows 10/Windows 11… - MiniTool Jul 03, 2025 am 12:28 AM

This post summarized on php.cn official website mainly introduces you nine ways to open Task Scheduler in Windows 10 together with the latest Windows 11. Generally, these methods are similar in both systems with just a little difference.

How to Amplify/Boost/Increase Microphone Volume Windows 11? - MiniTool How to Amplify/Boost/Increase Microphone Volume Windows 11? - MiniTool Jul 06, 2025 am 12:27 AM

This post delivered by php.cn official web page introduces three methods to improve microphone volume and boost its performance, in Control Panel, via Settings, and by Device Manager. Read the below content to view details.

How to Open and Run dxdiag.exe on Windows 10/11 How to Open and Run dxdiag.exe on Windows 10/11 Jul 06, 2025 am 12:23 AM

This post includes answers for what is dxdiag, how to run dxdiag in Windows 10/11, DirectX Diagnostic Tool’s main functions, and how to update dxdiag.exe driver. php.cn Software also provides many other computer tips and solutions for users. You can

what is an operating system what is an operating system Jul 11, 2025 am 03:16 AM

The operating system is the basic software for managing hardware resources, running programs, and providing user interaction interfaces. It coordinates the relationship between hardware and software and is responsible for memory allocation, device scheduling, file management and multitasking. Common systems include Windows (suitable for office and gaming), macOS (Apple devices, suitable for creative work), Linux (open source, suitable for developers), and Android/iOS (mobile device system). The choice of ordinary users depends on the usage scenario, such as software compatibility, security and customization requirements. How to view system information: Use winver command for Windows, click on the machine for macOS, use terminal commands for Linux, and find the phone in settings. The operating system is the underlying tool for daily use,

Best Ways to Fix Windows 11/10 Control Panel Not Opening! Best Ways to Fix Windows 11/10 Control Panel Not Opening! Jul 08, 2025 am 12:01 AM

Have you ever wanted to adjust computer settings to fix some issues but suffered from Control Panel not opening? There is nothing more frustrating than this app not turning on, stopping you from viewing and changing system settings. In this post, mul

Top Free Google Chrome Password Managers Top Free Google Chrome Password Managers Jul 03, 2025 am 12:22 AM

Learn how to access and use Google Password Manager to manage your saved passwords in your Google Account. If you want a more comprehensive third-party free password management tool, this post also lists the top 3 alternatives to Google Password Mana

See all articles