Home > Common Problem > How to fix Windows Terminal startup issues

How to fix Windows Terminal startup issues

WBOY
Release: 2023-04-23 15:16:08
forward
1804 people have browsed it

Let Windows Terminal restart

如何修复 Windows 终端启动问题

If one of the available profiles is not configured to start with elevated privileges, you can use it to open a terminal and modify the files affected by the issue preferences in any configuration file.

PowerShell is the default profile and it may no longer run because the "Run this profile as administrator" setting is activated. On the other hand, the command prompt may start fine. To launch it, just type cmd.exe in Start and select the Command Prompt result.

In this case, the terminal should start normally. Now repeat the following steps for any Windows Terminal profile that is not started on Windows:

  1. Select the drop-down arrow icon in the tab bar and select Settings from the menu
  2. In " Select an available profile under "Profile".
  3. Switch the "Run this profile as administrator" setting to off.
  4. Activate the Save button to save changes.

After the changes are completed, Windows Terminal should start normally.

Windows Terminal no longer starts

如何修复 Windows 终端启动问题

The situation is more problematic if Windows Terminal no longer starts because there is no administrator preference set to off in the configuration document.

Here is the workaround for this situation:

  1. Load %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState in the File Explorer address bar.
  2. Create a backup copy of the file settings.json.
  3. Use an editor such as Notepad to open the file settings.json, and then search for "elevate": true,.
  4. Change true to false in all cases and save the file.

Windows Terminal should start normally after that.

Windows 11 lists versions of Windows Terminal under Settings > Apps > Installed Apps.

The above is the detailed content of How to fix Windows Terminal startup issues. For more information, please follow other related articles on the PHP Chinese website!

source:yundongfang.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