mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
updated docs (#4203)
* updated docs * Update KnownIssues.md * Update faq.md * Update _index.md * Update _index.md * Update _index.md * Update faq.md * Update faq.md * Update faq.md
This commit is contained in:
committed by
GitHub
parent
edfed488e8
commit
6188447348
@@ -27,3 +27,41 @@ If your PowerShell session is running in **Constrained Language Mode**, some scr
|
||||
$ExecutionContext.SessionState.LanguageMode
|
||||
```
|
||||
If it returns `ConstrainedLanguage`, you may need to switch to `FullLanguage` mode or run the script in a session with administrative privileges. Be aware that some security policies may enforce Constrained Language Mode, especially in corporate or managed environments.
|
||||
|
||||
**If the download fails**:
|
||||
|
||||
1. Try the direct GitHub link:
|
||||
|
||||
```powershell
|
||||
irm https://github.com/ChrisTitusTech/Winutil/releases/latest/download/Winutil.ps1 | iex
|
||||
```
|
||||
|
||||
2. Force TLS 1.2:
|
||||
|
||||
```powershell
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
irm "https://christitus.com/win" | iex
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> On Windows 11, you usually do not need the TLS 1.2 command. Use it only if you hit download or security protocol errors.
|
||||
|
||||
### Execution Policy Error
|
||||
|
||||
If you see an execution policy error when running the downloaded script, you can allow the current session to run unsigned scripts with this command:
|
||||
|
||||
```powershell
|
||||
Set-ExecutionPolicy Unrestricted -Scope Process -Force
|
||||
irm "https://christitus.com/win" | iex
|
||||
```
|
||||
|
||||
This only changes the policy for the current PowerShell process and is safe for one-off runs.
|
||||
|
||||
### Interface Doesn't Appear
|
||||
|
||||
If Winutil downloads but the GUI does not open or appear, try these steps:
|
||||
|
||||
1. Check if your antivirus or Windows Defender is blocking the script — add an exclusion if necessary.
|
||||
2. Ensure you launched PowerShell / Terminal as **Administrator**.
|
||||
3. Close and reopen PowerShell, then run the launch command again.
|
||||
4. If the script still doesn't show, try running the script in a visible PowerShell window (avoid background/silent shells) to observe output and errors.
|
||||
|
||||
Reference in New Issue
Block a user