What to do if scripts are prohibited from running in win11 system

王林
Release: 2024-01-31 15:36:09
forward
1068 people have browsed it

php editor Youzi teaches you how to easily solve the problem of scripts being prohibited from running in Win11 system! In just a few simple steps, you can remove script running restrictions and enjoy the convenience brought by scripts. Say goodbye to tedious operations and enjoy the automation and efficiency improvements brought by scripts!

1. Shortcut key "win x" and select the "Windows PowerShell (Administrator)" option from the options given above the taskbar.

What to do if scripts are prohibited from running in win11 system

2. After entering the window, enter the "set-ExecutionPolicy RemoteSigned" command, press Enter to execute, then enter "Y" and press Enter.

What to do if scripts are prohibited from running in win11 system

3. Under normal circumstances, the problem can be solved after entering this command, but some friends have reported errors after executing the command.

What to do if scripts are prohibited from running in win11 system

4. Then enter the "Set-ExecutionPolicy -Scope CurrentUser" command, enter "RemoteSigned" after execution, and finally enter "Y" and press Enter to execute.

What to do if scripts are prohibited from running in win11 system

The above is the detailed content of What to do if scripts are prohibited from running in win11 system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:dafanshu.com
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!